linkdood-web-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +21 -0
- package/.browserslistrc +2 -0
- package/.prettierrc +7 -0
- package/README.md +108 -0
- package/dist/linkdoodWebSDK.js +13 -0
- package/docs/md/action/auth.md +45 -0
- package/docs/md/action/buddy.md +93 -0
- package/docs/md/action/chat.md +84 -0
- package/docs/md/action/config.md +16 -0
- package/docs/md/action/enterprise.md +5 -0
- package/docs/md/action/file.md +20 -0
- package/docs/md/action/group.md +235 -0
- package/docs/md/action/message.md +93 -0
- package/docs/md/action/org.md +37 -0
- package/docs/md/action/search.md +27 -0
- package/docs/md/action/system.md +27 -0
- package/docs/md/action/systemMessage.md +30 -0
- package/docs/md/action/user.md +34 -0
- package/docs/md/apiDescribe.md +24 -0
- package/docs/md/apiSummary.md +121 -0
- package/docs/md/errorCode.md +386 -0
- package/docs/md/install.md +39 -0
- package/docs/md/model/AccountType.md +7 -0
- package/docs/md/model/AddGroupMemberResult.md +8 -0
- package/docs/md/model/ChatRes.md +18 -0
- package/docs/md/model/CommonDataResult.md +11 -0
- package/docs/md/model/CommonSettingServerResult.md +11 -0
- package/docs/md/model/EnORet.md +9 -0
- package/docs/md/model/EnterpriseBean.md +25 -0
- package/docs/md/model/EnterpriseUserBean.md +22 -0
- package/docs/md/model/GetBuddyOnlineResult.md +7 -0
- package/docs/md/model/GetMyselfResult.md +10 -0
- package/docs/md/model/GetOrgUserResult.md +8 -0
- package/docs/md/model/GetUserResult.md +7 -0
- package/docs/md/model/GroupInfo.md +29 -0
- package/docs/md/model/GroupInfoResult.md +8 -0
- package/docs/md/model/GroupMemberInfo.md +18 -0
- package/docs/md/model/GroupMemberInfoRefreshBean.md +11 -0
- package/docs/md/model/GroupMemberInfoResult.md +7 -0
- package/docs/md/model/GroupMembersRefreshBean.md +10 -0
- package/docs/md/model/GroupRefreshBean.md +9 -0
- package/docs/md/model/GroupSet.md +7 -0
- package/docs/md/model/GroupSetResult.md +7 -0
- package/docs/md/model/GroupTransferBean.md +8 -0
- package/docs/md/model/LoginResult.md +16 -0
- package/docs/md/model/MessageStorageBean.md +35 -0
- package/docs/md/model/MessageStorageResult.md +7 -0
- package/docs/md/model/Messages.md +8 -0
- package/docs/md/model/NoDisturbMode.md +10 -0
- package/docs/md/model/NoDisturbModeExtension.md +9 -0
- package/docs/md/model/OnlineBean.md +9 -0
- package/docs/md/model/OperateBuddyInfo.md +8 -0
- package/docs/md/model/OrgOpenConfig.md +8 -0
- package/docs/md/model/OrgSearchUserRet.md +16 -0
- package/docs/md/model/OrgUserAndChildNodes.md +8 -0
- package/docs/md/model/OrganizationBean.md +32 -0
- package/docs/md/model/PersonalDataSwitch.md +21 -0
- package/docs/md/model/PltFRet.md +0 -0
- package/docs/md/model/RemoveGroupMemberResult.md +7 -0
- package/docs/md/model/SearchResult.md +12 -0
- package/docs/md/model/SendMessageResult.md +12 -0
- package/docs/md/model/ShieldGroupMessageSet.md +11 -0
- package/docs/md/model/SmallEntAppInfo.md +31 -0
- package/docs/md/model/SmallUserBean.md +34 -0
- package/docs/md/model/TinyGroupInfo.md +24 -0
- package/docs/md/model/TinyUserBean.md +31 -0
- package/docs/md/model/TransferGroupResult.md +7 -0
- package/docs/md/model/UserBean.md +35 -0
- package/docs/md/model/UserToTargetSwitch.md +8 -0
- package/docs/md/model/VerifyMessageRet.md +9 -0
- package/docs/md/model/YMD.md +7 -0
- package/docs/md/model/orgGroupInfo.md +8 -0
- package/docs/md/model/orgUserInfo.md +11 -0
- package/docs/md/model/systemMessageRes.md +28 -0
- package/docs/md/model/test.md +3 -0
- package/docs/md/model/tinyGroupMemberInfo.md +14 -0
- package/docs/md/notify/notify.md +66 -0
- package/docs/thrift/ap.thrift +3245 -0
- package/docs/thrift/aphead.thrift +2376 -0
- package/docs/thrift/aphold.thrift +14 -0
- package/docs/thrift/apnotify.thrift +275 -0
- package/gulpfile.js +21 -0
- package/lib/cache/BuddyCache.js +26 -0
- package/lib/cache/ChatCache.js +42 -0
- package/lib/cache/EnterpriseCache.js +22 -0
- package/lib/cache/GroupCache.js +31 -0
- package/lib/cache/GroupMemberCache.js +36 -0
- package/lib/cache/GroupMessageCache.js +29 -0
- package/lib/cache/HelpCache.js +3 -0
- package/lib/cache/MessageCache.js +40 -0
- package/lib/cache/MessageTimeStampCache.js +13 -0
- package/lib/cache/MyselfCache.js +14 -0
- package/lib/cache/SystemDictionaryCache.js +41 -0
- package/lib/cache/SystemMessageCache.js +19 -0
- package/lib/cache/TimeStampCache.js +3 -0
- package/lib/cache/db/IMDB.js +21 -0
- package/lib/cache/db/bean/Buddy.js +32 -0
- package/lib/cache/db/bean/Chat.js +20 -0
- package/lib/cache/db/bean/GroupMessage.js +5 -0
- package/lib/cache/db/bean/Message.js +30 -0
- package/lib/cache/db/bean/SystemDictionarie.js +9 -0
- package/lib/cache/db/bean/SystemMessage.js +13 -0
- package/lib/cache/db/bean/Timestamp.js +29 -0
- package/lib/config/thriftConfig.js +6 -0
- package/lib/constant/dictionaryConstant.js +10 -0
- package/lib/constant/storageConstant.js +16 -0
- package/lib/core/LinkdoodWebSDK.js +9 -0
- package/lib/core/action/ApplicationAction.js +19 -0
- package/lib/core/action/AuthAction.js +41 -0
- package/lib/core/action/BuddyAction.js +51 -0
- package/lib/core/action/ChatAction.js +33 -0
- package/lib/core/action/ConfigAction.js +16 -0
- package/lib/core/action/EnterpriseAction.js +9 -0
- package/lib/core/action/FeedBackAction.js +12 -0
- package/lib/core/action/FileAction.js +11 -0
- package/lib/core/action/GroupAction.js +121 -0
- package/lib/core/action/HelpAction.js +6 -0
- package/lib/core/action/MessageAction.js +38 -0
- package/lib/core/action/OrgAction.js +11 -0
- package/lib/core/action/SearchAction.js +11 -0
- package/lib/core/action/SubscribeAction.js +10 -0
- package/lib/core/action/SystemAction.js +11 -0
- package/lib/core/action/SystemMessageAction.js +10 -0
- package/lib/core/action/UserAction.js +43 -0
- package/lib/core/action/index.js +1 -0
- package/lib/decorator/ErrorORCompletionDecorator.js +5 -0
- package/lib/error/JSDKError.js +5 -0
- package/lib/index.js +1 -0
- package/lib/model/loginModel.js +5 -0
- package/lib/model/thriftConnectionModel.js +5 -0
- package/lib/model/userModel.js +5 -0
- package/lib/notify/NotifyAnalysis.js +5 -0
- package/lib/notify/NotifyHeartBeat.js +14 -0
- package/lib/notify/emitter/notifyEmitter.js +99 -0
- package/lib/notify/send/NotifyFactory.js +5 -0
- package/lib/notify/send/children/noticeReply.js +7 -0
- package/lib/notify/send/children/notifyCreateFaceGroupSuccess.js +5 -0
- package/lib/notify/send/children/notifyError.js +6 -0
- package/lib/notify/send/children/notifyExitFaceAddBuddy.js +5 -0
- package/lib/notify/send/children/notifyExitFaceJoinGroup.js +5 -0
- package/lib/notify/send/children/notifyFaceAddBuddy.js +5 -0
- package/lib/notify/send/children/notifyFaceAddBuddyConfirm.js +5 -0
- package/lib/notify/send/children/notifyFaceJoinGroup.js +5 -0
- package/lib/notify/send/children/notifyGroupMemberInfoRefresh.js +6 -0
- package/lib/notify/send/children/notifyGroupMembersRefresh.js +14 -0
- package/lib/notify/send/children/notifyGroupRefresh.js +5 -0
- package/lib/notify/send/children/notifyMessageCursor.js +5 -0
- package/lib/notify/send/children/notifyMessageJson.js +5 -0
- package/lib/notify/send/children/notifyMessageStatusStatsInfo.js +5 -0
- package/lib/notify/send/children/notifyOperateBuddy.js +5 -0
- package/lib/notify/send/children/notifyOperateUser.js +5 -0
- package/lib/notify/send/children/notifyPresent.js +5 -0
- package/lib/notify/send/children/notifySendMessage.js +27 -0
- package/lib/notify/send/children/notifyTransferGroup.js +7 -0
- package/lib/notify/send/children/notifyTransferMessage.js +5 -0
- package/lib/offline/OfflineBuddy.js +5 -0
- package/lib/offline/OfflineEnterprise.js +5 -0
- package/lib/offline/OfflineGroup.js +16 -0
- package/lib/offline/OfflineHelp.js +5 -0
- package/lib/offline/OfflineMessage.js +8 -0
- package/lib/offline/OfflineMyself.js +5 -0
- package/lib/service/ApplicationService.js +14 -0
- package/lib/service/BuddyService.js +64 -0
- package/lib/service/ChatService.js +98 -0
- package/lib/service/CommonService.js +17 -0
- package/lib/service/EnterpriseService.js +32 -0
- package/lib/service/GroupMemberService.js +77 -0
- package/lib/service/GroupMessageService.js +21 -0
- package/lib/service/GroupService.js +58 -0
- package/lib/service/HelpService.js +11 -0
- package/lib/service/LoginService.js +16 -0
- package/lib/service/MessageService.js +92 -0
- package/lib/service/MessageTimeStampService.js +14 -0
- package/lib/service/MyselfService.js +19 -0
- package/lib/service/SubscribeService.js +15 -0
- package/lib/service/SystemDictionaryService.js +27 -0
- package/lib/service/SystemMessageService.js +4 -0
- package/lib/service/TimeStampService.js +9 -0
- package/lib/thrift/client/ThriftBase.js +1 -0
- package/lib/thrift/client/ThriftHoldClient.js +1 -0
- package/lib/thrift/client/ThriftNotifyClient.js +1 -0
- package/lib/thrift/client/ThriftServiceClient.js +1 -0
- package/lib/thrift/lib/ap/APHold.js +7 -0
- package/lib/thrift/lib/ap/APNotify.js +7 -0
- package/lib/thrift/lib/ap/APService.js +7 -0
- package/lib/thrift/lib/ap/ap_types.js +6 -0
- package/lib/thrift/lib/ap/aphead_types.js +6 -0
- package/lib/thrift/lib/ap/aphold_types.js +6 -0
- package/lib/thrift/lib/ap/apnotify_types.js +6 -0
- package/lib/thrift/lib/thrift.js +397 -0
- package/lib/thrift/merge/thrift-merge.js +77841 -0
- package/lib/thrift/thriftClient.js +16 -0
- package/lib/utils/Logger.js +1 -0
- package/lib/utils/_decorators.js +11 -0
- package/lib/utils/browserUtil.js +7 -0
- package/lib/utils/commonUtil.js +35 -0
- package/lib/utils/filesUtil.js +50 -0
- package/lib/utils/groupJudgeUtil.js +57 -0
- package/lib/utils/md5Util.js +1 -0
- package/lib/utils/navi.js +11 -0
- package/lib/utils/proptypeExtend.js +13 -0
- package/lib/utils/request.js +8 -0
- package/package.json +83 -0
- package/webpack.config.js +3 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";//
|
|
2
|
+
// Autogenerated by Thrift Compiler (0.9.3)
|
|
3
|
+
//
|
|
4
|
+
// DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
5
|
+
//
|
|
6
|
+
VerifyInfo=function VerifyInfo(args){this.type=null;this.image=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.image!==undefined&&args.image!==null){this.image=args.image}}};VerifyInfo.prototype={};VerifyInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.image=input.readBinary().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyInfo.prototype.write=function(output){output.writeStructBegin("VerifyInfo");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.image!==null&&this.image!==undefined){output.writeFieldBegin("image",Thrift.Type.STRING,2);output.writeBinary(this.image);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LoginParam=function LoginParam(args){this.userType=null;this.user=null;this.pwd=null;this.macAddr=null;this.deviceType=null;this.tick=null;this.deviceInfo=null;this.status=null;this.status_flag=null;this.clientIP=null;this.version=null;this.sdkid=null;this.markSign=null;this.redirectUri=null;this.inviteCodeID=null;this.thirdAuthParamJson=null;this.ip=null;if(args){if(args.userType!==undefined&&args.userType!==null){this.userType=args.userType}if(args.user!==undefined&&args.user!==null){this.user=args.user}if(args.pwd!==undefined&&args.pwd!==null){this.pwd=args.pwd}if(args.macAddr!==undefined&&args.macAddr!==null){this.macAddr=args.macAddr}if(args.deviceType!==undefined&&args.deviceType!==null){this.deviceType=args.deviceType}if(args.tick!==undefined&&args.tick!==null){this.tick=args.tick}if(args.deviceInfo!==undefined&&args.deviceInfo!==null){this.deviceInfo=args.deviceInfo}if(args.status!==undefined&&args.status!==null){this.status=args.status}if(args.status_flag!==undefined&&args.status_flag!==null){this.status_flag=args.status_flag}if(args.clientIP!==undefined&&args.clientIP!==null){this.clientIP=args.clientIP}if(args.version!==undefined&&args.version!==null){this.version=args.version}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.markSign!==undefined&&args.markSign!==null){this.markSign=args.markSign}if(args.redirectUri!==undefined&&args.redirectUri!==null){this.redirectUri=args.redirectUri}if(args.inviteCodeID!==undefined&&args.inviteCodeID!==null){this.inviteCodeID=args.inviteCodeID}if(args.thirdAuthParamJson!==undefined&&args.thirdAuthParamJson!==null){this.thirdAuthParamJson=args.thirdAuthParamJson}if(args.ip!==undefined&&args.ip!==null){this.ip=args.ip}}};LoginParam.prototype={};LoginParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.userType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.user=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.pwd=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.macAddr=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.BYTE){this.deviceType=input.readByte().value}else{input.skip(ftype)}break;case 16:if(ftype==Thrift.Type.BYTE){this.tick=input.readByte().value}else{input.skip(ftype)}break;case 17:if(ftype==Thrift.Type.STRING){this.deviceInfo=input.readString().value}else{input.skip(ftype)}break;case 18:if(ftype==Thrift.Type.BYTE){this.status=input.readByte().value}else{input.skip(ftype)}break;case 20:if(ftype==Thrift.Type.BYTE){this.status_flag=input.readByte().value}else{input.skip(ftype)}break;case 21:if(ftype==Thrift.Type.STRING){this.clientIP=input.readString().value}else{input.skip(ftype)}break;case 22:if(ftype==Thrift.Type.STRING){this.version=input.readString().value}else{input.skip(ftype)}break;case 23:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 24:if(ftype==Thrift.Type.STRING){this.markSign=input.readString().value}else{input.skip(ftype)}break;case 25:if(ftype==Thrift.Type.STRING){this.redirectUri=input.readString().value}else{input.skip(ftype)}break;case 26:if(ftype==Thrift.Type.I64){this.inviteCodeID=input.readI64().value}else{input.skip(ftype)}break;case 27:if(ftype==Thrift.Type.STRING){this.thirdAuthParamJson=input.readString().value}else{input.skip(ftype)}break;case 200:if(ftype==Thrift.Type.STRING){this.ip=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LoginParam.prototype.write=function(output){output.writeStructBegin("LoginParam");if(this.userType!==null&&this.userType!==undefined){output.writeFieldBegin("userType",Thrift.Type.BYTE,1);output.writeByte(this.userType);output.writeFieldEnd()}if(this.user!==null&&this.user!==undefined){output.writeFieldBegin("user",Thrift.Type.STRING,2);output.writeString(this.user);output.writeFieldEnd()}if(this.pwd!==null&&this.pwd!==undefined){output.writeFieldBegin("pwd",Thrift.Type.STRING,3);output.writeString(this.pwd);output.writeFieldEnd()}if(this.macAddr!==null&&this.macAddr!==undefined){output.writeFieldBegin("macAddr",Thrift.Type.STRING,4);output.writeString(this.macAddr);output.writeFieldEnd()}if(this.deviceType!==null&&this.deviceType!==undefined){output.writeFieldBegin("deviceType",Thrift.Type.BYTE,5);output.writeByte(this.deviceType);output.writeFieldEnd()}if(this.tick!==null&&this.tick!==undefined){output.writeFieldBegin("tick",Thrift.Type.BYTE,16);output.writeByte(this.tick);output.writeFieldEnd()}if(this.deviceInfo!==null&&this.deviceInfo!==undefined){output.writeFieldBegin("deviceInfo",Thrift.Type.STRING,17);output.writeString(this.deviceInfo);output.writeFieldEnd()}if(this.status!==null&&this.status!==undefined){output.writeFieldBegin("status",Thrift.Type.BYTE,18);output.writeByte(this.status);output.writeFieldEnd()}if(this.status_flag!==null&&this.status_flag!==undefined){output.writeFieldBegin("status_flag",Thrift.Type.BYTE,20);output.writeByte(this.status_flag);output.writeFieldEnd()}if(this.clientIP!==null&&this.clientIP!==undefined){output.writeFieldBegin("clientIP",Thrift.Type.STRING,21);output.writeString(this.clientIP);output.writeFieldEnd()}if(this.version!==null&&this.version!==undefined){output.writeFieldBegin("version",Thrift.Type.STRING,22);output.writeString(this.version);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,23);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.markSign!==null&&this.markSign!==undefined){output.writeFieldBegin("markSign",Thrift.Type.STRING,24);output.writeString(this.markSign);output.writeFieldEnd()}if(this.redirectUri!==null&&this.redirectUri!==undefined){output.writeFieldBegin("redirectUri",Thrift.Type.STRING,25);output.writeString(this.redirectUri);output.writeFieldEnd()}if(this.inviteCodeID!==null&&this.inviteCodeID!==undefined){output.writeFieldBegin("inviteCodeID",Thrift.Type.I64,26);output.writeI64(this.inviteCodeID);output.writeFieldEnd()}if(this.thirdAuthParamJson!==null&&this.thirdAuthParamJson!==undefined){output.writeFieldBegin("thirdAuthParamJson",Thrift.Type.STRING,27);output.writeString(this.thirdAuthParamJson);output.writeFieldEnd()}if(this.ip!==null&&this.ip!==undefined){output.writeFieldBegin("ip",Thrift.Type.STRING,200);output.writeString(this.ip);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PluginParam=function PluginParam(args){this.deviceType=null;this.status=null;this.macAddr=null;if(args){if(args.deviceType!==undefined&&args.deviceType!==null){this.deviceType=args.deviceType}if(args.status!==undefined&&args.status!==null){this.status=args.status}if(args.macAddr!==undefined&&args.macAddr!==null){this.macAddr=args.macAddr}}};PluginParam.prototype={};PluginParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.deviceType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.status=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.macAddr=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PluginParam.prototype.write=function(output){output.writeStructBegin("PluginParam");if(this.deviceType!==null&&this.deviceType!==undefined){output.writeFieldBegin("deviceType",Thrift.Type.BYTE,1);output.writeByte(this.deviceType);output.writeFieldEnd()}if(this.status!==null&&this.status!==undefined){output.writeFieldBegin("status",Thrift.Type.BYTE,2);output.writeByte(this.status);output.writeFieldEnd()}if(this.macAddr!==null&&this.macAddr!==undefined){output.writeFieldBegin("macAddr",Thrift.Type.STRING,3);output.writeString(this.macAddr);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnterpriseTimestamp=function EnterpriseTimestamp(args){this.orgsTimestamp=null;this.appTimestamp=null;this.enterprisets=null;if(args){if(args.orgsTimestamp!==undefined&&args.orgsTimestamp!==null){this.orgsTimestamp=args.orgsTimestamp}if(args.appTimestamp!==undefined&&args.appTimestamp!==null){this.appTimestamp=args.appTimestamp}if(args.enterprisets!==undefined&&args.enterprisets!==null){this.enterprisets=args.enterprisets}}};EnterpriseTimestamp.prototype={};EnterpriseTimestamp.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.orgsTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.appTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.enterprisets=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnterpriseTimestamp.prototype.write=function(output){output.writeStructBegin("EnterpriseTimestamp");if(this.orgsTimestamp!==null&&this.orgsTimestamp!==undefined){output.writeFieldBegin("orgsTimestamp",Thrift.Type.I64,1);output.writeI64(this.orgsTimestamp);output.writeFieldEnd()}if(this.appTimestamp!==null&&this.appTimestamp!==undefined){output.writeFieldBegin("appTimestamp",Thrift.Type.I64,2);output.writeI64(this.appTimestamp);output.writeFieldEnd()}if(this.enterprisets!==null&&this.enterprisets!==undefined){output.writeFieldBegin("enterprisets",Thrift.Type.I64,3);output.writeI64(this.enterprisets);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Timestamp=function Timestamp(args){this.myselfID=null;this.mysetID=null;this.reqVerifyboxID=null;this.respVerifyboxID=null;this.buddyGroupID=null;this.groupListID=null;this.recommendID=null;this.groupInviteID=null;this.groupRequestID=null;this.groupResponID=null;this.enterpriseListID=null;this.enterpriseAppID=null;this.outterEntNoticeTS=null;this.whiteListTS=null;this.dataDictID=null;this.entBroadcastID=null;this.permissionID=null;this.pushMessageID=null;this.serverTS=null;this.buddysID=null;this.webEmotionID=null;this.code=null;this.what=null;this.enterprisesTs=null;this.enTs=null;this.badWordsTs=null;if(args){if(args.myselfID!==undefined&&args.myselfID!==null){this.myselfID=args.myselfID}if(args.mysetID!==undefined&&args.mysetID!==null){this.mysetID=args.mysetID}if(args.reqVerifyboxID!==undefined&&args.reqVerifyboxID!==null){this.reqVerifyboxID=args.reqVerifyboxID}if(args.respVerifyboxID!==undefined&&args.respVerifyboxID!==null){this.respVerifyboxID=args.respVerifyboxID}if(args.buddyGroupID!==undefined&&args.buddyGroupID!==null){this.buddyGroupID=args.buddyGroupID}if(args.groupListID!==undefined&&args.groupListID!==null){this.groupListID=args.groupListID}if(args.recommendID!==undefined&&args.recommendID!==null){this.recommendID=args.recommendID}if(args.groupInviteID!==undefined&&args.groupInviteID!==null){this.groupInviteID=args.groupInviteID}if(args.groupRequestID!==undefined&&args.groupRequestID!==null){this.groupRequestID=args.groupRequestID}if(args.groupResponID!==undefined&&args.groupResponID!==null){this.groupResponID=args.groupResponID}if(args.enterpriseListID!==undefined&&args.enterpriseListID!==null){this.enterpriseListID=args.enterpriseListID}if(args.enterpriseAppID!==undefined&&args.enterpriseAppID!==null){this.enterpriseAppID=args.enterpriseAppID}if(args.outterEntNoticeTS!==undefined&&args.outterEntNoticeTS!==null){this.outterEntNoticeTS=args.outterEntNoticeTS}if(args.whiteListTS!==undefined&&args.whiteListTS!==null){this.whiteListTS=args.whiteListTS}if(args.dataDictID!==undefined&&args.dataDictID!==null){this.dataDictID=args.dataDictID}if(args.entBroadcastID!==undefined&&args.entBroadcastID!==null){this.entBroadcastID=args.entBroadcastID}if(args.permissionID!==undefined&&args.permissionID!==null){this.permissionID=args.permissionID}if(args.pushMessageID!==undefined&&args.pushMessageID!==null){this.pushMessageID=args.pushMessageID}if(args.serverTS!==undefined&&args.serverTS!==null){this.serverTS=args.serverTS}if(args.buddysID!==undefined&&args.buddysID!==null){this.buddysID=Thrift.copyList(args.buddysID,[null])}if(args.webEmotionID!==undefined&&args.webEmotionID!==null){this.webEmotionID=Thrift.copyList(args.webEmotionID,[null])}if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.enterprisesTs!==undefined&&args.enterprisesTs!==null){this.enterprisesTs=Thrift.copyMap(args.enterprisesTs,[EnterpriseTimestamp])}if(args.enTs!==undefined&&args.enTs!==null){this.enTs=new EnterpriseTimestamp(args.enTs)}if(args.badWordsTs!==undefined&&args.badWordsTs!==null){this.badWordsTs=args.badWordsTs}}};Timestamp.prototype={};Timestamp.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.myselfID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.mysetID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.reqVerifyboxID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.respVerifyboxID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.buddyGroupID=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.groupListID=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.I64){this.recommendID=input.readI64().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.I64){this.groupInviteID=input.readI64().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.I64){this.groupRequestID=input.readI64().value}else{input.skip(ftype)}break;case 10:if(ftype==Thrift.Type.I64){this.groupResponID=input.readI64().value}else{input.skip(ftype)}break;case 11:if(ftype==Thrift.Type.I64){this.enterpriseListID=input.readI64().value}else{input.skip(ftype)}break;case 13:if(ftype==Thrift.Type.I64){this.enterpriseAppID=input.readI64().value}else{input.skip(ftype)}break;case 15:if(ftype==Thrift.Type.I64){this.outterEntNoticeTS=input.readI64().value}else{input.skip(ftype)}break;case 21:if(ftype==Thrift.Type.I64){this.whiteListTS=input.readI64().value}else{input.skip(ftype)}break;case 23:if(ftype==Thrift.Type.I64){this.dataDictID=input.readI64().value}else{input.skip(ftype)}break;case 24:if(ftype==Thrift.Type.I64){this.entBroadcastID=input.readI64().value}else{input.skip(ftype)}break;case 25:if(ftype==Thrift.Type.I64){this.permissionID=input.readI64().value}else{input.skip(ftype)}break;case 50:if(ftype==Thrift.Type.I64){this.pushMessageID=input.readI64().value}else{input.skip(ftype)}break;case 51:if(ftype==Thrift.Type.STRING){this.serverTS=input.readString().value}else{input.skip(ftype)}break;case 121:if(ftype==Thrift.Type.LIST){var _size0=0;var _rtmp34;this.buddysID=[];var _etype3=0;_rtmp34=input.readListBegin();_etype3=_rtmp34.etype;_size0=_rtmp34.size;for(var _i5=0;_i5<_size0;++_i5){var elem6=null;elem6=input.readI64().value;this.buddysID.push(elem6)}input.readListEnd()}else{input.skip(ftype)}break;case 122:if(ftype==Thrift.Type.LIST){var _size7=0;var _rtmp311;this.webEmotionID=[];var _etype10=0;_rtmp311=input.readListBegin();_etype10=_rtmp311.etype;_size7=_rtmp311.size;for(var _i12=0;_i12<_size7;++_i12){var elem13=null;elem13=input.readI64().value;this.webEmotionID.push(elem13)}input.readListEnd()}else{input.skip(ftype)}break;case 202:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 203:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 204:if(ftype==Thrift.Type.MAP){var _size14=0;var _rtmp318;this.enterprisesTs={};var _ktype15=0;var _vtype16=0;_rtmp318=input.readMapBegin();_ktype15=_rtmp318.ktype;_vtype16=_rtmp318.vtype;_size14=_rtmp318.size;for(var _i19=0;_i19<_size14;++_i19){if(_i19>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key20=null;var val21=null;key20=input.readI64().value;val21=new EnterpriseTimestamp;val21.read(input);this.enterprisesTs[key20]=val21}input.readMapEnd()}else{input.skip(ftype)}break;case 205:if(ftype==Thrift.Type.STRUCT){this.enTs=new EnterpriseTimestamp;this.enTs.read(input)}else{input.skip(ftype)}break;case 206:if(ftype==Thrift.Type.I64){this.badWordsTs=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Timestamp.prototype.write=function(output){output.writeStructBegin("Timestamp");if(this.myselfID!==null&&this.myselfID!==undefined){output.writeFieldBegin("myselfID",Thrift.Type.I64,1);output.writeI64(this.myselfID);output.writeFieldEnd()}if(this.mysetID!==null&&this.mysetID!==undefined){output.writeFieldBegin("mysetID",Thrift.Type.I64,2);output.writeI64(this.mysetID);output.writeFieldEnd()}if(this.reqVerifyboxID!==null&&this.reqVerifyboxID!==undefined){output.writeFieldBegin("reqVerifyboxID",Thrift.Type.I64,3);output.writeI64(this.reqVerifyboxID);output.writeFieldEnd()}if(this.respVerifyboxID!==null&&this.respVerifyboxID!==undefined){output.writeFieldBegin("respVerifyboxID",Thrift.Type.I64,4);output.writeI64(this.respVerifyboxID);output.writeFieldEnd()}if(this.buddyGroupID!==null&&this.buddyGroupID!==undefined){output.writeFieldBegin("buddyGroupID",Thrift.Type.I64,5);output.writeI64(this.buddyGroupID);output.writeFieldEnd()}if(this.groupListID!==null&&this.groupListID!==undefined){output.writeFieldBegin("groupListID",Thrift.Type.I64,6);output.writeI64(this.groupListID);output.writeFieldEnd()}if(this.recommendID!==null&&this.recommendID!==undefined){output.writeFieldBegin("recommendID",Thrift.Type.I64,7);output.writeI64(this.recommendID);output.writeFieldEnd()}if(this.groupInviteID!==null&&this.groupInviteID!==undefined){output.writeFieldBegin("groupInviteID",Thrift.Type.I64,8);output.writeI64(this.groupInviteID);output.writeFieldEnd()}if(this.groupRequestID!==null&&this.groupRequestID!==undefined){output.writeFieldBegin("groupRequestID",Thrift.Type.I64,9);output.writeI64(this.groupRequestID);output.writeFieldEnd()}if(this.groupResponID!==null&&this.groupResponID!==undefined){output.writeFieldBegin("groupResponID",Thrift.Type.I64,10);output.writeI64(this.groupResponID);output.writeFieldEnd()}if(this.enterpriseListID!==null&&this.enterpriseListID!==undefined){output.writeFieldBegin("enterpriseListID",Thrift.Type.I64,11);output.writeI64(this.enterpriseListID);output.writeFieldEnd()}if(this.enterpriseAppID!==null&&this.enterpriseAppID!==undefined){output.writeFieldBegin("enterpriseAppID",Thrift.Type.I64,13);output.writeI64(this.enterpriseAppID);output.writeFieldEnd()}if(this.outterEntNoticeTS!==null&&this.outterEntNoticeTS!==undefined){output.writeFieldBegin("outterEntNoticeTS",Thrift.Type.I64,15);output.writeI64(this.outterEntNoticeTS);output.writeFieldEnd()}if(this.whiteListTS!==null&&this.whiteListTS!==undefined){output.writeFieldBegin("whiteListTS",Thrift.Type.I64,21);output.writeI64(this.whiteListTS);output.writeFieldEnd()}if(this.dataDictID!==null&&this.dataDictID!==undefined){output.writeFieldBegin("dataDictID",Thrift.Type.I64,23);output.writeI64(this.dataDictID);output.writeFieldEnd()}if(this.entBroadcastID!==null&&this.entBroadcastID!==undefined){output.writeFieldBegin("entBroadcastID",Thrift.Type.I64,24);output.writeI64(this.entBroadcastID);output.writeFieldEnd()}if(this.permissionID!==null&&this.permissionID!==undefined){output.writeFieldBegin("permissionID",Thrift.Type.I64,25);output.writeI64(this.permissionID);output.writeFieldEnd()}if(this.pushMessageID!==null&&this.pushMessageID!==undefined){output.writeFieldBegin("pushMessageID",Thrift.Type.I64,50);output.writeI64(this.pushMessageID);output.writeFieldEnd()}if(this.serverTS!==null&&this.serverTS!==undefined){output.writeFieldBegin("serverTS",Thrift.Type.STRING,51);output.writeString(this.serverTS);output.writeFieldEnd()}if(this.buddysID!==null&&this.buddysID!==undefined){output.writeFieldBegin("buddysID",Thrift.Type.LIST,121);output.writeListBegin(Thrift.Type.I64,this.buddysID.length);for(var iter22 in this.buddysID){if(this.buddysID.hasOwnProperty(iter22)){iter22=this.buddysID[iter22];output.writeI64(iter22)}}output.writeListEnd();output.writeFieldEnd()}if(this.webEmotionID!==null&&this.webEmotionID!==undefined){output.writeFieldBegin("webEmotionID",Thrift.Type.LIST,122);output.writeListBegin(Thrift.Type.I64,this.webEmotionID.length);for(var iter23 in this.webEmotionID){if(this.webEmotionID.hasOwnProperty(iter23)){iter23=this.webEmotionID[iter23];output.writeI64(iter23)}}output.writeListEnd();output.writeFieldEnd()}if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,202);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,203);output.writeString(this.what);output.writeFieldEnd()}if(this.enterprisesTs!==null&&this.enterprisesTs!==undefined){output.writeFieldBegin("enterprisesTs",Thrift.Type.MAP,204);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.STRUCT,Thrift.objectLength(this.enterprisesTs));for(var kiter24 in this.enterprisesTs){if(this.enterprisesTs.hasOwnProperty(kiter24)){var viter25=this.enterprisesTs[kiter24];output.writeI64(kiter24);viter25.write(output)}}output.writeMapEnd();output.writeFieldEnd()}if(this.enTs!==null&&this.enTs!==undefined){output.writeFieldBegin("enTs",Thrift.Type.STRUCT,205);this.enTs.write(output);output.writeFieldEnd()}if(this.badWordsTs!==null&&this.badWordsTs!==undefined){output.writeFieldBegin("badWordsTs",Thrift.Type.I64,206);output.writeI64(this.badWordsTs);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};VerifyParam=function VerifyParam(args){this.info=null;this.nextImage=null;this.macaddr=null;if(args){if(args.info!==undefined&&args.info!==null){this.info=args.info}if(args.nextImage!==undefined&&args.nextImage!==null){this.nextImage=args.nextImage}if(args.macaddr!==undefined&&args.macaddr!==null){this.macaddr=args.macaddr}}};VerifyParam.prototype={};VerifyParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRING){this.info=input.readString().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.nextImage=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.macaddr=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyParam.prototype.write=function(output){output.writeStructBegin("VerifyParam");if(this.info!==null&&this.info!==undefined){output.writeFieldBegin("info",Thrift.Type.STRING,1);output.writeString(this.info);output.writeFieldEnd()}if(this.nextImage!==null&&this.nextImage!==undefined){output.writeFieldBegin("nextImage",Thrift.Type.BYTE,2);output.writeByte(this.nextImage);output.writeFieldEnd()}if(this.macaddr!==null&&this.macaddr!==undefined){output.writeFieldBegin("macaddr",Thrift.Type.STRING,3);output.writeString(this.macaddr);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LoginResult=function LoginResult(args){this.code=null;this.what=null;this.sessionTimeout=null;this.sessionID=null;this.userID=null;this.serverTime=null;this.privateKey=null;this.ticket=null;this.area=null;this.remainLockTime=null;this.inviteUserID=null;this.registerTime=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.sessionTimeout!==undefined&&args.sessionTimeout!==null){this.sessionTimeout=args.sessionTimeout}if(args.sessionID!==undefined&&args.sessionID!==null){this.sessionID=args.sessionID}if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.serverTime!==undefined&&args.serverTime!==null){this.serverTime=args.serverTime}if(args.privateKey!==undefined&&args.privateKey!==null){this.privateKey=args.privateKey}if(args.ticket!==undefined&&args.ticket!==null){this.ticket=args.ticket}if(args.area!==undefined&&args.area!==null){this.area=args.area}if(args.remainLockTime!==undefined&&args.remainLockTime!==null){this.remainLockTime=args.remainLockTime}if(args.inviteUserID!==undefined&&args.inviteUserID!==null){this.inviteUserID=args.inviteUserID}if(args.registerTime!==undefined&&args.registerTime!==null){this.registerTime=args.registerTime}}};LoginResult.prototype={};LoginResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I32){this.sessionTimeout=input.readI32().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.sessionID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.serverTime=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.privateKey=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.ticket=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRING){this.area=input.readString().value}else{input.skip(ftype)}break;case 11:if(ftype==Thrift.Type.I64){this.remainLockTime=input.readI64().value}else{input.skip(ftype)}break;case 12:if(ftype==Thrift.Type.I64){this.inviteUserID=input.readI64().value}else{input.skip(ftype)}break;case 13:if(ftype==Thrift.Type.I64){this.registerTime=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LoginResult.prototype.write=function(output){output.writeStructBegin("LoginResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.sessionTimeout!==null&&this.sessionTimeout!==undefined){output.writeFieldBegin("sessionTimeout",Thrift.Type.I32,3);output.writeI32(this.sessionTimeout);output.writeFieldEnd()}if(this.sessionID!==null&&this.sessionID!==undefined){output.writeFieldBegin("sessionID",Thrift.Type.I64,4);output.writeI64(this.sessionID);output.writeFieldEnd()}if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,5);output.writeI64(this.userID);output.writeFieldEnd()}if(this.serverTime!==null&&this.serverTime!==undefined){output.writeFieldBegin("serverTime",Thrift.Type.I64,6);output.writeI64(this.serverTime);output.writeFieldEnd()}if(this.privateKey!==null&&this.privateKey!==undefined){output.writeFieldBegin("privateKey",Thrift.Type.STRING,7);output.writeString(this.privateKey);output.writeFieldEnd()}if(this.ticket!==null&&this.ticket!==undefined){output.writeFieldBegin("ticket",Thrift.Type.STRING,8);output.writeString(this.ticket);output.writeFieldEnd()}if(this.area!==null&&this.area!==undefined){output.writeFieldBegin("area",Thrift.Type.STRING,9);output.writeString(this.area);output.writeFieldEnd()}if(this.remainLockTime!==null&&this.remainLockTime!==undefined){output.writeFieldBegin("remainLockTime",Thrift.Type.I64,11);output.writeI64(this.remainLockTime);output.writeFieldEnd()}if(this.inviteUserID!==null&&this.inviteUserID!==undefined){output.writeFieldBegin("inviteUserID",Thrift.Type.I64,12);output.writeI64(this.inviteUserID);output.writeFieldEnd()}if(this.registerTime!==null&&this.registerTime!==undefined){output.writeFieldBegin("registerTime",Thrift.Type.I64,13);output.writeI64(this.registerTime);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SessionTicket=function SessionTicket(args){this.sessionID=null;this.ticket=null;if(args){if(args.sessionID!==undefined&&args.sessionID!==null){this.sessionID=args.sessionID}if(args.ticket!==undefined&&args.ticket!==null){this.ticket=args.ticket}}};SessionTicket.prototype={};SessionTicket.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.sessionID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.ticket=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SessionTicket.prototype.write=function(output){output.writeStructBegin("SessionTicket");if(this.sessionID!==null&&this.sessionID!==undefined){output.writeFieldBegin("sessionID",Thrift.Type.I64,1);output.writeI64(this.sessionID);output.writeFieldEnd()}if(this.ticket!==null&&this.ticket!==undefined){output.writeFieldBegin("ticket",Thrift.Type.STRING,2);output.writeString(this.ticket);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetBuddyResult=function GetBuddyResult(args){this.code=null;this.what=null;this.timestamp=null;this.tub=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.timestamp!==undefined&&args.timestamp!==null){this.timestamp=args.timestamp}if(args.tub!==undefined&&args.tub!==null){this.tub=Thrift.copyList(args.tub,[TinyUserBean])}}};GetBuddyResult.prototype={};GetBuddyResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.timestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size26=0;var _rtmp330;this.tub=[];var _etype29=0;_rtmp330=input.readListBegin();_etype29=_rtmp330.etype;_size26=_rtmp330.size;for(var _i31=0;_i31<_size26;++_i31){var elem32=null;elem32=new TinyUserBean;elem32.read(input);this.tub.push(elem32)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetBuddyResult.prototype.write=function(output){output.writeStructBegin("GetBuddyResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.timestamp!==null&&this.timestamp!==undefined){output.writeFieldBegin("timestamp",Thrift.Type.I64,3);output.writeI64(this.timestamp);output.writeFieldEnd()}if(this.tub!==null&&this.tub!==undefined){output.writeFieldBegin("tub",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.tub.length);for(var iter33 in this.tub){if(this.tub.hasOwnProperty(iter33)){iter33=this.tub[iter33];iter33.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetMyselfResult=function GetMyselfResult(args){this.code=null;this.what=null;this.timestamp=null;this.ub=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.timestamp!==undefined&&args.timestamp!==null){this.timestamp=args.timestamp}if(args.ub!==undefined&&args.ub!==null){this.ub=new UserBean(args.ub)}}};GetMyselfResult.prototype={};GetMyselfResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.timestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.ub=new UserBean;this.ub.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetMyselfResult.prototype.write=function(output){output.writeStructBegin("GetMyselfResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.timestamp!==null&&this.timestamp!==undefined){output.writeFieldBegin("timestamp",Thrift.Type.I64,3);output.writeI64(this.timestamp);output.writeFieldEnd()}if(this.ub!==null&&this.ub!==undefined){output.writeFieldBegin("ub",Thrift.Type.STRUCT,4);this.ub.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetUserResult=function GetUserResult(args){this.code=null;this.what=null;this.ub=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.ub!==undefined&&args.ub!==null){this.ub=new SmallUserBean(args.ub)}}};GetUserResult.prototype={};GetUserResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.ub=new SmallUserBean;this.ub.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetUserResult.prototype.write=function(output){output.writeStructBegin("GetUserResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.ub!==null&&this.ub!==undefined){output.writeFieldBegin("ub",Thrift.Type.STRUCT,3);this.ub.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetVerifyResult=function GetVerifyResult(args){this.code=null;this.what=null;this.verify=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.verify!==undefined&&args.verify!==null){this.verify=new VerifyInfo(args.verify)}}};GetVerifyResult.prototype={};GetVerifyResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.verify=new VerifyInfo;this.verify.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetVerifyResult.prototype.write=function(output){output.writeStructBegin("GetVerifyResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.verify!==null&&this.verify!==undefined){output.writeFieldBegin("verify",Thrift.Type.STRUCT,3);this.verify.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};ContactParam=function ContactParam(args){this.cb=null;this.flag=null;if(args){if(args.cb!==undefined&&args.cb!==null){this.cb=Thrift.copyList(args.cb,[ContactBean])}if(args.flag!==undefined&&args.flag!==null){this.flag=args.flag}}};ContactParam.prototype={};ContactParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.LIST){var _size34=0;var _rtmp338;this.cb=[];var _etype37=0;_rtmp338=input.readListBegin();_etype37=_rtmp338.etype;_size34=_rtmp338.size;for(var _i39=0;_i39<_size34;++_i39){var elem40=null;elem40=new ContactBean;elem40.read(input);this.cb.push(elem40)}input.readListEnd()}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.flag=input.readByte().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};ContactParam.prototype.write=function(output){output.writeStructBegin("ContactParam");if(this.cb!==null&&this.cb!==undefined){output.writeFieldBegin("cb",Thrift.Type.LIST,1);output.writeListBegin(Thrift.Type.STRUCT,this.cb.length);for(var iter41 in this.cb){if(this.cb.hasOwnProperty(iter41)){iter41=this.cb[iter41];iter41.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.flag!==null&&this.flag!==undefined){output.writeFieldBegin("flag",Thrift.Type.BYTE,2);output.writeByte(this.flag);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RecommendContactResult=function RecommendContactResult(args){this.code=null;this.what=null;this.timestamp=null;this.recommends=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.timestamp!==undefined&&args.timestamp!==null){this.timestamp=args.timestamp}if(args.recommends!==undefined&&args.recommends!==null){this.recommends=Thrift.copyList(args.recommends,[RecommendContact])}}};RecommendContactResult.prototype={};RecommendContactResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.timestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size42=0;var _rtmp346;this.recommends=[];var _etype45=0;_rtmp346=input.readListBegin();_etype45=_rtmp346.etype;_size42=_rtmp346.size;for(var _i47=0;_i47<_size42;++_i47){var elem48=null;elem48=new RecommendContact;elem48.read(input);this.recommends.push(elem48)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RecommendContactResult.prototype.write=function(output){output.writeStructBegin("RecommendContactResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.timestamp!==null&&this.timestamp!==undefined){output.writeFieldBegin("timestamp",Thrift.Type.I64,3);output.writeI64(this.timestamp);output.writeFieldEnd()}if(this.recommends!==null&&this.recommends!==undefined){output.writeFieldBegin("recommends",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.recommends.length);for(var iter49 in this.recommends){if(this.recommends.hasOwnProperty(iter49)){iter49=this.recommends[iter49];iter49.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PostContactResult=function PostContactResult(args){this.code=null;this.what=null;this.hcb=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.hcb!==undefined&&args.hcb!==null){this.hcb=new HandledContactBean(args.hcb)}}};PostContactResult.prototype={};PostContactResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.hcb=new HandledContactBean;this.hcb.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PostContactResult.prototype.write=function(output){output.writeStructBegin("PostContactResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.hcb!==null&&this.hcb!==undefined){output.writeFieldBegin("hcb",Thrift.Type.STRUCT,3);this.hcb.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupInviteRequestResult=function GroupInviteRequestResult(args){this.code=null;this.what=null;this.reqIDs=null;this.pageTimestamps=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.reqIDs!==undefined&&args.reqIDs!==null){this.reqIDs=Thrift.copyMap(args.reqIDs,[null])}if(args.pageTimestamps!==undefined&&args.pageTimestamps!==null){this.pageTimestamps=Thrift.copyMap(args.pageTimestamps,[null])}}};GroupInviteRequestResult.prototype={};GroupInviteRequestResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size50=0;var _rtmp354;this.reqIDs={};var _ktype51=0;var _vtype52=0;_rtmp354=input.readMapBegin();_ktype51=_rtmp354.ktype;_vtype52=_rtmp354.vtype;_size50=_rtmp354.size;for(var _i55=0;_i55<_size50;++_i55){if(_i55>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key56=null;var val57=null;key56=input.readI64().value;val57=input.readI64().value;this.reqIDs[key56]=val57}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size58=0;var _rtmp362;this.pageTimestamps={};var _ktype59=0;var _vtype60=0;_rtmp362=input.readMapBegin();_ktype59=_rtmp362.ktype;_vtype60=_rtmp362.vtype;_size58=_rtmp362.size;for(var _i63=0;_i63<_size58;++_i63){if(_i63>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key64=null;var val65=null;key64=input.readI16().value;val65=input.readI64().value;this.pageTimestamps[key64]=val65}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupInviteRequestResult.prototype.write=function(output){output.writeStructBegin("GroupInviteRequestResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.reqIDs!==null&&this.reqIDs!==undefined){output.writeFieldBegin("reqIDs",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.I64,Thrift.objectLength(this.reqIDs));for(var kiter66 in this.reqIDs){if(this.reqIDs.hasOwnProperty(kiter66)){var viter67=this.reqIDs[kiter66];output.writeI64(kiter66);output.writeI64(viter67)}}output.writeMapEnd();output.writeFieldEnd()}if(this.pageTimestamps!==null&&this.pageTimestamps!==undefined){output.writeFieldBegin("pageTimestamps",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.pageTimestamps));for(var kiter68 in this.pageTimestamps){if(this.pageTimestamps.hasOwnProperty(kiter68)){var viter69=this.pageTimestamps[kiter68];output.writeI16(kiter68);output.writeI64(viter69)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Registry1Param=function Registry1Param(args){this.userType=null;this.user=null;this.sdkid=null;this.tzone=null;this.deviceinfo=null;this.country=null;this.markSign=null;this.lang=null;this.inviteCode=null;if(args){if(args.userType!==undefined&&args.userType!==null){this.userType=args.userType}if(args.user!==undefined&&args.user!==null){this.user=args.user}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.tzone!==undefined&&args.tzone!==null){this.tzone=args.tzone}if(args.deviceinfo!==undefined&&args.deviceinfo!==null){this.deviceinfo=args.deviceinfo}if(args.country!==undefined&&args.country!==null){this.country=args.country}if(args.markSign!==undefined&&args.markSign!==null){this.markSign=args.markSign}if(args.lang!==undefined&&args.lang!==null){this.lang=args.lang}if(args.inviteCode!==undefined&&args.inviteCode!==null){this.inviteCode=args.inviteCode}}};Registry1Param.prototype={};Registry1Param.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.userType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.user=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I32){this.tzone=input.readI32().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.deviceinfo=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.country=input.readString().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.markSign=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.lang=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRING){this.inviteCode=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Registry1Param.prototype.write=function(output){output.writeStructBegin("Registry1Param");if(this.userType!==null&&this.userType!==undefined){output.writeFieldBegin("userType",Thrift.Type.BYTE,1);output.writeByte(this.userType);output.writeFieldEnd()}if(this.user!==null&&this.user!==undefined){output.writeFieldBegin("user",Thrift.Type.STRING,2);output.writeString(this.user);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,3);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.tzone!==null&&this.tzone!==undefined){output.writeFieldBegin("tzone",Thrift.Type.I32,4);output.writeI32(this.tzone);output.writeFieldEnd()}if(this.deviceinfo!==null&&this.deviceinfo!==undefined){output.writeFieldBegin("deviceinfo",Thrift.Type.STRING,5);output.writeString(this.deviceinfo);output.writeFieldEnd()}if(this.country!==null&&this.country!==undefined){output.writeFieldBegin("country",Thrift.Type.STRING,6);output.writeString(this.country);output.writeFieldEnd()}if(this.markSign!==null&&this.markSign!==undefined){output.writeFieldBegin("markSign",Thrift.Type.STRING,7);output.writeString(this.markSign);output.writeFieldEnd()}if(this.lang!==null&&this.lang!==undefined){output.writeFieldBegin("lang",Thrift.Type.STRING,8);output.writeString(this.lang);output.writeFieldEnd()}if(this.inviteCode!==null&&this.inviteCode!==undefined){output.writeFieldBegin("inviteCode",Thrift.Type.STRING,9);output.writeString(this.inviteCode);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Registry1Result=function Registry1Result(args){this.code=null;this.what=null;this.registryID=null;this.sendNumber=null;this.reregistryTimeout=null;this.nation=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.sendNumber!==undefined&&args.sendNumber!==null){this.sendNumber=args.sendNumber}if(args.reregistryTimeout!==undefined&&args.reregistryTimeout!==null){this.reregistryTimeout=args.reregistryTimeout}if(args.nation!==undefined&&args.nation!==null){this.nation=args.nation}}};Registry1Result.prototype={};Registry1Result.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.sendNumber=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I32){this.reregistryTimeout=input.readI32().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.nation=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Registry1Result.prototype.write=function(output){output.writeStructBegin("Registry1Result");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,3);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.sendNumber!==null&&this.sendNumber!==undefined){output.writeFieldBegin("sendNumber",Thrift.Type.STRING,4);output.writeString(this.sendNumber);output.writeFieldEnd()}if(this.reregistryTimeout!==null&&this.reregistryTimeout!==undefined){output.writeFieldBegin("reregistryTimeout",Thrift.Type.I32,5);output.writeI32(this.reregistryTimeout);output.writeFieldEnd()}if(this.nation!==null&&this.nation!==undefined){output.writeFieldBegin("nation",Thrift.Type.STRING,6);output.writeString(this.nation);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Registry2Param=function Registry2Param(args){this.registryID=null;this.code=null;this.sdkid=null;this.markSign=null;if(args){if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.markSign!==undefined&&args.markSign!==null){this.markSign=args.markSign}}};Registry2Param.prototype={};Registry2Param.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.code=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.markSign=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Registry2Param.prototype.write=function(output){output.writeStructBegin("Registry2Param");if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,1);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.STRING,2);output.writeString(this.code);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,3);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.markSign!==null&&this.markSign!==undefined){output.writeFieldBegin("markSign",Thrift.Type.STRING,4);output.writeString(this.markSign);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Registry3Param=function Registry3Param(args){this.registryID=null;this.name=null;this.pwd=null;this.sdkid=null;this.pwdStrength=null;this.markSign=null;if(args){if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.name!==undefined&&args.name!==null){this.name=args.name}if(args.pwd!==undefined&&args.pwd!==null){this.pwd=args.pwd}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.pwdStrength!==undefined&&args.pwdStrength!==null){this.pwdStrength=args.pwdStrength}if(args.markSign!==undefined&&args.markSign!==null){this.markSign=args.markSign}}};Registry3Param.prototype={};Registry3Param.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.name=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.pwd=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.BYTE){this.pwdStrength=input.readByte().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.markSign=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Registry3Param.prototype.write=function(output){output.writeStructBegin("Registry3Param");if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,1);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.name!==null&&this.name!==undefined){output.writeFieldBegin("name",Thrift.Type.STRING,2);output.writeString(this.name);output.writeFieldEnd()}if(this.pwd!==null&&this.pwd!==undefined){output.writeFieldBegin("pwd",Thrift.Type.STRING,3);output.writeString(this.pwd);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,4);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.pwdStrength!==null&&this.pwdStrength!==undefined){output.writeFieldBegin("pwdStrength",Thrift.Type.BYTE,5);output.writeByte(this.pwdStrength);output.writeFieldEnd()}if(this.markSign!==null&&this.markSign!==undefined){output.writeFieldBegin("markSign",Thrift.Type.STRING,6);output.writeString(this.markSign);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RePwdParam=function RePwdParam(args){this.oldPwd=null;this.newPwd=null;this.pwdStrength=null;if(args){if(args.oldPwd!==undefined&&args.oldPwd!==null){this.oldPwd=args.oldPwd}if(args.newPwd!==undefined&&args.newPwd!==null){this.newPwd=args.newPwd}if(args.pwdStrength!==undefined&&args.pwdStrength!==null){this.pwdStrength=args.pwdStrength}}};RePwdParam.prototype={};RePwdParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRING){this.oldPwd=input.readString().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.newPwd=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.pwdStrength=input.readByte().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RePwdParam.prototype.write=function(output){output.writeStructBegin("RePwdParam");if(this.oldPwd!==null&&this.oldPwd!==undefined){output.writeFieldBegin("oldPwd",Thrift.Type.STRING,1);output.writeString(this.oldPwd);output.writeFieldEnd()}if(this.newPwd!==null&&this.newPwd!==undefined){output.writeFieldBegin("newPwd",Thrift.Type.STRING,2);output.writeString(this.newPwd);output.writeFieldEnd()}if(this.pwdStrength!==null&&this.pwdStrength!==undefined){output.writeFieldBegin("pwdStrength",Thrift.Type.BYTE,3);output.writeByte(this.pwdStrength);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};Registry3Result=function Registry3Result(args){this.code=null;this.what=null;this.usr=null;this.userID=null;this.inviteUserID=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.usr!==undefined&&args.usr!==null){this.usr=args.usr}if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.inviteUserID!==undefined&&args.inviteUserID!==null){this.inviteUserID=args.inviteUserID}}};Registry3Result.prototype={};Registry3Result.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.usr=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.inviteUserID=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};Registry3Result.prototype.write=function(output){output.writeStructBegin("Registry3Result");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.usr!==null&&this.usr!==undefined){output.writeFieldBegin("usr",Thrift.Type.STRING,3);output.writeString(this.usr);output.writeFieldEnd()}if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,4);output.writeI64(this.userID);output.writeFieldEnd()}if(this.inviteUserID!==null&&this.inviteUserID!==undefined){output.writeFieldBegin("inviteUserID",Thrift.Type.I64,5);output.writeI64(this.inviteUserID);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SimpleSearchParam=function SimpleSearchParam(args){this.area=null;this.keyword=null;if(args){if(args.area!==undefined&&args.area!==null){this.area=args.area}if(args.keyword!==undefined&&args.keyword!==null){this.keyword=args.keyword}}};SimpleSearchParam.prototype={};SimpleSearchParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.area=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.keyword=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SimpleSearchParam.prototype.write=function(output){output.writeStructBegin("SimpleSearchParam");if(this.area!==null&&this.area!==undefined){output.writeFieldBegin("area",Thrift.Type.BYTE,1);output.writeByte(this.area);output.writeFieldEnd()}if(this.keyword!==null&&this.keyword!==undefined){output.writeFieldBegin("keyword",Thrift.Type.STRING,2);output.writeString(this.keyword);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};orgUserInfo=function orgUserInfo(args){this.userid=null;this.name=null;this.phonenumbers=null;this.emails=null;this.orgname=null;this.portraitURL=null;if(args){if(args.userid!==undefined&&args.userid!==null){this.userid=args.userid}if(args.name!==undefined&&args.name!==null){this.name=args.name}if(args.phonenumbers!==undefined&&args.phonenumbers!==null){this.phonenumbers=Thrift.copyList(args.phonenumbers,[null])}if(args.emails!==undefined&&args.emails!==null){this.emails=Thrift.copyList(args.emails,[null])}if(args.orgname!==undefined&&args.orgname!==null){this.orgname=args.orgname}if(args.portraitURL!==undefined&&args.portraitURL!==null){this.portraitURL=args.portraitURL}}};orgUserInfo.prototype={};orgUserInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.userid=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.name=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size70=0;var _rtmp374;this.phonenumbers=[];var _etype73=0;_rtmp374=input.readListBegin();_etype73=_rtmp374.etype;_size70=_rtmp374.size;for(var _i75=0;_i75<_size70;++_i75){var elem76=null;elem76=input.readString().value;this.phonenumbers.push(elem76)}input.readListEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size77=0;var _rtmp381;this.emails=[];var _etype80=0;_rtmp381=input.readListBegin();_etype80=_rtmp381.etype;_size77=_rtmp381.size;for(var _i82=0;_i82<_size77;++_i82){var elem83=null;elem83=input.readString().value;this.emails.push(elem83)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.orgname=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.portraitURL=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};orgUserInfo.prototype.write=function(output){output.writeStructBegin("orgUserInfo");if(this.userid!==null&&this.userid!==undefined){output.writeFieldBegin("userid",Thrift.Type.I64,1);output.writeI64(this.userid);output.writeFieldEnd()}if(this.name!==null&&this.name!==undefined){output.writeFieldBegin("name",Thrift.Type.STRING,2);output.writeString(this.name);output.writeFieldEnd()}if(this.phonenumbers!==null&&this.phonenumbers!==undefined){output.writeFieldBegin("phonenumbers",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRING,this.phonenumbers.length);for(var iter84 in this.phonenumbers){if(this.phonenumbers.hasOwnProperty(iter84)){iter84=this.phonenumbers[iter84];output.writeString(iter84)}}output.writeListEnd();output.writeFieldEnd()}if(this.emails!==null&&this.emails!==undefined){output.writeFieldBegin("emails",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRING,this.emails.length);for(var iter85 in this.emails){if(this.emails.hasOwnProperty(iter85)){iter85=this.emails[iter85];output.writeString(iter85)}}output.writeListEnd();output.writeFieldEnd()}if(this.orgname!==null&&this.orgname!==undefined){output.writeFieldBegin("orgname",Thrift.Type.STRING,5);output.writeString(this.orgname);output.writeFieldEnd()}if(this.portraitURL!==null&&this.portraitURL!==undefined){output.writeFieldBegin("portraitURL",Thrift.Type.STRING,6);output.writeString(this.portraitURL);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};orgGroupInfo=function orgGroupInfo(args){this.groupid=null;this.groupname=null;this.orgname=null;this.groupIcon=null;if(args){if(args.groupid!==undefined&&args.groupid!==null){this.groupid=args.groupid}if(args.groupname!==undefined&&args.groupname!==null){this.groupname=args.groupname}if(args.orgname!==undefined&&args.orgname!==null){this.orgname=args.orgname}if(args.groupIcon!==undefined&&args.groupIcon!==null){this.groupIcon=args.groupIcon}}};orgGroupInfo.prototype={};orgGroupInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.groupid=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.groupname=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.orgname=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.groupIcon=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};orgGroupInfo.prototype.write=function(output){output.writeStructBegin("orgGroupInfo");if(this.groupid!==null&&this.groupid!==undefined){output.writeFieldBegin("groupid",Thrift.Type.I64,1);output.writeI64(this.groupid);output.writeFieldEnd()}if(this.groupname!==null&&this.groupname!==undefined){output.writeFieldBegin("groupname",Thrift.Type.STRING,2);output.writeString(this.groupname);output.writeFieldEnd()}if(this.orgname!==null&&this.orgname!==undefined){output.writeFieldBegin("orgname",Thrift.Type.STRING,3);output.writeString(this.orgname);output.writeFieldEnd()}if(this.groupIcon!==null&&this.groupIcon!==undefined){output.writeFieldBegin("groupIcon",Thrift.Type.STRING,4);output.writeString(this.groupIcon);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SearchResult=function SearchResult(args){this.code=null;this.what=null;this.sub=null;this.gi=null;this.eb=null;this.seai=null;this.users=null;this.groups=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.sub!==undefined&&args.sub!==null){this.sub=Thrift.copyList(args.sub,[SmallUserBean])}if(args.gi!==undefined&&args.gi!==null){this.gi=Thrift.copyList(args.gi,[GroupInfo])}if(args.eb!==undefined&&args.eb!==null){this.eb=Thrift.copyList(args.eb,[EnterpriseBean])}if(args.seai!==undefined&&args.seai!==null){this.seai=Thrift.copyList(args.seai,[SmallEntAppInfo])}if(args.users!==undefined&&args.users!==null){this.users=Thrift.copyList(args.users,[orgUserInfo])}if(args.groups!==undefined&&args.groups!==null){this.groups=Thrift.copyList(args.groups,[orgGroupInfo])}}};SearchResult.prototype={};SearchResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size86=0;var _rtmp390;this.sub=[];var _etype89=0;_rtmp390=input.readListBegin();_etype89=_rtmp390.etype;_size86=_rtmp390.size;for(var _i91=0;_i91<_size86;++_i91){var elem92=null;elem92=new SmallUserBean;elem92.read(input);this.sub.push(elem92)}input.readListEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size93=0;var _rtmp397;this.gi=[];var _etype96=0;_rtmp397=input.readListBegin();_etype96=_rtmp397.etype;_size93=_rtmp397.size;for(var _i98=0;_i98<_size93;++_i98){var elem99=null;elem99=new GroupInfo;elem99.read(input);this.gi.push(elem99)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size100=0;var _rtmp3104;this.eb=[];var _etype103=0;_rtmp3104=input.readListBegin();_etype103=_rtmp3104.etype;_size100=_rtmp3104.size;for(var _i105=0;_i105<_size100;++_i105){var elem106=null;elem106=new EnterpriseBean;elem106.read(input);this.eb.push(elem106)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size107=0;var _rtmp3111;this.seai=[];var _etype110=0;_rtmp3111=input.readListBegin();_etype110=_rtmp3111.etype;_size107=_rtmp3111.size;for(var _i112=0;_i112<_size107;++_i112){var elem113=null;elem113=new SmallEntAppInfo;elem113.read(input);this.seai.push(elem113)}input.readListEnd()}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.LIST){var _size114=0;var _rtmp3118;this.users=[];var _etype117=0;_rtmp3118=input.readListBegin();_etype117=_rtmp3118.etype;_size114=_rtmp3118.size;for(var _i119=0;_i119<_size114;++_i119){var elem120=null;elem120=new orgUserInfo;elem120.read(input);this.users.push(elem120)}input.readListEnd()}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size121=0;var _rtmp3125;this.groups=[];var _etype124=0;_rtmp3125=input.readListBegin();_etype124=_rtmp3125.etype;_size121=_rtmp3125.size;for(var _i126=0;_i126<_size121;++_i126){var elem127=null;elem127=new orgGroupInfo;elem127.read(input);this.groups.push(elem127)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SearchResult.prototype.write=function(output){output.writeStructBegin("SearchResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.sub!==null&&this.sub!==undefined){output.writeFieldBegin("sub",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.sub.length);for(var iter128 in this.sub){if(this.sub.hasOwnProperty(iter128)){iter128=this.sub[iter128];iter128.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.gi!==null&&this.gi!==undefined){output.writeFieldBegin("gi",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.gi.length);for(var iter129 in this.gi){if(this.gi.hasOwnProperty(iter129)){iter129=this.gi[iter129];iter129.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.eb!==null&&this.eb!==undefined){output.writeFieldBegin("eb",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.eb.length);for(var iter130 in this.eb){if(this.eb.hasOwnProperty(iter130)){iter130=this.eb[iter130];iter130.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.seai!==null&&this.seai!==undefined){output.writeFieldBegin("seai",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.STRUCT,this.seai.length);for(var iter131 in this.seai){if(this.seai.hasOwnProperty(iter131)){iter131=this.seai[iter131];iter131.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.users!==null&&this.users!==undefined){output.writeFieldBegin("users",Thrift.Type.LIST,7);output.writeListBegin(Thrift.Type.STRUCT,this.users.length);for(var iter132 in this.users){if(this.users.hasOwnProperty(iter132)){iter132=this.users[iter132];iter132.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.groups!==null&&this.groups!==undefined){output.writeFieldBegin("groups",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.STRUCT,this.groups.length);for(var iter133 in this.groups){if(this.groups.hasOwnProperty(iter133)){iter133=this.groups[iter133];iter133.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SendMessageResult=function SendMessageResult(args){this.code=null;this.what=null;this.messageID=null;this.sendTime=null;this.localID=null;this.lastMessageID=null;this.badwordList=null;this.badwordType=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.messageID!==undefined&&args.messageID!==null){this.messageID=args.messageID}if(args.sendTime!==undefined&&args.sendTime!==null){this.sendTime=args.sendTime}if(args.localID!==undefined&&args.localID!==null){this.localID=args.localID}if(args.lastMessageID!==undefined&&args.lastMessageID!==null){this.lastMessageID=args.lastMessageID}if(args.badwordList!==undefined&&args.badwordList!==null){this.badwordList=Thrift.copyList(args.badwordList,[null])}if(args.badwordType!==undefined&&args.badwordType!==null){this.badwordType=args.badwordType}}};SendMessageResult.prototype={};SendMessageResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.messageID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.sendTime=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.localID=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.lastMessageID=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.LIST){var _size134=0;var _rtmp3138;this.badwordList=[];var _etype137=0;_rtmp3138=input.readListBegin();_etype137=_rtmp3138.etype;_size134=_rtmp3138.size;for(var _i139=0;_i139<_size134;++_i139){var elem140=null;elem140=input.readString().value;this.badwordList.push(elem140)}input.readListEnd()}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.I32){this.badwordType=input.readI32().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SendMessageResult.prototype.write=function(output){output.writeStructBegin("SendMessageResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.messageID!==null&&this.messageID!==undefined){output.writeFieldBegin("messageID",Thrift.Type.I64,3);output.writeI64(this.messageID);output.writeFieldEnd()}if(this.sendTime!==null&&this.sendTime!==undefined){output.writeFieldBegin("sendTime",Thrift.Type.I64,4);output.writeI64(this.sendTime);output.writeFieldEnd()}if(this.localID!==null&&this.localID!==undefined){output.writeFieldBegin("localID",Thrift.Type.I64,5);output.writeI64(this.localID);output.writeFieldEnd()}if(this.lastMessageID!==null&&this.lastMessageID!==undefined){output.writeFieldBegin("lastMessageID",Thrift.Type.I64,6);output.writeI64(this.lastMessageID);output.writeFieldEnd()}if(this.badwordList!==null&&this.badwordList!==undefined){output.writeFieldBegin("badwordList",Thrift.Type.LIST,7);output.writeListBegin(Thrift.Type.STRING,this.badwordList.length);for(var iter141 in this.badwordList){if(this.badwordList.hasOwnProperty(iter141)){iter141=this.badwordList[iter141];output.writeString(iter141)}}output.writeListEnd();output.writeFieldEnd()}if(this.badwordType!==null&&this.badwordType!==undefined){output.writeFieldBegin("badwordType",Thrift.Type.I32,8);output.writeI32(this.badwordType);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};TransferMessageResult=function TransferMessageResult(args){this.code=null;this.what=null;this.sendTime=null;this.localID=null;this.badwordList=null;this.badwordType=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.sendTime!==undefined&&args.sendTime!==null){this.sendTime=args.sendTime}if(args.localID!==undefined&&args.localID!==null){this.localID=args.localID}if(args.badwordList!==undefined&&args.badwordList!==null){this.badwordList=Thrift.copyList(args.badwordList,[null])}if(args.badwordType!==undefined&&args.badwordType!==null){this.badwordType=args.badwordType}}};TransferMessageResult.prototype={};TransferMessageResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.sendTime=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.localID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size142=0;var _rtmp3146;this.badwordList=[];var _etype145=0;_rtmp3146=input.readListBegin();_etype145=_rtmp3146.etype;_size142=_rtmp3146.size;for(var _i147=0;_i147<_size142;++_i147){var elem148=null;elem148=input.readString().value;this.badwordList.push(elem148)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I32){this.badwordType=input.readI32().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};TransferMessageResult.prototype.write=function(output){output.writeStructBegin("TransferMessageResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.sendTime!==null&&this.sendTime!==undefined){output.writeFieldBegin("sendTime",Thrift.Type.I64,3);output.writeI64(this.sendTime);output.writeFieldEnd()}if(this.localID!==null&&this.localID!==undefined){output.writeFieldBegin("localID",Thrift.Type.I64,4);output.writeI64(this.localID);output.writeFieldEnd()}if(this.badwordList!==null&&this.badwordList!==undefined){output.writeFieldBegin("badwordList",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRING,this.badwordList.length);for(var iter149 in this.badwordList){if(this.badwordList.hasOwnProperty(iter149)){iter149=this.badwordList[iter149];output.writeString(iter149)}}output.writeListEnd();output.writeFieldEnd()}if(this.badwordType!==null&&this.badwordType!==undefined){output.writeFieldBegin("badwordType",Thrift.Type.I32,6);output.writeI32(this.badwordType);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OperateBuddyBean=function OperateBuddyBean(args){this.operType=null;this.isDeleteOtherSide=null;this.tinyUserType=null;this.starBuddy=null;this.userID=null;this.groupID=null;this.remark=null;this.backgroundURL=null;this.buddySetting=null;if(args){if(args.operType!==undefined&&args.operType!==null){this.operType=args.operType}if(args.isDeleteOtherSide!==undefined&&args.isDeleteOtherSide!==null){this.isDeleteOtherSide=args.isDeleteOtherSide}if(args.tinyUserType!==undefined&&args.tinyUserType!==null){this.tinyUserType=args.tinyUserType}if(args.starBuddy!==undefined&&args.starBuddy!==null){this.starBuddy=args.starBuddy}if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.groupID!==undefined&&args.groupID!==null){this.groupID=args.groupID}if(args.remark!==undefined&&args.remark!==null){this.remark=args.remark}if(args.backgroundURL!==undefined&&args.backgroundURL!==null){this.backgroundURL=args.backgroundURL}if(args.buddySetting!==undefined&&args.buddySetting!==null){this.buddySetting=Thrift.copyMap(args.buddySetting,[null])}}};OperateBuddyBean.prototype={};OperateBuddyBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.operType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.isDeleteOtherSide=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.tinyUserType=input.readByte().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BYTE){this.starBuddy=input.readByte().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.groupID=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.remark=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.backgroundURL=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.MAP){var _size150=0;var _rtmp3154;this.buddySetting={};var _ktype151=0;var _vtype152=0;_rtmp3154=input.readMapBegin();_ktype151=_rtmp3154.ktype;_vtype152=_rtmp3154.vtype;_size150=_rtmp3154.size;for(var _i155=0;_i155<_size150;++_i155){if(_i155>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key156=null;var val157=null;key156=input.readI32().value;val157=input.readI32().value;this.buddySetting[key156]=val157}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OperateBuddyBean.prototype.write=function(output){output.writeStructBegin("OperateBuddyBean");if(this.operType!==null&&this.operType!==undefined){output.writeFieldBegin("operType",Thrift.Type.BYTE,1);output.writeByte(this.operType);output.writeFieldEnd()}if(this.isDeleteOtherSide!==null&&this.isDeleteOtherSide!==undefined){output.writeFieldBegin("isDeleteOtherSide",Thrift.Type.BYTE,2);output.writeByte(this.isDeleteOtherSide);output.writeFieldEnd()}if(this.tinyUserType!==null&&this.tinyUserType!==undefined){output.writeFieldBegin("tinyUserType",Thrift.Type.BYTE,3);output.writeByte(this.tinyUserType);output.writeFieldEnd()}if(this.starBuddy!==null&&this.starBuddy!==undefined){output.writeFieldBegin("starBuddy",Thrift.Type.BYTE,4);output.writeByte(this.starBuddy);output.writeFieldEnd()}if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,5);output.writeI64(this.userID);output.writeFieldEnd()}if(this.groupID!==null&&this.groupID!==undefined){output.writeFieldBegin("groupID",Thrift.Type.I64,6);output.writeI64(this.groupID);output.writeFieldEnd()}if(this.remark!==null&&this.remark!==undefined){output.writeFieldBegin("remark",Thrift.Type.STRING,7);output.writeString(this.remark);output.writeFieldEnd()}if(this.backgroundURL!==null&&this.backgroundURL!==undefined){output.writeFieldBegin("backgroundURL",Thrift.Type.STRING,8);output.writeString(this.backgroundURL);output.writeFieldEnd()}if(this.buddySetting!==null&&this.buddySetting!==undefined){output.writeFieldBegin("buddySetting",Thrift.Type.MAP,9);output.writeMapBegin(Thrift.Type.I32,Thrift.Type.I32,Thrift.objectLength(this.buddySetting));for(var kiter158 in this.buddySetting){if(this.buddySetting.hasOwnProperty(kiter158)){var viter159=this.buddySetting[kiter158];output.writeI32(kiter158);output.writeI32(viter159)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AllMessageCursorResult=function AllMessageCursorResult(args){this.code=null;this.what=null;this.cursors=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.cursors!==undefined&&args.cursors!==null){this.cursors=Thrift.copyList(args.cursors,[MessageStorageCursor])}}};AllMessageCursorResult.prototype={};AllMessageCursorResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size160=0;var _rtmp3164;this.cursors=[];var _etype163=0;_rtmp3164=input.readListBegin();_etype163=_rtmp3164.etype;_size160=_rtmp3164.size;for(var _i165=0;_i165<_size160;++_i165){var elem166=null;elem166=new MessageStorageCursor;elem166.read(input);this.cursors.push(elem166)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AllMessageCursorResult.prototype.write=function(output){output.writeStructBegin("AllMessageCursorResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.cursors!==null&&this.cursors!==undefined){output.writeFieldBegin("cursors",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.cursors.length);for(var iter167 in this.cursors){if(this.cursors.hasOwnProperty(iter167)){iter167=this.cursors[iter167];iter167.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MessageStorageResult=function MessageStorageResult(args){this.code=null;this.what=null;this.msgs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.msgs!==undefined&&args.msgs!==null){this.msgs=new Messages(args.msgs)}}};MessageStorageResult.prototype={};MessageStorageResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.msgs=new Messages;this.msgs.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MessageStorageResult.prototype.write=function(output){output.writeStructBegin("MessageStorageResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.msgs!==null&&this.msgs!==undefined){output.writeFieldBegin("msgs",Thrift.Type.STRUCT,3);this.msgs.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupInfoResult=function GroupInfoResult(args){this.code=null;this.what=null;this.listTimestamp=null;this.group=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.listTimestamp!==undefined&&args.listTimestamp!==null){this.listTimestamp=args.listTimestamp}if(args.group!==undefined&&args.group!==null){this.group=new GroupInfo(args.group)}}};GroupInfoResult.prototype={};GroupInfoResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.listTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.group=new GroupInfo;this.group.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupInfoResult.prototype.write=function(output){output.writeStructBegin("GroupInfoResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.listTimestamp!==null&&this.listTimestamp!==undefined){output.writeFieldBegin("listTimestamp",Thrift.Type.I64,3);output.writeI64(this.listTimestamp);output.writeFieldEnd()}if(this.group!==null&&this.group!==undefined){output.writeFieldBegin("group",Thrift.Type.STRUCT,4);this.group.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetGroupResult=function GetGroupResult(args){this.code=null;this.what=null;this.listTimestamp=null;this.groups=null;this.shieldList=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.listTimestamp!==undefined&&args.listTimestamp!==null){this.listTimestamp=args.listTimestamp}if(args.groups!==undefined&&args.groups!==null){this.groups=Thrift.copyList(args.groups,[TinyGroupInfo])}if(args.shieldList!==undefined&&args.shieldList!==null){this.shieldList=Thrift.copyList(args.shieldList,[ShieldGroupMessageSet])}}};GetGroupResult.prototype={};GetGroupResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.listTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size168=0;var _rtmp3172;this.groups=[];var _etype171=0;_rtmp3172=input.readListBegin();_etype171=_rtmp3172.etype;_size168=_rtmp3172.size;for(var _i173=0;_i173<_size168;++_i173){var elem174=null;elem174=new TinyGroupInfo;elem174.read(input);this.groups.push(elem174)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size175=0;var _rtmp3179;this.shieldList=[];var _etype178=0;_rtmp3179=input.readListBegin();_etype178=_rtmp3179.etype;_size175=_rtmp3179.size;for(var _i180=0;_i180<_size175;++_i180){var elem181=null;elem181=new ShieldGroupMessageSet;elem181.read(input);this.shieldList.push(elem181)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetGroupResult.prototype.write=function(output){output.writeStructBegin("GetGroupResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.listTimestamp!==null&&this.listTimestamp!==undefined){output.writeFieldBegin("listTimestamp",Thrift.Type.I64,3);output.writeI64(this.listTimestamp);output.writeFieldEnd()}if(this.groups!==null&&this.groups!==undefined){output.writeFieldBegin("groups",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.groups.length);for(var iter182 in this.groups){if(this.groups.hasOwnProperty(iter182)){iter182=this.groups[iter182];iter182.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.shieldList!==null&&this.shieldList!==undefined){output.writeFieldBegin("shieldList",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.shieldList.length);for(var iter183 in this.shieldList){if(this.shieldList.hasOwnProperty(iter183)){iter183=this.shieldList[iter183];iter183.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CreateGroupConditionResult=function CreateGroupConditionResult(args){this.code=null;this.what=null;this.cond=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.cond!==undefined&&args.cond!==null){this.cond=Thrift.copyMap(args.cond,[null])}}};CreateGroupConditionResult.prototype={};CreateGroupConditionResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size184=0;var _rtmp3188;this.cond={};var _ktype185=0;var _vtype186=0;_rtmp3188=input.readMapBegin();_ktype185=_rtmp3188.ktype;_vtype186=_rtmp3188.vtype;_size184=_rtmp3188.size;for(var _i189=0;_i189<_size184;++_i189){if(_i189>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key190=null;var val191=null;key190=input.readByte().value;val191=input.readI32().value;this.cond[key190]=val191}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CreateGroupConditionResult.prototype.write=function(output){output.writeStructBegin("CreateGroupConditionResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.cond!==null&&this.cond!==undefined){output.writeFieldBegin("cond",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.BYTE,Thrift.Type.I32,Thrift.objectLength(this.cond));for(var kiter192 in this.cond){if(this.cond.hasOwnProperty(kiter192)){var viter193=this.cond[kiter192];output.writeByte(kiter192);output.writeI32(viter193)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};TransferGroupResult=function TransferGroupResult(args){this.code=null;this.what=null;this.pageTimestamps=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.pageTimestamps!==undefined&&args.pageTimestamps!==null){this.pageTimestamps=Thrift.copyMap(args.pageTimestamps,[null])}}};TransferGroupResult.prototype={};TransferGroupResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size194=0;var _rtmp3198;this.pageTimestamps={};var _ktype195=0;var _vtype196=0;_rtmp3198=input.readMapBegin();_ktype195=_rtmp3198.ktype;_vtype196=_rtmp3198.vtype;_size194=_rtmp3198.size;for(var _i199=0;_i199<_size194;++_i199){if(_i199>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key200=null;var val201=null;key200=input.readI16().value;val201=input.readI64().value;this.pageTimestamps[key200]=val201}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};TransferGroupResult.prototype.write=function(output){output.writeStructBegin("TransferGroupResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.pageTimestamps!==null&&this.pageTimestamps!==undefined){output.writeFieldBegin("pageTimestamps",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.pageTimestamps));for(var kiter202 in this.pageTimestamps){if(this.pageTimestamps.hasOwnProperty(kiter202)){var viter203=this.pageTimestamps[kiter202];output.writeI16(kiter202);output.writeI64(viter203)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupMembersResult=function GroupMembersResult(args){this.code=null;this.what=null;this.pageTimestamp=null;this.members=null;this.users=null;this.apps=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.pageTimestamp!==undefined&&args.pageTimestamp!==null){this.pageTimestamp=args.pageTimestamp}if(args.members!==undefined&&args.members!==null){this.members=Thrift.copyList(args.members,[TinyGroupMemberInfo])}if(args.users!==undefined&&args.users!==null){this.users=Thrift.copyList(args.users,[SmallUserBean])}if(args.apps!==undefined&&args.apps!==null){this.apps=Thrift.copyList(args.apps,[SmallEntAppInfo])}}};GroupMembersResult.prototype={};GroupMembersResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.pageTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size204=0;var _rtmp3208;this.members=[];var _etype207=0;_rtmp3208=input.readListBegin();_etype207=_rtmp3208.etype;_size204=_rtmp3208.size;for(var _i209=0;_i209<_size204;++_i209){var elem210=null;elem210=new TinyGroupMemberInfo;elem210.read(input);this.members.push(elem210)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size211=0;var _rtmp3215;this.users=[];var _etype214=0;_rtmp3215=input.readListBegin();_etype214=_rtmp3215.etype;_size211=_rtmp3215.size;for(var _i216=0;_i216<_size211;++_i216){var elem217=null;elem217=new SmallUserBean;elem217.read(input);this.users.push(elem217)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size218=0;var _rtmp3222;this.apps=[];var _etype221=0;_rtmp3222=input.readListBegin();_etype221=_rtmp3222.etype;_size218=_rtmp3222.size;for(var _i223=0;_i223<_size218;++_i223){var elem224=null;elem224=new SmallEntAppInfo;elem224.read(input);this.apps.push(elem224)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupMembersResult.prototype.write=function(output){output.writeStructBegin("GroupMembersResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.pageTimestamp!==null&&this.pageTimestamp!==undefined){output.writeFieldBegin("pageTimestamp",Thrift.Type.I64,3);output.writeI64(this.pageTimestamp);output.writeFieldEnd()}if(this.members!==null&&this.members!==undefined){output.writeFieldBegin("members",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.members.length);for(var iter225 in this.members){if(this.members.hasOwnProperty(iter225)){iter225=this.members[iter225];iter225.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.users!==null&&this.users!==undefined){output.writeFieldBegin("users",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.users.length);for(var iter226 in this.users){if(this.users.hasOwnProperty(iter226)){iter226=this.users[iter226];iter226.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.apps!==null&&this.apps!==undefined){output.writeFieldBegin("apps",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.STRUCT,this.apps.length);for(var iter227 in this.apps){if(this.apps.hasOwnProperty(iter227)){iter227=this.apps[iter227];iter227.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupMemberInfoResult=function GroupMemberInfoResult(args){this.code=null;this.what=null;this.gmi=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.gmi!==undefined&&args.gmi!==null){this.gmi=new GroupMemberInfo(args.gmi)}}};GroupMemberInfoResult.prototype={};GroupMemberInfoResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.gmi=new GroupMemberInfo;this.gmi.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupMemberInfoResult.prototype.write=function(output){output.writeStructBegin("GroupMemberInfoResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.gmi!==null&&this.gmi!==undefined){output.writeFieldBegin("gmi",Thrift.Type.STRUCT,3);this.gmi.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UpdateGroupMemberResult=function UpdateGroupMemberResult(args){this.code=null;this.what=null;this.page=null;this.pageTimestamp=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.page!==undefined&&args.page!==null){this.page=args.page}if(args.pageTimestamp!==undefined&&args.pageTimestamp!==null){this.pageTimestamp=args.pageTimestamp}}};UpdateGroupMemberResult.prototype={};UpdateGroupMemberResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I16){this.page=input.readI16().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.pageTimestamp=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UpdateGroupMemberResult.prototype.write=function(output){output.writeStructBegin("UpdateGroupMemberResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.page!==null&&this.page!==undefined){output.writeFieldBegin("page",Thrift.Type.I16,3);output.writeI16(this.page);output.writeFieldEnd()}if(this.pageTimestamp!==null&&this.pageTimestamp!==undefined){output.writeFieldBegin("pageTimestamp",Thrift.Type.I64,4);output.writeI64(this.pageTimestamp);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RemoveGroupMemberResult=function RemoveGroupMemberResult(args){this.code=null;this.what=null;this.pageTimestamps=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.pageTimestamps!==undefined&&args.pageTimestamps!==null){this.pageTimestamps=Thrift.copyMap(args.pageTimestamps,[null])}}};RemoveGroupMemberResult.prototype={};RemoveGroupMemberResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size228=0;var _rtmp3232;this.pageTimestamps={};var _ktype229=0;var _vtype230=0;_rtmp3232=input.readMapBegin();_ktype229=_rtmp3232.ktype;_vtype230=_rtmp3232.vtype;_size228=_rtmp3232.size;for(var _i233=0;_i233<_size228;++_i233){if(_i233>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key234=null;var val235=null;key234=input.readI16().value;val235=input.readI64().value;this.pageTimestamps[key234]=val235}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RemoveGroupMemberResult.prototype.write=function(output){output.writeStructBegin("RemoveGroupMemberResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.pageTimestamps!==null&&this.pageTimestamps!==undefined){output.writeFieldBegin("pageTimestamps",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.pageTimestamps));for(var kiter236 in this.pageTimestamps){if(this.pageTimestamps.hasOwnProperty(kiter236)){var viter237=this.pageTimestamps[kiter236];output.writeI16(kiter236);output.writeI64(viter237)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupVerifyRequestBean=function GroupVerifyRequestBean(args){this.groupID=null;this.verifyInfo=null;if(args){if(args.groupID!==undefined&&args.groupID!==null){this.groupID=args.groupID}if(args.verifyInfo!==undefined&&args.verifyInfo!==null){this.verifyInfo=args.verifyInfo}}};GroupVerifyRequestBean.prototype={};GroupVerifyRequestBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 3:if(ftype==Thrift.Type.I64){this.groupID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.verifyInfo=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupVerifyRequestBean.prototype.write=function(output){output.writeStructBegin("GroupVerifyRequestBean");if(this.groupID!==null&&this.groupID!==undefined){output.writeFieldBegin("groupID",Thrift.Type.I64,3);output.writeI64(this.groupID);output.writeFieldEnd()}if(this.verifyInfo!==null&&this.verifyInfo!==undefined){output.writeFieldBegin("verifyInfo",Thrift.Type.STRING,4);output.writeString(this.verifyInfo);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupInviteRequestBean=function GroupInviteRequestBean(args){this.groupID=null;this.verifyInfo=null;this.inviteUsers=null;if(args){if(args.groupID!==undefined&&args.groupID!==null){this.groupID=args.groupID}if(args.verifyInfo!==undefined&&args.verifyInfo!==null){this.verifyInfo=args.verifyInfo}if(args.inviteUsers!==undefined&&args.inviteUsers!==null){this.inviteUsers=Thrift.copyList(args.inviteUsers,[null])}}};GroupInviteRequestBean.prototype={};GroupInviteRequestBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 3:if(ftype==Thrift.Type.I64){this.groupID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.verifyInfo=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size238=0;var _rtmp3242;this.inviteUsers=[];var _etype241=0;_rtmp3242=input.readListBegin();_etype241=_rtmp3242.etype;_size238=_rtmp3242.size;for(var _i243=0;_i243<_size238;++_i243){var elem244=null;elem244=input.readI64().value;this.inviteUsers.push(elem244)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupInviteRequestBean.prototype.write=function(output){output.writeStructBegin("GroupInviteRequestBean");if(this.groupID!==null&&this.groupID!==undefined){output.writeFieldBegin("groupID",Thrift.Type.I64,3);output.writeI64(this.groupID);output.writeFieldEnd()}if(this.verifyInfo!==null&&this.verifyInfo!==undefined){output.writeFieldBegin("verifyInfo",Thrift.Type.STRING,4);output.writeString(this.verifyInfo);output.writeFieldEnd()}if(this.inviteUsers!==null&&this.inviteUsers!==undefined){output.writeFieldBegin("inviteUsers",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.I64,this.inviteUsers.length);for(var iter245 in this.inviteUsers){if(this.inviteUsers.hasOwnProperty(iter245)){iter245=this.inviteUsers[iter245];output.writeI64(iter245)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupResponseBean=function GroupResponseBean(args){this.reqID=null;this.groupID=null;this.respResult=null;this.refuseReason=null;if(args){if(args.reqID!==undefined&&args.reqID!==null){this.reqID=args.reqID}if(args.groupID!==undefined&&args.groupID!==null){this.groupID=args.groupID}if(args.respResult!==undefined&&args.respResult!==null){this.respResult=args.respResult}if(args.refuseReason!==undefined&&args.refuseReason!==null){this.refuseReason=args.refuseReason}}};GroupResponseBean.prototype={};GroupResponseBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.reqID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.groupID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.BYTE){this.respResult=input.readByte().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.refuseReason=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupResponseBean.prototype.write=function(output){output.writeStructBegin("GroupResponseBean");if(this.reqID!==null&&this.reqID!==undefined){output.writeFieldBegin("reqID",Thrift.Type.I64,1);output.writeI64(this.reqID);output.writeFieldEnd()}if(this.groupID!==null&&this.groupID!==undefined){output.writeFieldBegin("groupID",Thrift.Type.I64,3);output.writeI64(this.groupID);output.writeFieldEnd()}if(this.respResult!==null&&this.respResult!==undefined){output.writeFieldBegin("respResult",Thrift.Type.BYTE,5);output.writeByte(this.respResult);output.writeFieldEnd()}if(this.refuseReason!==null&&this.refuseReason!==undefined){output.writeFieldBegin("refuseReason",Thrift.Type.STRING,6);output.writeString(this.refuseReason);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupVerifyResponseResult=function GroupVerifyResponseResult(args){this.code=null;this.what=null;this.page=null;this.respResult=null;this.reqTimestamp=null;this.pageTimestamp=null;this.respID=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.page!==undefined&&args.page!==null){this.page=args.page}if(args.respResult!==undefined&&args.respResult!==null){this.respResult=args.respResult}if(args.reqTimestamp!==undefined&&args.reqTimestamp!==null){this.reqTimestamp=args.reqTimestamp}if(args.pageTimestamp!==undefined&&args.pageTimestamp!==null){this.pageTimestamp=args.pageTimestamp}if(args.respID!==undefined&&args.respID!==null){this.respID=args.respID}}};GroupVerifyResponseResult.prototype={};GroupVerifyResponseResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I16){this.page=input.readI16().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BYTE){this.respResult=input.readByte().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.reqTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.pageTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.I64){this.respID=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupVerifyResponseResult.prototype.write=function(output){output.writeStructBegin("GroupVerifyResponseResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.page!==null&&this.page!==undefined){output.writeFieldBegin("page",Thrift.Type.I16,3);output.writeI16(this.page);output.writeFieldEnd()}if(this.respResult!==null&&this.respResult!==undefined){output.writeFieldBegin("respResult",Thrift.Type.BYTE,4);output.writeByte(this.respResult);output.writeFieldEnd()}if(this.reqTimestamp!==null&&this.reqTimestamp!==undefined){output.writeFieldBegin("reqTimestamp",Thrift.Type.I64,5);output.writeI64(this.reqTimestamp);output.writeFieldEnd()}if(this.pageTimestamp!==null&&this.pageTimestamp!==undefined){output.writeFieldBegin("pageTimestamp",Thrift.Type.I64,6);output.writeI64(this.pageTimestamp);output.writeFieldEnd()}if(this.respID!==null&&this.respID!==undefined){output.writeFieldBegin("respID",Thrift.Type.I64,7);output.writeI64(this.respID);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupInviteResponseResult=function GroupInviteResponseResult(args){this.code=null;this.what=null;this.respResult=null;this.reqTimestamp=null;this.listTimestamp=null;this.respID=null;this.userBean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.respResult!==undefined&&args.respResult!==null){this.respResult=args.respResult}if(args.reqTimestamp!==undefined&&args.reqTimestamp!==null){this.reqTimestamp=args.reqTimestamp}if(args.listTimestamp!==undefined&&args.listTimestamp!==null){this.listTimestamp=args.listTimestamp}if(args.respID!==undefined&&args.respID!==null){this.respID=args.respID}if(args.userBean!==undefined&&args.userBean!==null){this.userBean=new SmallUserBean(args.userBean)}}};GroupInviteResponseResult.prototype={};GroupInviteResponseResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.respResult=input.readByte().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.reqTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.listTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.respID=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.userBean=new SmallUserBean;this.userBean.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupInviteResponseResult.prototype.write=function(output){output.writeStructBegin("GroupInviteResponseResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.respResult!==null&&this.respResult!==undefined){output.writeFieldBegin("respResult",Thrift.Type.BYTE,3);output.writeByte(this.respResult);output.writeFieldEnd()}if(this.reqTimestamp!==null&&this.reqTimestamp!==undefined){output.writeFieldBegin("reqTimestamp",Thrift.Type.I64,4);output.writeI64(this.reqTimestamp);output.writeFieldEnd()}if(this.listTimestamp!==null&&this.listTimestamp!==undefined){output.writeFieldBegin("listTimestamp",Thrift.Type.I64,5);output.writeI64(this.listTimestamp);output.writeFieldEnd()}if(this.respID!==null&&this.respID!==undefined){output.writeFieldBegin("respID",Thrift.Type.I64,6);output.writeI64(this.respID);output.writeFieldEnd()}if(this.userBean!==null&&this.userBean!==undefined){output.writeFieldBegin("userBean",Thrift.Type.STRUCT,7);this.userBean.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupRequestResult=function GroupRequestResult(args){this.code=null;this.what=null;this.reqTimestamp=null;this.groupRequests=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.reqTimestamp!==undefined&&args.reqTimestamp!==null){this.reqTimestamp=args.reqTimestamp}if(args.groupRequests!==undefined&&args.groupRequests!==null){this.groupRequests=Thrift.copyList(args.groupRequests,[GroupRequest])}}};GroupRequestResult.prototype={};GroupRequestResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.reqTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size246=0;var _rtmp3250;this.groupRequests=[];var _etype249=0;_rtmp3250=input.readListBegin();_etype249=_rtmp3250.etype;_size246=_rtmp3250.size;for(var _i251=0;_i251<_size246;++_i251){var elem252=null;elem252=new GroupRequest;elem252.read(input);this.groupRequests.push(elem252)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupRequestResult.prototype.write=function(output){output.writeStructBegin("GroupRequestResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.reqTimestamp!==null&&this.reqTimestamp!==undefined){output.writeFieldBegin("reqTimestamp",Thrift.Type.I64,3);output.writeI64(this.reqTimestamp);output.writeFieldEnd()}if(this.groupRequests!==null&&this.groupRequests!==undefined){output.writeFieldBegin("groupRequests",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.groupRequests.length);for(var iter253 in this.groupRequests){if(this.groupRequests.hasOwnProperty(iter253)){iter253=this.groupRequests[iter253];iter253.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupResponseResult=function GroupResponseResult(args){this.code=null;this.what=null;this.respTimestamp=null;this.groupResponses=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.respTimestamp!==undefined&&args.respTimestamp!==null){this.respTimestamp=args.respTimestamp}if(args.groupResponses!==undefined&&args.groupResponses!==null){this.groupResponses=Thrift.copyList(args.groupResponses,[GroupResponse])}}};GroupResponseResult.prototype={};GroupResponseResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.respTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size254=0;var _rtmp3258;this.groupResponses=[];var _etype257=0;_rtmp3258=input.readListBegin();_etype257=_rtmp3258.etype;_size254=_rtmp3258.size;for(var _i259=0;_i259<_size254;++_i259){var elem260=null;elem260=new GroupResponse;elem260.read(input);this.groupResponses.push(elem260)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupResponseResult.prototype.write=function(output){output.writeStructBegin("GroupResponseResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.respTimestamp!==null&&this.respTimestamp!==undefined){output.writeFieldBegin("respTimestamp",Thrift.Type.I64,3);output.writeI64(this.respTimestamp);output.writeFieldEnd()}if(this.groupResponses!==null&&this.groupResponses!==undefined){output.writeFieldBegin("groupResponses",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.groupResponses.length);for(var iter261 in this.groupResponses){if(this.groupResponses.hasOwnProperty(iter261)){iter261=this.groupResponses[iter261];iter261.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupRequestForReadResult=function GroupRequestForReadResult(args){this.code=null;this.what=null;this.inviteReqTimestamp=null;this.verifyReqTimestamp=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.inviteReqTimestamp!==undefined&&args.inviteReqTimestamp!==null){this.inviteReqTimestamp=args.inviteReqTimestamp}if(args.verifyReqTimestamp!==undefined&&args.verifyReqTimestamp!==null){this.verifyReqTimestamp=args.verifyReqTimestamp}}};GroupRequestForReadResult.prototype={};GroupRequestForReadResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.inviteReqTimestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.verifyReqTimestamp=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupRequestForReadResult.prototype.write=function(output){output.writeStructBegin("GroupRequestForReadResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.inviteReqTimestamp!==null&&this.inviteReqTimestamp!==undefined){output.writeFieldBegin("inviteReqTimestamp",Thrift.Type.I64,3);output.writeI64(this.inviteReqTimestamp);output.writeFieldEnd()}if(this.verifyReqTimestamp!==null&&this.verifyReqTimestamp!==undefined){output.writeFieldBegin("verifyReqTimestamp",Thrift.Type.I64,4);output.writeI64(this.verifyReqTimestamp);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupSetResult=function GroupSetResult(args){this.code=null;this.what=null;this.gset=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.gset!==undefined&&args.gset!==null){this.gset=new GroupSet(args.gset)}}};GroupSetResult.prototype={};GroupSetResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.gset=new GroupSet;this.gset.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupSetResult.prototype.write=function(output){output.writeStructBegin("GroupSetResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.gset!==null&&this.gset!==undefined){output.writeFieldBegin("gset",Thrift.Type.STRUCT,3);this.gset.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupShieldInfo=function GroupShieldInfo(args){this.receiveMsgType=null;this.receiveTimePeriod=null;if(args){if(args.receiveMsgType!==undefined&&args.receiveMsgType!==null){this.receiveMsgType=args.receiveMsgType}if(args.receiveTimePeriod!==undefined&&args.receiveTimePeriod!==null){this.receiveTimePeriod=args.receiveTimePeriod}}};GroupShieldInfo.prototype={};GroupShieldInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.receiveMsgType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.receiveTimePeriod=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupShieldInfo.prototype.write=function(output){output.writeStructBegin("GroupShieldInfo");if(this.receiveMsgType!==null&&this.receiveMsgType!==undefined){output.writeFieldBegin("receiveMsgType",Thrift.Type.BYTE,1);output.writeByte(this.receiveMsgType);output.writeFieldEnd()}if(this.receiveTimePeriod!==null&&this.receiveTimePeriod!==undefined){output.writeFieldBegin("receiveTimePeriod",Thrift.Type.STRING,2);output.writeString(this.receiveTimePeriod);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetEnterpriseResult=function GetEnterpriseResult(args){this.code=null;this.what=null;this.ents=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.ents!==undefined&&args.ents!==null){this.ents=Thrift.copyList(args.ents,[EnterpriseBean])}}};GetEnterpriseResult.prototype={};GetEnterpriseResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size262=0;var _rtmp3266;this.ents=[];var _etype265=0;_rtmp3266=input.readListBegin();_etype265=_rtmp3266.etype;_size262=_rtmp3266.size;for(var _i267=0;_i267<_size262;++_i267){var elem268=null;elem268=new EnterpriseBean;elem268.read(input);this.ents.push(elem268)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetEnterpriseResult.prototype.write=function(output){output.writeStructBegin("GetEnterpriseResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.ents!==null&&this.ents!==undefined){output.writeFieldBegin("ents",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.ents.length);for(var iter269 in this.ents){if(this.ents.hasOwnProperty(iter269)){iter269=this.ents[iter269];iter269.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetSingleEnterpriseResult=function GetSingleEnterpriseResult(args){this.code=null;this.what=null;this.enbean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.enbean!==undefined&&args.enbean!==null){this.enbean=new EnterpriseBean(args.enbean)}}};GetSingleEnterpriseResult.prototype={};GetSingleEnterpriseResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.enbean=new EnterpriseBean;this.enbean.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetSingleEnterpriseResult.prototype.write=function(output){output.writeStructBegin("GetSingleEnterpriseResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.enbean!==null&&this.enbean!==undefined){output.writeFieldBegin("enbean",Thrift.Type.STRUCT,3);this.enbean.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetOrganizationResult=function GetOrganizationResult(args){this.code=null;this.what=null;this.orgs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.orgs!==undefined&&args.orgs!==null){this.orgs=Thrift.copyList(args.orgs,[OrganizationBean])}}};GetOrganizationResult.prototype={};GetOrganizationResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size270=0;var _rtmp3274;this.orgs=[];var _etype273=0;_rtmp3274=input.readListBegin();_etype273=_rtmp3274.etype;_size270=_rtmp3274.size;for(var _i275=0;_i275<_size270;++_i275){var elem276=null;elem276=new OrganizationBean;elem276.read(input);this.orgs.push(elem276)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetOrganizationResult.prototype.write=function(output){output.writeStructBegin("GetOrganizationResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.orgs!==null&&this.orgs!==undefined){output.writeFieldBegin("orgs",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.orgs.length);for(var iter277 in this.orgs){if(this.orgs.hasOwnProperty(iter277)){iter277=this.orgs[iter277];iter277.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnUParam=function EnUParam(args){this.type=null;this.oid=null;this.eid=null;this.queryParam=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.oid!==undefined&&args.oid!==null){this.oid=args.oid}if(args.eid!==undefined&&args.eid!==null){this.eid=args.eid}if(args.queryParam!==undefined&&args.queryParam!==null){this.queryParam=Thrift.copyMap(args.queryParam,[null])}}};EnUParam.prototype={};EnUParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.oid=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.eid=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size278=0;var _rtmp3282;this.queryParam={};var _ktype279=0;var _vtype280=0;_rtmp3282=input.readMapBegin();_ktype279=_rtmp3282.ktype;_vtype280=_rtmp3282.vtype;_size278=_rtmp3282.size;for(var _i283=0;_i283<_size278;++_i283){if(_i283>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key284=null;var val285=null;key284=input.readString().value;val285=input.readString().value;this.queryParam[key284]=val285}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnUParam.prototype.write=function(output){output.writeStructBegin("EnUParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.oid!==null&&this.oid!==undefined){output.writeFieldBegin("oid",Thrift.Type.I64,2);output.writeI64(this.oid);output.writeFieldEnd()}if(this.eid!==null&&this.eid!==undefined){output.writeFieldBegin("eid",Thrift.Type.I64,3);output.writeI64(this.eid);output.writeFieldEnd()}if(this.queryParam!==null&&this.queryParam!==undefined){output.writeFieldBegin("queryParam",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.queryParam));for(var kiter286 in this.queryParam){if(this.queryParam.hasOwnProperty(kiter286)){var viter287=this.queryParam[kiter286];output.writeString(kiter286);output.writeString(viter287)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnURet=function EnURet(args){this.code=null;this.what=null;this.us=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.us!==undefined&&args.us!==null){this.us=Thrift.copyList(args.us,[EnterpriseUserBean])}}};EnURet.prototype={};EnURet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size288=0;var _rtmp3292;this.us=[];var _etype291=0;_rtmp3292=input.readListBegin();_etype291=_rtmp3292.etype;_size288=_rtmp3292.size;for(var _i293=0;_i293<_size288;++_i293){var elem294=null;elem294=new EnterpriseUserBean;elem294.read(input);this.us.push(elem294)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnURet.prototype.write=function(output){output.writeStructBegin("EnURet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.us!==null&&this.us!==undefined){output.writeFieldBegin("us",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.us.length);for(var iter295 in this.us){if(this.us.hasOwnProperty(iter295)){iter295=this.us[iter295];iter295.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OnlineBean=function OnlineBean(args){this.userID=null;this.connectID=null;this.deviceType=null;this.flag=null;this.operateDate=null;if(args){if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.connectID!==undefined&&args.connectID!==null){this.connectID=args.connectID}if(args.deviceType!==undefined&&args.deviceType!==null){this.deviceType=args.deviceType}if(args.flag!==undefined&&args.flag!==null){this.flag=args.flag}if(args.operateDate!==undefined&&args.operateDate!==null){this.operateDate=args.operateDate}}};OnlineBean.prototype={};OnlineBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.connectID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.deviceType=input.readByte().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BYTE){this.flag=input.readByte().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.operateDate=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OnlineBean.prototype.write=function(output){output.writeStructBegin("OnlineBean");if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,1);output.writeI64(this.userID);output.writeFieldEnd()}if(this.connectID!==null&&this.connectID!==undefined){output.writeFieldBegin("connectID",Thrift.Type.I64,2);output.writeI64(this.connectID);output.writeFieldEnd()}if(this.deviceType!==null&&this.deviceType!==undefined){output.writeFieldBegin("deviceType",Thrift.Type.BYTE,3);output.writeByte(this.deviceType);output.writeFieldEnd()}if(this.flag!==null&&this.flag!==undefined){output.writeFieldBegin("flag",Thrift.Type.BYTE,4);output.writeByte(this.flag);output.writeFieldEnd()}if(this.operateDate!==null&&this.operateDate!==undefined){output.writeFieldBegin("operateDate",Thrift.Type.I64,5);output.writeI64(this.operateDate);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OnlineParam=function OnlineParam(args){this.type=null;this.appleID=null;this.token=null;this.vb1=null;this.vb2=null;this.value64=null;this.mapParams=null;this.value_str_1=null;this.listI64=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.appleID!==undefined&&args.appleID!==null){this.appleID=args.appleID}if(args.token!==undefined&&args.token!==null){this.token=args.token}if(args.vb1!==undefined&&args.vb1!==null){this.vb1=args.vb1}if(args.vb2!==undefined&&args.vb2!==null){this.vb2=args.vb2}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.mapParams!==undefined&&args.mapParams!==null){this.mapParams=Thrift.copyMap(args.mapParams,[null])}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.listI64!==undefined&&args.listI64!==null){this.listI64=Thrift.copyList(args.listI64,[null])}}};OnlineParam.prototype={};OnlineParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.appleID=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.token=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BOOL){this.vb1=input.readBool().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.BOOL){this.vb2=input.readBool().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.MAP){var _size296=0;var _rtmp3300;this.mapParams={};var _ktype297=0;var _vtype298=0;_rtmp3300=input.readMapBegin();_ktype297=_rtmp3300.ktype;_vtype298=_rtmp3300.vtype;_size296=_rtmp3300.size;for(var _i301=0;_i301<_size296;++_i301){if(_i301>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key302=null;var val303=null;key302=input.readString().value;val303=input.readString().value;this.mapParams[key302]=val303}input.readMapEnd()}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.LIST){var _size304=0;var _rtmp3308;this.listI64=[];var _etype307=0;_rtmp3308=input.readListBegin();_etype307=_rtmp3308.etype;_size304=_rtmp3308.size;for(var _i309=0;_i309<_size304;++_i309){var elem310=null;elem310=input.readI64().value;this.listI64.push(elem310)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OnlineParam.prototype.write=function(output){output.writeStructBegin("OnlineParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.appleID!==null&&this.appleID!==undefined){output.writeFieldBegin("appleID",Thrift.Type.STRING,2);output.writeString(this.appleID);output.writeFieldEnd()}if(this.token!==null&&this.token!==undefined){output.writeFieldBegin("token",Thrift.Type.STRING,3);output.writeString(this.token);output.writeFieldEnd()}if(this.vb1!==null&&this.vb1!==undefined){output.writeFieldBegin("vb1",Thrift.Type.BOOL,4);output.writeBool(this.vb1);output.writeFieldEnd()}if(this.vb2!==null&&this.vb2!==undefined){output.writeFieldBegin("vb2",Thrift.Type.BOOL,5);output.writeBool(this.vb2);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,6);output.writeI64(this.value64);output.writeFieldEnd()}if(this.mapParams!==null&&this.mapParams!==undefined){output.writeFieldBegin("mapParams",Thrift.Type.MAP,7);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.mapParams));for(var kiter311 in this.mapParams){if(this.mapParams.hasOwnProperty(kiter311)){var viter312=this.mapParams[kiter311];output.writeString(kiter311);output.writeString(viter312)}}output.writeMapEnd();output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,8);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.listI64!==null&&this.listI64!==undefined){output.writeFieldBegin("listI64",Thrift.Type.LIST,9);output.writeListBegin(Thrift.Type.I64,this.listI64.length);for(var iter313 in this.listI64){if(this.listI64.hasOwnProperty(iter313)){iter313=this.listI64[iter313];output.writeI64(iter313)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OnlineRet=function OnlineRet(args){this.code=null;this.what=null;this.result=null;this.params=null;this.onlineBeans=null;this.olBean=null;this.mapStrI64=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.result!==undefined&&args.result!==null){this.result=new Result(args.result)}if(args.params!==undefined&&args.params!==null){this.params=Thrift.copyMap(args.params,[null])}if(args.onlineBeans!==undefined&&args.onlineBeans!==null){this.onlineBeans=Thrift.copyList(args.onlineBeans,[OnlineBean])}if(args.olBean!==undefined&&args.olBean!==null){this.olBean=new OnlineBean(args.olBean)}if(args.mapStrI64!==undefined&&args.mapStrI64!==null){this.mapStrI64=Thrift.copyMap(args.mapStrI64,[null])}}};OnlineRet.prototype={};OnlineRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.result=new Result;this.result.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size314=0;var _rtmp3318;this.params={};var _ktype315=0;var _vtype316=0;_rtmp3318=input.readMapBegin();_ktype315=_rtmp3318.ktype;_vtype316=_rtmp3318.vtype;_size314=_rtmp3318.size;for(var _i319=0;_i319<_size314;++_i319){if(_i319>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key320=null;var val321=null;key320=input.readString().value;val321=input.readString().value;this.params[key320]=val321}input.readMapEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size322=0;var _rtmp3326;this.onlineBeans=[];var _etype325=0;_rtmp3326=input.readListBegin();_etype325=_rtmp3326.etype;_size322=_rtmp3326.size;for(var _i327=0;_i327<_size322;++_i327){var elem328=null;elem328=new OnlineBean;elem328.read(input);this.onlineBeans.push(elem328)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.olBean=new OnlineBean;this.olBean.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.MAP){var _size329=0;var _rtmp3333;this.mapStrI64={};var _ktype330=0;var _vtype331=0;_rtmp3333=input.readMapBegin();_ktype330=_rtmp3333.ktype;_vtype331=_rtmp3333.vtype;_size329=_rtmp3333.size;for(var _i334=0;_i334<_size329;++_i334){if(_i334>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key335=null;var val336=null;key335=input.readString().value;val336=input.readI64().value;this.mapStrI64[key335]=val336}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OnlineRet.prototype.write=function(output){output.writeStructBegin("OnlineRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.result!==null&&this.result!==undefined){output.writeFieldBegin("result",Thrift.Type.STRUCT,3);this.result.write(output);output.writeFieldEnd()}if(this.params!==null&&this.params!==undefined){output.writeFieldBegin("params",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.params));for(var kiter337 in this.params){if(this.params.hasOwnProperty(kiter337)){var viter338=this.params[kiter337];output.writeString(kiter337);output.writeString(viter338)}}output.writeMapEnd();output.writeFieldEnd()}if(this.onlineBeans!==null&&this.onlineBeans!==undefined){output.writeFieldBegin("onlineBeans",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.onlineBeans.length);for(var iter339 in this.onlineBeans){if(this.onlineBeans.hasOwnProperty(iter339)){iter339=this.onlineBeans[iter339];iter339.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.olBean!==null&&this.olBean!==undefined){output.writeFieldBegin("olBean",Thrift.Type.STRUCT,6);this.olBean.write(output);output.writeFieldEnd()}if(this.mapStrI64!==null&&this.mapStrI64!==undefined){output.writeFieldBegin("mapStrI64",Thrift.Type.MAP,7);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.I64,Thrift.objectLength(this.mapStrI64));for(var kiter340 in this.mapStrI64){if(this.mapStrI64.hasOwnProperty(kiter340)){var viter341=this.mapStrI64[kiter340];output.writeString(kiter340);output.writeI64(viter341)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};IosNParam=function IosNParam(args){this.type=null;this.count=null;this.appleID=null;this.token=null;this.deviceType=null;this.entUnread=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.count!==undefined&&args.count!==null){this.count=args.count}if(args.appleID!==undefined&&args.appleID!==null){this.appleID=args.appleID}if(args.token!==undefined&&args.token!==null){this.token=args.token}if(args.deviceType!==undefined&&args.deviceType!==null){this.deviceType=args.deviceType}if(args.entUnread!==undefined&&args.entUnread!==null){this.entUnread=Thrift.copyMap(args.entUnread,[null])}}};IosNParam.prototype={};IosNParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I32){this.count=input.readI32().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.appleID=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.token=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I32){this.deviceType=input.readI32().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.MAP){var _size342=0;var _rtmp3346;this.entUnread={};var _ktype343=0;var _vtype344=0;_rtmp3346=input.readMapBegin();_ktype343=_rtmp3346.ktype;_vtype344=_rtmp3346.vtype;_size342=_rtmp3346.size;for(var _i347=0;_i347<_size342;++_i347){if(_i347>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key348=null;var val349=null;key348=input.readString().value;val349=input.readI32().value;this.entUnread[key348]=val349}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};IosNParam.prototype.write=function(output){output.writeStructBegin("IosNParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.count!==null&&this.count!==undefined){output.writeFieldBegin("count",Thrift.Type.I32,2);output.writeI32(this.count);output.writeFieldEnd()}if(this.appleID!==null&&this.appleID!==undefined){output.writeFieldBegin("appleID",Thrift.Type.STRING,3);output.writeString(this.appleID);output.writeFieldEnd()}if(this.token!==null&&this.token!==undefined){output.writeFieldBegin("token",Thrift.Type.STRING,4);output.writeString(this.token);output.writeFieldEnd()}if(this.deviceType!==null&&this.deviceType!==undefined){output.writeFieldBegin("deviceType",Thrift.Type.I32,5);output.writeI32(this.deviceType);output.writeFieldEnd()}if(this.entUnread!==null&&this.entUnread!==undefined){output.writeFieldBegin("entUnread",Thrift.Type.MAP,6);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.I32,Thrift.objectLength(this.entUnread));for(var kiter350 in this.entUnread){if(this.entUnread.hasOwnProperty(kiter350)){var viter351=this.entUnread[kiter350];output.writeString(kiter350);output.writeI32(viter351)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};IosNRet=function IosNRet(args){this.code=null;this.what=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}}};IosNRet.prototype={};IosNRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};IosNRet.prototype.write=function(output){output.writeStructBegin("IosNRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetOrgUserResult=function GetOrgUserResult(args){this.code=null;this.what=null;this.users=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.users!==undefined&&args.users!==null){this.users=Thrift.copyList(args.users,[EnterpriseUserBean])}}};GetOrgUserResult.prototype={};GetOrgUserResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size352=0;var _rtmp3356;this.users=[];var _etype355=0;_rtmp3356=input.readListBegin();_etype355=_rtmp3356.etype;_size352=_rtmp3356.size;for(var _i357=0;_i357<_size352;++_i357){var elem358=null;elem358=new EnterpriseUserBean;elem358.read(input);this.users.push(elem358)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetOrgUserResult.prototype.write=function(output){output.writeStructBegin("GetOrgUserResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.users!==null&&this.users!==undefined){output.writeFieldBegin("users",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.users.length);for(var iter359 in this.users){if(this.users.hasOwnProperty(iter359)){iter359=this.users[iter359];iter359.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OrgUserAndChildNodes=function OrgUserAndChildNodes(args){this.code=null;this.what=null;this.users=null;this.obeans=null;this.oPower=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.users!==undefined&&args.users!==null){this.users=Thrift.copyList(args.users,[EnterpriseUserBean])}if(args.obeans!==undefined&&args.obeans!==null){this.obeans=Thrift.copyList(args.obeans,[OrganizationBean])}if(args.oPower!==undefined&&args.oPower!==null){this.oPower=args.oPower}}};OrgUserAndChildNodes.prototype={};OrgUserAndChildNodes.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size360=0;var _rtmp3364;this.users=[];var _etype363=0;_rtmp3364=input.readListBegin();_etype363=_rtmp3364.etype;_size360=_rtmp3364.size;for(var _i365=0;_i365<_size360;++_i365){var elem366=null;elem366=new EnterpriseUserBean;elem366.read(input);this.users.push(elem366)}input.readListEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size367=0;var _rtmp3371;this.obeans=[];var _etype370=0;_rtmp3371=input.readListBegin();_etype370=_rtmp3371.etype;_size367=_rtmp3371.size;for(var _i372=0;_i372<_size367;++_i372){var elem373=null;elem373=new OrganizationBean;elem373.read(input);this.obeans.push(elem373)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.oPower=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OrgUserAndChildNodes.prototype.write=function(output){output.writeStructBegin("OrgUserAndChildNodes");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.users!==null&&this.users!==undefined){output.writeFieldBegin("users",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.users.length);for(var iter374 in this.users){if(this.users.hasOwnProperty(iter374)){iter374=this.users[iter374];iter374.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.obeans!==null&&this.obeans!==undefined){output.writeFieldBegin("obeans",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.obeans.length);for(var iter375 in this.obeans){if(this.obeans.hasOwnProperty(iter375)){iter375=this.obeans[iter375];iter375.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.oPower!==null&&this.oPower!==undefined){output.writeFieldBegin("oPower",Thrift.Type.STRING,5);output.writeString(this.oPower);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};QueryPushCursorBean=function QueryPushCursorBean(args){this.items=null;if(args){if(args.items!==undefined&&args.items!==null){this.items=Thrift.copyList(args.items,[null])}}};QueryPushCursorBean.prototype={};QueryPushCursorBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.LIST){var _size376=0;var _rtmp3380;this.items=[];var _etype379=0;_rtmp3380=input.readListBegin();_etype379=_rtmp3380.etype;_size376=_rtmp3380.size;for(var _i381=0;_i381<_size376;++_i381){var elem382=null;elem382=input.readI64().value;this.items.push(elem382)}input.readListEnd()}else{input.skip(ftype)}break;case 0:input.skip(ftype);break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};QueryPushCursorBean.prototype.write=function(output){output.writeStructBegin("QueryPushCursorBean");if(this.items!==null&&this.items!==undefined){output.writeFieldBegin("items",Thrift.Type.LIST,1);output.writeListBegin(Thrift.Type.I64,this.items.length);for(var iter383 in this.items){if(this.items.hasOwnProperty(iter383)){iter383=this.items[iter383];output.writeI64(iter383)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UpdatePushCursorBean=function UpdatePushCursorBean(args){this.teamID=null;this.msgID=null;if(args){if(args.teamID!==undefined&&args.teamID!==null){this.teamID=args.teamID}if(args.msgID!==undefined&&args.msgID!==null){this.msgID=args.msgID}}};UpdatePushCursorBean.prototype={};UpdatePushCursorBean.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 2:if(ftype==Thrift.Type.I64){this.teamID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.msgID=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UpdatePushCursorBean.prototype.write=function(output){output.writeStructBegin("UpdatePushCursorBean");if(this.teamID!==null&&this.teamID!==undefined){output.writeFieldBegin("teamID",Thrift.Type.I64,2);output.writeI64(this.teamID);output.writeFieldEnd()}if(this.msgID!==null&&this.msgID!==undefined){output.writeFieldBegin("msgID",Thrift.Type.I64,3);output.writeI64(this.msgID);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetPushMsgCursorResult=function GetPushMsgCursorResult(args){this.code=null;this.what=null;this.cursors=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.cursors!==undefined&&args.cursors!==null){this.cursors=Thrift.copyList(args.cursors,[PushMsgCursor])}}};GetPushMsgCursorResult.prototype={};GetPushMsgCursorResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size384=0;var _rtmp3388;this.cursors=[];var _etype387=0;_rtmp3388=input.readListBegin();_etype387=_rtmp3388.etype;_size384=_rtmp3388.size;for(var _i389=0;_i389<_size384;++_i389){var elem390=null;elem390=new PushMsgCursor;elem390.read(input);this.cursors.push(elem390)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetPushMsgCursorResult.prototype.write=function(output){output.writeStructBegin("GetPushMsgCursorResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.cursors!==null&&this.cursors!==undefined){output.writeFieldBegin("cursors",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.cursors.length);for(var iter391 in this.cursors){if(this.cursors.hasOwnProperty(iter391)){iter391=this.cursors[iter391];iter391.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetPushMsgsResult=function GetPushMsgsResult(args){this.code=null;this.what=null;this.msgs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.msgs!==undefined&&args.msgs!==null){this.msgs=new PushMsgList(args.msgs)}}};GetPushMsgsResult.prototype={};GetPushMsgsResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.msgs=new PushMsgList;this.msgs.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetPushMsgsResult.prototype.write=function(output){output.writeStructBegin("GetPushMsgsResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.msgs!==null&&this.msgs!==undefined){output.writeFieldBegin("msgs",Thrift.Type.STRUCT,3);this.msgs.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetEntAppResult=function GetEntAppResult(args){this.code=null;this.what=null;this.applist=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.applist!==undefined&&args.applist!==null){this.applist=Thrift.copyList(args.applist,[SmallEntAppInfo])}}};GetEntAppResult.prototype={};GetEntAppResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size392=0;var _rtmp3396;this.applist=[];var _etype395=0;_rtmp3396=input.readListBegin();_etype395=_rtmp3396.etype;_size392=_rtmp3396.size;for(var _i397=0;_i397<_size392;++_i397){var elem398=null;elem398=new SmallEntAppInfo;elem398.read(input);this.applist.push(elem398)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetEntAppResult.prototype.write=function(output){output.writeStructBegin("GetEntAppResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.applist!==null&&this.applist!==undefined){output.writeFieldBegin("applist",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.applist.length);for(var iter399 in this.applist){if(this.applist.hasOwnProperty(iter399)){iter399=this.applist[iter399];iter399.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetAppInfoResult=function GetAppInfoResult(args){this.code=null;this.what=null;this.app=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.app!==undefined&&args.app!==null){this.app=new SmallEntAppInfo(args.app)}}};GetAppInfoResult.prototype={};GetAppInfoResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.app=new SmallEntAppInfo;this.app.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetAppInfoResult.prototype.write=function(output){output.writeStructBegin("GetAppInfoResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.app!==null&&this.app!==undefined){output.writeFieldBegin("app",Thrift.Type.STRUCT,3);this.app.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetBuddyOnlineResult=function GetBuddyOnlineResult(args){this.code=null;this.what=null;this.obs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.obs!==undefined&&args.obs!==null){this.obs=Thrift.copyList(args.obs,[OnlineBean])}}};GetBuddyOnlineResult.prototype={};GetBuddyOnlineResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size400=0;var _rtmp3404;this.obs=[];var _etype403=0;_rtmp3404=input.readListBegin();_etype403=_rtmp3404.etype;_size400=_rtmp3404.size;for(var _i405=0;_i405<_size400;++_i405){var elem406=null;elem406=new OnlineBean;elem406.read(input);this.obs.push(elem406)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetBuddyOnlineResult.prototype.write=function(output){output.writeStructBegin("GetBuddyOnlineResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.obs!==null&&this.obs!==undefined){output.writeFieldBegin("obs",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.obs.length);for(var iter407 in this.obs){if(this.obs.hasOwnProperty(iter407)){iter407=this.obs[iter407];iter407.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OnlineState=function OnlineState(args){this.flag=null;if(args){if(args.flag!==undefined&&args.flag!==null){this.flag=args.flag}}};OnlineState.prototype={};OnlineState.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.flag=input.readByte().value}else{input.skip(ftype)}break;case 0:input.skip(ftype);break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OnlineState.prototype.write=function(output){output.writeStructBegin("OnlineState");if(this.flag!==null&&this.flag!==undefined){output.writeFieldBegin("flag",Thrift.Type.BYTE,1);output.writeByte(this.flag);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};IosNoticeInfo=function IosNoticeInfo(args){this.token=null;this.receiveType=null;if(args){if(args.token!==undefined&&args.token!==null){this.token=args.token}if(args.receiveType!==undefined&&args.receiveType!==null){this.receiveType=args.receiveType}}};IosNoticeInfo.prototype={};IosNoticeInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRING){this.token=input.readString().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.receiveType=input.readByte().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};IosNoticeInfo.prototype.write=function(output){output.writeStructBegin("IosNoticeInfo");if(this.token!==null&&this.token!==undefined){output.writeFieldBegin("token",Thrift.Type.STRING,1);output.writeString(this.token);output.writeFieldEnd()}if(this.receiveType!==null&&this.receiveType!==undefined){output.writeFieldBegin("receiveType",Thrift.Type.BYTE,2);output.writeByte(this.receiveType);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};HiddenPWDResult=function HiddenPWDResult(args){this.code=null;this.what=null;this.timestamp=null;this.haccounts=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.timestamp!==undefined&&args.timestamp!==null){this.timestamp=args.timestamp}if(args.haccounts!==undefined&&args.haccounts!==null){this.haccounts=Thrift.copyMap(args.haccounts,[Thrift.copyList,null])}}};HiddenPWDResult.prototype={};HiddenPWDResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.timestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size408=0;var _rtmp3412;this.haccounts={};var _ktype409=0;var _vtype410=0;_rtmp3412=input.readMapBegin();_ktype409=_rtmp3412.ktype;_vtype410=_rtmp3412.vtype;_size408=_rtmp3412.size;for(var _i413=0;_i413<_size408;++_i413){if(_i413>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key414=null;var val415=null;key414=input.readString().value;var _size416=0;var _rtmp3420;val415=[];var _etype419=0;_rtmp3420=input.readListBegin();_etype419=_rtmp3420.etype;_size416=_rtmp3420.size;for(var _i421=0;_i421<_size416;++_i421){var elem422=null;elem422=input.readI64().value;val415.push(elem422)}input.readListEnd();this.haccounts[key414]=val415}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};HiddenPWDResult.prototype.write=function(output){output.writeStructBegin("HiddenPWDResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.timestamp!==null&&this.timestamp!==undefined){output.writeFieldBegin("timestamp",Thrift.Type.I64,3);output.writeI64(this.timestamp);output.writeFieldEnd()}if(this.haccounts!==null&&this.haccounts!==undefined){output.writeFieldBegin("haccounts",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.LIST,Thrift.objectLength(this.haccounts));for(var kiter423 in this.haccounts){if(this.haccounts.hasOwnProperty(kiter423)){var viter424=this.haccounts[kiter423];output.writeString(kiter423);output.writeListBegin(Thrift.Type.I64,viter424.length);for(var iter425 in viter424){if(viter424.hasOwnProperty(iter425)){iter425=viter424[iter425];output.writeI64(iter425)}}output.writeListEnd()}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};HiddenAccountInfo=function HiddenAccountInfo(args){this.targetID=null;this.sendMsgUserID=null;this.message=null;if(args){if(args.targetID!==undefined&&args.targetID!==null){this.targetID=args.targetID}if(args.sendMsgUserID!==undefined&&args.sendMsgUserID!==null){this.sendMsgUserID=args.sendMsgUserID}if(args.message!==undefined&&args.message!==null){this.message=args.message}}};HiddenAccountInfo.prototype={};HiddenAccountInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.targetID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.sendMsgUserID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.message=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};HiddenAccountInfo.prototype.write=function(output){output.writeStructBegin("HiddenAccountInfo");if(this.targetID!==null&&this.targetID!==undefined){output.writeFieldBegin("targetID",Thrift.Type.I64,1);output.writeI64(this.targetID);output.writeFieldEnd()}if(this.sendMsgUserID!==null&&this.sendMsgUserID!==undefined){output.writeFieldBegin("sendMsgUserID",Thrift.Type.I64,2);output.writeI64(this.sendMsgUserID);output.writeFieldEnd()}if(this.message!==null&&this.message!==undefined){output.writeFieldBegin("message",Thrift.Type.STRING,3);output.writeString(this.message);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};ErrorLogParam=function ErrorLogParam(args){this.clientType=null;this.errorLog=null;this.errorDesc=null;if(args){if(args.clientType!==undefined&&args.clientType!==null){this.clientType=args.clientType}if(args.errorLog!==undefined&&args.errorLog!==null){this.errorLog=args.errorLog}if(args.errorDesc!==undefined&&args.errorDesc!==null){this.errorDesc=args.errorDesc}}};ErrorLogParam.prototype={};ErrorLogParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.clientType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.errorLog=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.errorDesc=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};ErrorLogParam.prototype.write=function(output){output.writeStructBegin("ErrorLogParam");if(this.clientType!==null&&this.clientType!==undefined){output.writeFieldBegin("clientType",Thrift.Type.BYTE,1);output.writeByte(this.clientType);output.writeFieldEnd()}if(this.errorLog!==null&&this.errorLog!==undefined){output.writeFieldBegin("errorLog",Thrift.Type.STRING,2);output.writeString(this.errorLog);output.writeFieldEnd()}if(this.errorDesc!==null&&this.errorDesc!==undefined){output.writeFieldBegin("errorDesc",Thrift.Type.STRING,3);output.writeString(this.errorDesc);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OrgInfo=function OrgInfo(args){this.ob=null;this.ub=null;if(args){if(args.ob!==undefined&&args.ob!==null){this.ob=new OrganizationBean(args.ob)}if(args.ub!==undefined&&args.ub!==null){this.ub=Thrift.copyList(args.ub,[EnterpriseUserBean])}}};OrgInfo.prototype={};OrgInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRUCT){this.ob=new OrganizationBean;this.ob.read(input)}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.LIST){var _size426=0;var _rtmp3430;this.ub=[];var _etype429=0;_rtmp3430=input.readListBegin();_etype429=_rtmp3430.etype;_size426=_rtmp3430.size;for(var _i431=0;_i431<_size426;++_i431){var elem432=null;elem432=new EnterpriseUserBean;elem432.read(input);this.ub.push(elem432)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OrgInfo.prototype.write=function(output){output.writeStructBegin("OrgInfo");if(this.ob!==null&&this.ob!==undefined){output.writeFieldBegin("ob",Thrift.Type.STRUCT,1);this.ob.write(output);output.writeFieldEnd()}if(this.ub!==null&&this.ub!==undefined){output.writeFieldBegin("ub",Thrift.Type.LIST,2);output.writeListBegin(Thrift.Type.STRUCT,this.ub.length);for(var iter433 in this.ub){if(this.ub.hasOwnProperty(iter433)){iter433=this.ub[iter433];iter433.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OrgInfoResult=function OrgInfoResult(args){this.code=null;this.what=null;this.info=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.info!==undefined&&args.info!==null){this.info=new OrgInfo(args.info)}}};OrgInfoResult.prototype={};OrgInfoResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.info=new OrgInfo;this.info.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OrgInfoResult.prototype.write=function(output){output.writeStructBegin("OrgInfoResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.info!==null&&this.info!==undefined){output.writeFieldBegin("info",Thrift.Type.STRUCT,3);this.info.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OrgInfosResult=function OrgInfosResult(args){this.code=null;this.what=null;this.isOk=null;this.orginfos=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.isOk!==undefined&&args.isOk!==null){this.isOk=args.isOk}if(args.orginfos!==undefined&&args.orginfos!==null){this.orginfos=Thrift.copyList(args.orginfos,[OrgInfo])}}};OrgInfosResult.prototype={};OrgInfosResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.isOk=input.readByte().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size434=0;var _rtmp3438;this.orginfos=[];var _etype437=0;_rtmp3438=input.readListBegin();_etype437=_rtmp3438.etype;_size434=_rtmp3438.size;for(var _i439=0;_i439<_size434;++_i439){var elem440=null;elem440=new OrgInfo;elem440.read(input);this.orginfos.push(elem440)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OrgInfosResult.prototype.write=function(output){output.writeStructBegin("OrgInfosResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.isOk!==null&&this.isOk!==undefined){output.writeFieldBegin("isOk",Thrift.Type.BYTE,3);output.writeByte(this.isOk);output.writeFieldEnd()}if(this.orginfos!==null&&this.orginfos!==undefined){output.writeFieldBegin("orginfos",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.orginfos.length);for(var iter441 in this.orginfos){if(this.orginfos.hasOwnProperty(iter441)){iter441=this.orginfos[iter441];iter441.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AddGroupMemberInfo=function AddGroupMemberInfo(args){this.groupid=null;this.groupActive=null;this.members=null;if(args){if(args.groupid!==undefined&&args.groupid!==null){this.groupid=args.groupid}if(args.groupActive!==undefined&&args.groupActive!==null){this.groupActive=args.groupActive}if(args.members!==undefined&&args.members!==null){this.members=Thrift.copyList(args.members,[null])}}};AddGroupMemberInfo.prototype={};AddGroupMemberInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.groupid=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.groupActive=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size442=0;var _rtmp3446;this.members=[];var _etype445=0;_rtmp3446=input.readListBegin();_etype445=_rtmp3446.etype;_size442=_rtmp3446.size;for(var _i447=0;_i447<_size442;++_i447){var elem448=null;elem448=input.readI64().value;this.members.push(elem448)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AddGroupMemberInfo.prototype.write=function(output){output.writeStructBegin("AddGroupMemberInfo");if(this.groupid!==null&&this.groupid!==undefined){output.writeFieldBegin("groupid",Thrift.Type.I64,1);output.writeI64(this.groupid);output.writeFieldEnd()}if(this.groupActive!==null&&this.groupActive!==undefined){output.writeFieldBegin("groupActive",Thrift.Type.BYTE,2);output.writeByte(this.groupActive);output.writeFieldEnd()}if(this.members!==null&&this.members!==undefined){output.writeFieldBegin("members",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.I64,this.members.length);for(var iter449 in this.members){if(this.members.hasOwnProperty(iter449)){iter449=this.members[iter449];output.writeI64(iter449)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AddGroupMemberResult=function AddGroupMemberResult(args){this.code=null;this.what=null;this.groupPageTimeStampMap=null;this.groupTimeStampMap=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.groupPageTimeStampMap!==undefined&&args.groupPageTimeStampMap!==null){this.groupPageTimeStampMap=Thrift.copyMap(args.groupPageTimeStampMap,[null])}if(args.groupTimeStampMap!==undefined&&args.groupTimeStampMap!==null){this.groupTimeStampMap=Thrift.copyMap(args.groupTimeStampMap,[null])}}};AddGroupMemberResult.prototype={};AddGroupMemberResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size450=0;var _rtmp3454;this.groupPageTimeStampMap={};var _ktype451=0;var _vtype452=0;_rtmp3454=input.readMapBegin();_ktype451=_rtmp3454.ktype;_vtype452=_rtmp3454.vtype;_size450=_rtmp3454.size;for(var _i455=0;_i455<_size450;++_i455){if(_i455>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key456=null;var val457=null;key456=input.readI16().value;val457=input.readI64().value;this.groupPageTimeStampMap[key456]=val457}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size458=0;var _rtmp3462;this.groupTimeStampMap={};var _ktype459=0;var _vtype460=0;_rtmp3462=input.readMapBegin();_ktype459=_rtmp3462.ktype;_vtype460=_rtmp3462.vtype;_size458=_rtmp3462.size;for(var _i463=0;_i463<_size458;++_i463){if(_i463>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key464=null;var val465=null;key464=input.readI64().value;val465=input.readI64().value;this.groupTimeStampMap[key464]=val465}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AddGroupMemberResult.prototype.write=function(output){output.writeStructBegin("AddGroupMemberResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.groupPageTimeStampMap!==null&&this.groupPageTimeStampMap!==undefined){output.writeFieldBegin("groupPageTimeStampMap",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.groupPageTimeStampMap));for(var kiter466 in this.groupPageTimeStampMap){if(this.groupPageTimeStampMap.hasOwnProperty(kiter466)){var viter467=this.groupPageTimeStampMap[kiter466];output.writeI16(kiter466);output.writeI64(viter467)}}output.writeMapEnd();output.writeFieldEnd()}if(this.groupTimeStampMap!==null&&this.groupTimeStampMap!==undefined){output.writeFieldBegin("groupTimeStampMap",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.I64,Thrift.objectLength(this.groupTimeStampMap));for(var kiter468 in this.groupTimeStampMap){if(this.groupTimeStampMap.hasOwnProperty(kiter468)){var viter469=this.groupTimeStampMap[kiter468];output.writeI64(kiter468);output.writeI64(viter469)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};InterWorkingGetGroupResult=function InterWorkingGetGroupResult(args){this.code=null;this.what=null;this.oneGroup=null;this.results=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.oneGroup!==undefined&&args.oneGroup!==null){this.oneGroup=new GetGroupResult(args.oneGroup)}if(args.results!==undefined&&args.results!==null){this.results=Thrift.copyList(args.results,[GetGroupResult])}}};InterWorkingGetGroupResult.prototype={};InterWorkingGetGroupResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.oneGroup=new GetGroupResult;this.oneGroup.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size470=0;var _rtmp3474;this.results=[];var _etype473=0;_rtmp3474=input.readListBegin();_etype473=_rtmp3474.etype;_size470=_rtmp3474.size;for(var _i475=0;_i475<_size470;++_i475){var elem476=null;elem476=new GetGroupResult;elem476.read(input);this.results.push(elem476)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};InterWorkingGetGroupResult.prototype.write=function(output){output.writeStructBegin("InterWorkingGetGroupResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.oneGroup!==null&&this.oneGroup!==undefined){output.writeFieldBegin("oneGroup",Thrift.Type.STRUCT,3);this.oneGroup.write(output);output.writeFieldEnd()}if(this.results!==null&&this.results!==undefined){output.writeFieldBegin("results",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.results.length);for(var iter477 in this.results){if(this.results.hasOwnProperty(iter477)){iter477=this.results[iter477];iter477.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};InterWorkingGroupTimestamps=function InterWorkingGroupTimestamps(args){this.code=null;this.what=null;this.groupTimestamps=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.groupTimestamps!==undefined&&args.groupTimestamps!==null){this.groupTimestamps=Thrift.copyMap(args.groupTimestamps,[null])}}};InterWorkingGroupTimestamps.prototype={};InterWorkingGroupTimestamps.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size478=0;var _rtmp3482;this.groupTimestamps={};var _ktype479=0;var _vtype480=0;_rtmp3482=input.readMapBegin();_ktype479=_rtmp3482.ktype;_vtype480=_rtmp3482.vtype;_size478=_rtmp3482.size;for(var _i483=0;_i483<_size478;++_i483){if(_i483>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key484=null;var val485=null;key484=input.readI64().value;val485=input.readI64().value;this.groupTimestamps[key484]=val485}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};InterWorkingGroupTimestamps.prototype.write=function(output){output.writeStructBegin("InterWorkingGroupTimestamps");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.groupTimestamps!==null&&this.groupTimestamps!==undefined){output.writeFieldBegin("groupTimestamps",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.I64,Thrift.objectLength(this.groupTimestamps));for(var kiter486 in this.groupTimestamps){if(this.groupTimestamps.hasOwnProperty(kiter486)){var viter487=this.groupTimestamps[kiter486];output.writeI64(kiter486);output.writeI64(viter487)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OutsideGroupNotice=function OutsideGroupNotice(args){this.noticeType=null;this.noticeID=null;this.groupRefresh=null;this.groupMemberRefresh=null;this.groupResp=null;this.createTime=null;if(args){if(args.noticeType!==undefined&&args.noticeType!==null){this.noticeType=args.noticeType}if(args.noticeID!==undefined&&args.noticeID!==null){this.noticeID=args.noticeID}if(args.groupRefresh!==undefined&&args.groupRefresh!==null){this.groupRefresh=new GroupRefreshBean(args.groupRefresh)}if(args.groupMemberRefresh!==undefined&&args.groupMemberRefresh!==null){this.groupMemberRefresh=new GroupMembersRefreshBean(args.groupMemberRefresh)}if(args.groupResp!==undefined&&args.groupResp!==null){this.groupResp=new GroupRespBean(args.groupResp)}if(args.createTime!==undefined&&args.createTime!==null){this.createTime=args.createTime}}};OutsideGroupNotice.prototype={};OutsideGroupNotice.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.noticeType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.noticeID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.groupRefresh=new GroupRefreshBean;this.groupRefresh.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.groupMemberRefresh=new GroupMembersRefreshBean;this.groupMemberRefresh.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.groupResp=new GroupRespBean;this.groupResp.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.createTime=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OutsideGroupNotice.prototype.write=function(output){output.writeStructBegin("OutsideGroupNotice");if(this.noticeType!==null&&this.noticeType!==undefined){output.writeFieldBegin("noticeType",Thrift.Type.BYTE,1);output.writeByte(this.noticeType);output.writeFieldEnd()}if(this.noticeID!==null&&this.noticeID!==undefined){output.writeFieldBegin("noticeID",Thrift.Type.I64,2);output.writeI64(this.noticeID);output.writeFieldEnd()}if(this.groupRefresh!==null&&this.groupRefresh!==undefined){output.writeFieldBegin("groupRefresh",Thrift.Type.STRUCT,3);this.groupRefresh.write(output);output.writeFieldEnd()}if(this.groupMemberRefresh!==null&&this.groupMemberRefresh!==undefined){output.writeFieldBegin("groupMemberRefresh",Thrift.Type.STRUCT,4);this.groupMemberRefresh.write(output);output.writeFieldEnd()}if(this.groupResp!==null&&this.groupResp!==undefined){output.writeFieldBegin("groupResp",Thrift.Type.STRUCT,5);this.groupResp.write(output);output.writeFieldEnd()}if(this.createTime!==null&&this.createTime!==undefined){output.writeFieldBegin("createTime",Thrift.Type.I64,6);output.writeI64(this.createTime);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OutSideGroupNoticeResult=function OutSideGroupNoticeResult(args){this.code=null;this.what=null;this.notices=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.notices!==undefined&&args.notices!==null){this.notices=Thrift.copyList(args.notices,[OutsideGroupNotice])}}};OutSideGroupNoticeResult.prototype={};OutSideGroupNoticeResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size488=0;var _rtmp3492;this.notices=[];var _etype491=0;_rtmp3492=input.readListBegin();_etype491=_rtmp3492.etype;_size488=_rtmp3492.size;for(var _i493=0;_i493<_size488;++_i493){var elem494=null;elem494=new OutsideGroupNotice;elem494.read(input);this.notices.push(elem494)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OutSideGroupNoticeResult.prototype.write=function(output){output.writeStructBegin("OutSideGroupNoticeResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.notices!==null&&this.notices!==undefined){output.writeFieldBegin("notices",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.notices.length);for(var iter495 in this.notices){if(this.notices.hasOwnProperty(iter495)){iter495=this.notices[iter495];iter495.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OutSideEntInfo=function OutSideEntInfo(args){this.entID=null;this.serverInfo=null;this.entName=null;if(args){if(args.entID!==undefined&&args.entID!==null){this.entID=args.entID}if(args.serverInfo!==undefined&&args.serverInfo!==null){this.serverInfo=args.serverInfo}if(args.entName!==undefined&&args.entName!==null){this.entName=args.entName}}};OutSideEntInfo.prototype={};OutSideEntInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.entID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.serverInfo=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.entName=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OutSideEntInfo.prototype.write=function(output){output.writeStructBegin("OutSideEntInfo");if(this.entID!==null&&this.entID!==undefined){output.writeFieldBegin("entID",Thrift.Type.I64,1);output.writeI64(this.entID);output.writeFieldEnd()}if(this.serverInfo!==null&&this.serverInfo!==undefined){output.writeFieldBegin("serverInfo",Thrift.Type.STRING,2);output.writeString(this.serverInfo);output.writeFieldEnd()}if(this.entName!==null&&this.entName!==undefined){output.writeFieldBegin("entName",Thrift.Type.STRING,3);output.writeString(this.entName);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnterpriseImagelResult=function EnterpriseImagelResult(args){this.code=null;this.what=null;this.entInfos=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.entInfos!==undefined&&args.entInfos!==null){this.entInfos=Thrift.copyList(args.entInfos,[OutSideEntInfo])}}};EnterpriseImagelResult.prototype={};EnterpriseImagelResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size496=0;var _rtmp3500;this.entInfos=[];var _etype499=0;_rtmp3500=input.readListBegin();_etype499=_rtmp3500.etype;_size496=_rtmp3500.size;for(var _i501=0;_i501<_size496;++_i501){var elem502=null;elem502=new OutSideEntInfo;elem502.read(input);this.entInfos.push(elem502)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnterpriseImagelResult.prototype.write=function(output){output.writeStructBegin("EnterpriseImagelResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.entInfos!==null&&this.entInfos!==undefined){output.writeFieldBegin("entInfos",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.entInfos.length);for(var iter503 in this.entInfos){if(this.entInfos.hasOwnProperty(iter503)){iter503=this.entInfos[iter503];iter503.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AuthenticationParam=function AuthenticationParam(args){this.userType=null;this.operation=null;this.user=null;this.lang=null;if(args){if(args.userType!==undefined&&args.userType!==null){this.userType=args.userType}if(args.operation!==undefined&&args.operation!==null){this.operation=args.operation}if(args.user!==undefined&&args.user!==null){this.user=args.user}if(args.lang!==undefined&&args.lang!==null){this.lang=args.lang}}};AuthenticationParam.prototype={};AuthenticationParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.userType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.operation=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.user=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.lang=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AuthenticationParam.prototype.write=function(output){output.writeStructBegin("AuthenticationParam");if(this.userType!==null&&this.userType!==undefined){output.writeFieldBegin("userType",Thrift.Type.BYTE,1);output.writeByte(this.userType);output.writeFieldEnd()}if(this.operation!==null&&this.operation!==undefined){output.writeFieldBegin("operation",Thrift.Type.BYTE,2);output.writeByte(this.operation);output.writeFieldEnd()}if(this.user!==null&&this.user!==undefined){output.writeFieldBegin("user",Thrift.Type.STRING,3);output.writeString(this.user);output.writeFieldEnd()}if(this.lang!==null&&this.lang!==undefined){output.writeFieldBegin("lang",Thrift.Type.STRING,4);output.writeString(this.lang);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AuthenticationResult=function AuthenticationResult(args){this.code=null;this.what=null;this.reregistryTimeout=null;this.registryID=null;this.sendNumber=null;this.nation=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.reregistryTimeout!==undefined&&args.reregistryTimeout!==null){this.reregistryTimeout=args.reregistryTimeout}if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.sendNumber!==undefined&&args.sendNumber!==null){this.sendNumber=args.sendNumber}if(args.nation!==undefined&&args.nation!==null){this.nation=args.nation}}};AuthenticationResult.prototype={};AuthenticationResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I32){this.reregistryTimeout=input.readI32().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.sendNumber=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.nation=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AuthenticationResult.prototype.write=function(output){output.writeStructBegin("AuthenticationResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.reregistryTimeout!==null&&this.reregistryTimeout!==undefined){output.writeFieldBegin("reregistryTimeout",Thrift.Type.I32,3);output.writeI32(this.reregistryTimeout);output.writeFieldEnd()}if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,4);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.sendNumber!==null&&this.sendNumber!==undefined){output.writeFieldBegin("sendNumber",Thrift.Type.STRING,5);output.writeString(this.sendNumber);output.writeFieldEnd()}if(this.nation!==null&&this.nation!==undefined){output.writeFieldBegin("nation",Thrift.Type.STRING,6);output.writeString(this.nation);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};AuthenticationServerCode=function AuthenticationServerCode(args){this.operation=null;this.registryID=null;this.sdkid=null;this.code=null;if(args){if(args.operation!==undefined&&args.operation!==null){this.operation=args.operation}if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.code!==undefined&&args.code!==null){this.code=args.code}}};AuthenticationServerCode.prototype={};AuthenticationServerCode.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.operation=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.code=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};AuthenticationServerCode.prototype.write=function(output){output.writeStructBegin("AuthenticationServerCode");if(this.operation!==null&&this.operation!==undefined){output.writeFieldBegin("operation",Thrift.Type.BYTE,1);output.writeByte(this.operation);output.writeFieldEnd()}if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,2);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,3);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.STRING,4);output.writeString(this.code);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UserAccountOperate=function UserAccountOperate(args){this.operation=null;this.registryID=null;this.code=null;if(args){if(args.operation!==undefined&&args.operation!==null){this.operation=args.operation}if(args.registryID!==undefined&&args.registryID!==null){this.registryID=args.registryID}if(args.code!==undefined&&args.code!==null){this.code=args.code}}};UserAccountOperate.prototype={};UserAccountOperate.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.operation=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.registryID=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.code=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UserAccountOperate.prototype.write=function(output){output.writeStructBegin("UserAccountOperate");if(this.operation!==null&&this.operation!==undefined){output.writeFieldBegin("operation",Thrift.Type.BYTE,1);output.writeByte(this.operation);output.writeFieldEnd()}if(this.registryID!==null&&this.registryID!==undefined){output.writeFieldBegin("registryID",Thrift.Type.I64,2);output.writeI64(this.registryID);output.writeFieldEnd()}if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.STRING,3);output.writeString(this.code);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupFileQueryResult=function GroupFileQueryResult(args){this.code=null;this.what=null;this.files=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.files!==undefined&&args.files!==null){this.files=Thrift.copyList(args.files,[GroupFile])}}};GroupFileQueryResult.prototype={};GroupFileQueryResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size504=0;var _rtmp3508;this.files=[];var _etype507=0;_rtmp3508=input.readListBegin();_etype507=_rtmp3508.etype;_size504=_rtmp3508.size;for(var _i509=0;_i509<_size504;++_i509){var elem510=null;elem510=new GroupFile;elem510.read(input);this.files.push(elem510)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupFileQueryResult.prototype.write=function(output){output.writeStructBegin("GroupFileQueryResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.files!==null&&this.files!==undefined){output.writeFieldBegin("files",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.files.length);for(var iter511 in this.files){if(this.files.hasOwnProperty(iter511)){iter511=this.files[iter511];iter511.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CommonSettingServerResult=function CommonSettingServerResult(args){this.code=null;this.what=null;this.mode_=null;this.sw_=null;this.dataSw_=null;this.listOrgConfigs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.mode_!==undefined&&args.mode_!==null){this.mode_=new NoDisturbMode(args.mode_)}if(args.sw_!==undefined&&args.sw_!==null){this.sw_=new UserToTargetSwitch(args.sw_)}if(args.dataSw_!==undefined&&args.dataSw_!==null){this.dataSw_=Thrift.copyList(args.dataSw_,[PersonalDataSwitch])}if(args.listOrgConfigs!==undefined&&args.listOrgConfigs!==null){this.listOrgConfigs=Thrift.copyList(args.listOrgConfigs,[OrgOpenConfig])}}};CommonSettingServerResult.prototype={};CommonSettingServerResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.mode_=new NoDisturbMode;this.mode_.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.sw_=new UserToTargetSwitch;this.sw_.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size512=0;var _rtmp3516;this.dataSw_=[];var _etype515=0;_rtmp3516=input.readListBegin();_etype515=_rtmp3516.etype;_size512=_rtmp3516.size;for(var _i517=0;_i517<_size512;++_i517){var elem518=null;elem518=new PersonalDataSwitch;elem518.read(input);this.dataSw_.push(elem518)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size519=0;var _rtmp3523;this.listOrgConfigs=[];var _etype522=0;_rtmp3523=input.readListBegin();_etype522=_rtmp3523.etype;_size519=_rtmp3523.size;for(var _i524=0;_i524<_size519;++_i524){var elem525=null;elem525=new OrgOpenConfig;elem525.read(input);this.listOrgConfigs.push(elem525)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CommonSettingServerResult.prototype.write=function(output){output.writeStructBegin("CommonSettingServerResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.mode_!==null&&this.mode_!==undefined){output.writeFieldBegin("mode_",Thrift.Type.STRUCT,3);this.mode_.write(output);output.writeFieldEnd()}if(this.sw_!==null&&this.sw_!==undefined){output.writeFieldBegin("sw_",Thrift.Type.STRUCT,4);this.sw_.write(output);output.writeFieldEnd()}if(this.dataSw_!==null&&this.dataSw_!==undefined){output.writeFieldBegin("dataSw_",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.dataSw_.length);for(var iter526 in this.dataSw_){if(this.dataSw_.hasOwnProperty(iter526)){iter526=this.dataSw_[iter526];iter526.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.listOrgConfigs!==null&&this.listOrgConfigs!==undefined){output.writeFieldBegin("listOrgConfigs",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.STRUCT,this.listOrgConfigs.length);for(var iter527 in this.listOrgConfigs){if(this.listOrgConfigs.hasOwnProperty(iter527)){iter527=this.listOrgConfigs[iter527];iter527.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CommonContainerResult=function CommonContainerResult(args){this.code=null;this.what=null;this.listValue64=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.listValue64!==undefined&&args.listValue64!==null){this.listValue64=Thrift.copyList(args.listValue64,[null])}}};CommonContainerResult.prototype={};CommonContainerResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size528=0;var _rtmp3532;this.listValue64=[];var _etype531=0;_rtmp3532=input.readListBegin();_etype531=_rtmp3532.etype;_size528=_rtmp3532.size;for(var _i533=0;_i533<_size528;++_i533){var elem534=null;elem534=input.readI64().value;this.listValue64.push(elem534)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CommonContainerResult.prototype.write=function(output){output.writeStructBegin("CommonContainerResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.listValue64!==null&&this.listValue64!==undefined){output.writeFieldBegin("listValue64",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.I64,this.listValue64.length);for(var iter535 in this.listValue64){if(this.listValue64.hasOwnProperty(iter535)){iter535=this.listValue64[iter535];output.writeI64(iter535)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CommonDataResult=function CommonDataResult(args){this.code=null;this.what=null;this.value_byte=null;this.value_i16=null;this.value_i32=null;this.value_i64=null;this.value_str=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value_byte!==undefined&&args.value_byte!==null){this.value_byte=args.value_byte}if(args.value_i16!==undefined&&args.value_i16!==null){this.value_i16=args.value_i16}if(args.value_i32!==undefined&&args.value_i32!==null){this.value_i32=args.value_i32}if(args.value_i64!==undefined&&args.value_i64!==null){this.value_i64=args.value_i64}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}}};CommonDataResult.prototype={};CommonDataResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BYTE){this.value_byte=input.readByte().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I16){this.value_i16=input.readI16().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I32){this.value_i32=input.readI32().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.I64){this.value_i64=input.readI64().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CommonDataResult.prototype.write=function(output){output.writeStructBegin("CommonDataResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value_byte!==null&&this.value_byte!==undefined){output.writeFieldBegin("value_byte",Thrift.Type.BYTE,3);output.writeByte(this.value_byte);output.writeFieldEnd()}if(this.value_i16!==null&&this.value_i16!==undefined){output.writeFieldBegin("value_i16",Thrift.Type.I16,4);output.writeI16(this.value_i16);output.writeFieldEnd()}if(this.value_i32!==null&&this.value_i32!==undefined){output.writeFieldBegin("value_i32",Thrift.Type.I32,5);output.writeI32(this.value_i32);output.writeFieldEnd()}if(this.value_i64!==null&&this.value_i64!==undefined){output.writeFieldBegin("value_i64",Thrift.Type.I64,6);output.writeI64(this.value_i64);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,7);output.writeString(this.value_str);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};BuddyVerifyBoxResult=function BuddyVerifyBoxResult(args){this.code=null;this.what=null;this.timestamp=null;this.reqBean=null;this.resBean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.timestamp!==undefined&&args.timestamp!==null){this.timestamp=args.timestamp}if(args.reqBean!==undefined&&args.reqBean!==null){this.reqBean=Thrift.copyList(args.reqBean,[BuddyReqBean])}if(args.resBean!==undefined&&args.resBean!==null){this.resBean=Thrift.copyList(args.resBean,[BuddyRespBean])}}};BuddyVerifyBoxResult.prototype={};BuddyVerifyBoxResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.timestamp=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size536=0;var _rtmp3540;this.reqBean=[];var _etype539=0;_rtmp3540=input.readListBegin();_etype539=_rtmp3540.etype;_size536=_rtmp3540.size;for(var _i541=0;_i541<_size536;++_i541){var elem542=null;elem542=new BuddyReqBean;elem542.read(input);this.reqBean.push(elem542)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size543=0;var _rtmp3547;this.resBean=[];var _etype546=0;_rtmp3547=input.readListBegin();_etype546=_rtmp3547.etype;_size543=_rtmp3547.size;for(var _i548=0;_i548<_size543;++_i548){var elem549=null;elem549=new BuddyRespBean;elem549.read(input);this.resBean.push(elem549)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};BuddyVerifyBoxResult.prototype.write=function(output){output.writeStructBegin("BuddyVerifyBoxResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.timestamp!==null&&this.timestamp!==undefined){output.writeFieldBegin("timestamp",Thrift.Type.I64,3);output.writeI64(this.timestamp);output.writeFieldEnd()}if(this.reqBean!==null&&this.reqBean!==undefined){output.writeFieldBegin("reqBean",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.reqBean.length);for(var iter550 in this.reqBean){if(this.reqBean.hasOwnProperty(iter550)){iter550=this.reqBean[iter550];iter550.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.resBean!==null&&this.resBean!==undefined){output.writeFieldBegin("resBean",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.resBean.length);for(var iter551 in this.resBean){if(this.resBean.hasOwnProperty(iter551)){iter551=this.resBean[iter551];iter551.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CommonListResult=function CommonListResult(args){this.code=null;this.what=null;this.list_i64=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.list_i64!==undefined&&args.list_i64!==null){this.list_i64=Thrift.copyList(args.list_i64,[null])}}};CommonListResult.prototype={};CommonListResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size552=0;var _rtmp3556;this.list_i64=[];var _etype555=0;_rtmp3556=input.readListBegin();_etype555=_rtmp3556.etype;_size552=_rtmp3556.size;for(var _i557=0;_i557<_size552;++_i557){var elem558=null;elem558=input.readI64().value;this.list_i64.push(elem558)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CommonListResult.prototype.write=function(output){output.writeStructBegin("CommonListResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.list_i64!==null&&this.list_i64!==undefined){output.writeFieldBegin("list_i64",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.I64,this.list_i64.length);for(var iter559 in this.list_i64){if(this.list_i64.hasOwnProperty(iter559)){iter559=this.list_i64[iter559];output.writeI64(iter559)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CommonMapResult=function CommonMapResult(args){this.code=null;this.what=null;this.map_i16_i64=null;this.map_i64_i64=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.map_i16_i64!==undefined&&args.map_i16_i64!==null){this.map_i16_i64=Thrift.copyMap(args.map_i16_i64,[null])}if(args.map_i64_i64!==undefined&&args.map_i64_i64!==null){this.map_i64_i64=Thrift.copyMap(args.map_i64_i64,[null])}}};CommonMapResult.prototype={};CommonMapResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size560=0;var _rtmp3564;this.map_i16_i64={};var _ktype561=0;var _vtype562=0;_rtmp3564=input.readMapBegin();_ktype561=_rtmp3564.ktype;_vtype562=_rtmp3564.vtype;_size560=_rtmp3564.size;for(var _i565=0;_i565<_size560;++_i565){if(_i565>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key566=null;var val567=null;key566=input.readI16().value;val567=input.readI64().value;this.map_i16_i64[key566]=val567}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size568=0;var _rtmp3572;this.map_i64_i64={};var _ktype569=0;var _vtype570=0;_rtmp3572=input.readMapBegin();_ktype569=_rtmp3572.ktype;_vtype570=_rtmp3572.vtype;_size568=_rtmp3572.size;for(var _i573=0;_i573<_size568;++_i573){if(_i573>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key574=null;var val575=null;key574=input.readI64().value;val575=input.readI64().value;this.map_i64_i64[key574]=val575}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CommonMapResult.prototype.write=function(output){output.writeStructBegin("CommonMapResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.map_i16_i64!==null&&this.map_i16_i64!==undefined){output.writeFieldBegin("map_i16_i64",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.map_i16_i64));for(var kiter576 in this.map_i16_i64){if(this.map_i16_i64.hasOwnProperty(kiter576)){var viter577=this.map_i16_i64[kiter576];output.writeI16(kiter576);output.writeI64(viter577)}}output.writeMapEnd();output.writeFieldEnd()}if(this.map_i64_i64!==null&&this.map_i64_i64!==undefined){output.writeFieldBegin("map_i64_i64",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.I64,Thrift.objectLength(this.map_i64_i64));for(var kiter578 in this.map_i64_i64){if(this.map_i64_i64.hasOwnProperty(kiter578)){var viter579=this.map_i64_i64[kiter578];output.writeI64(kiter578);output.writeI64(viter579)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PersonDataSwitchParam=function PersonDataSwitchParam(args){this.userID=null;this.switchType=null;if(args){if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.switchType!==undefined&&args.switchType!==null){this.switchType=args.switchType}}};PersonDataSwitchParam.prototype={};PersonDataSwitchParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.switchType=input.readByte().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PersonDataSwitchParam.prototype.write=function(output){output.writeStructBegin("PersonDataSwitchParam");if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,1);output.writeI64(this.userID);output.writeFieldEnd()}if(this.switchType!==null&&this.switchType!==undefined){output.writeFieldBegin("switchType",Thrift.Type.BYTE,2);output.writeByte(this.switchType);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PersonDefinitionParam=function PersonDefinitionParam(args){this.userID=null;this.info=null;if(args){if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.info!==undefined&&args.info!==null){this.info=new PersonDefinition(args.info)}}};PersonDefinitionParam.prototype={};PersonDefinitionParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.info=new PersonDefinition;this.info.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PersonDefinitionParam.prototype.write=function(output){output.writeStructBegin("PersonDefinitionParam");if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,1);output.writeI64(this.userID);output.writeFieldEnd()}if(this.info!==null&&this.info!==undefined){output.writeFieldBegin("info",Thrift.Type.STRUCT,2);this.info.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetPersonDefinitionResult=function GetPersonDefinitionResult(args){this.code=null;this.what=null;this.infos=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.infos!==undefined&&args.infos!==null){this.infos=Thrift.copyList(args.infos,[PersonDefinition])}}};GetPersonDefinitionResult.prototype={};GetPersonDefinitionResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size580=0;var _rtmp3584;this.infos=[];var _etype583=0;_rtmp3584=input.readListBegin();_etype583=_rtmp3584.etype;_size580=_rtmp3584.size;for(var _i585=0;_i585<_size580;++_i585){var elem586=null;elem586=new PersonDefinition;elem586.read(input);this.infos.push(elem586)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetPersonDefinitionResult.prototype.write=function(output){output.writeStructBegin("GetPersonDefinitionResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.infos!==null&&this.infos!==undefined){output.writeFieldBegin("infos",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.infos.length);for(var iter587 in this.infos){if(this.infos.hasOwnProperty(iter587)){iter587=this.infos[iter587];iter587.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SettingList=function SettingList(args){this.addType=null;this.id=null;if(args){if(args.addType!==undefined&&args.addType!==null){this.addType=args.addType}if(args.id!==undefined&&args.id!==null){this.id=args.id}}};SettingList.prototype={};SettingList.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.addType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.id=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SettingList.prototype.write=function(output){output.writeStructBegin("SettingList");if(this.addType!==null&&this.addType!==undefined){output.writeFieldBegin("addType",Thrift.Type.BYTE,1);output.writeByte(this.addType);output.writeFieldEnd()}if(this.id!==null&&this.id!==undefined){output.writeFieldBegin("id",Thrift.Type.I64,2);output.writeI64(this.id);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};QueryEnUserListResult=function QueryEnUserListResult(args){this.code=null;this.what=null;this.es=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.es!==undefined&&args.es!==null){this.es=new EnUserStruct(args.es)}}};QueryEnUserListResult.prototype={};QueryEnUserListResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.es=new EnUserStruct;this.es.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};QueryEnUserListResult.prototype.write=function(output){output.writeStructBegin("QueryEnUserListResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.es!==null&&this.es!==undefined){output.writeFieldBegin("es",Thrift.Type.STRUCT,3);this.es.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PasswordStipulate=function PasswordStipulate(args){this.code=null;this.what=null;this.stipulate=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.stipulate!==undefined&&args.stipulate!==null){this.stipulate=args.stipulate}}};PasswordStipulate.prototype={};PasswordStipulate.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I16){this.stipulate=input.readI16().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PasswordStipulate.prototype.write=function(output){output.writeStructBegin("PasswordStipulate");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.stipulate!==null&&this.stipulate!==undefined){output.writeFieldBegin("stipulate",Thrift.Type.I16,3);output.writeI16(this.stipulate);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UrlContentResult=function UrlContentResult(args){this.url=null;this.title=null;this.img=null;this.des=null;if(args){if(args.url!==undefined&&args.url!==null){this.url=args.url}if(args.title!==undefined&&args.title!==null){this.title=args.title}if(args.img!==undefined&&args.img!==null){this.img=args.img}if(args.des!==undefined&&args.des!==null){this.des=args.des}}};UrlContentResult.prototype={};UrlContentResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRING){this.url=input.readString().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.title=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.img=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.des=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UrlContentResult.prototype.write=function(output){output.writeStructBegin("UrlContentResult");if(this.url!==null&&this.url!==undefined){output.writeFieldBegin("url",Thrift.Type.STRING,1);output.writeString(this.url);output.writeFieldEnd()}if(this.title!==null&&this.title!==undefined){output.writeFieldBegin("title",Thrift.Type.STRING,2);output.writeString(this.title);output.writeFieldEnd()}if(this.img!==null&&this.img!==undefined){output.writeFieldBegin("img",Thrift.Type.STRING,3);output.writeString(this.img);output.writeFieldEnd()}if(this.des!==null&&this.des!==undefined){output.writeFieldBegin("des",Thrift.Type.STRING,4);output.writeString(this.des);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};WebUrlInfoResult=function WebUrlInfoResult(args){this.code=null;this.what=null;this.urlinfo=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.urlinfo!==undefined&&args.urlinfo!==null){this.urlinfo=new UrlContentResult(args.urlinfo)}}};WebUrlInfoResult.prototype={};WebUrlInfoResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.urlinfo=new UrlContentResult;this.urlinfo.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};WebUrlInfoResult.prototype.write=function(output){output.writeStructBegin("WebUrlInfoResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.urlinfo!==null&&this.urlinfo!==undefined){output.writeFieldBegin("urlinfo",Thrift.Type.STRUCT,3);this.urlinfo.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};IOSAppClearMsgInfo=function IOSAppClearMsgInfo(args){this.count=null;this.appid=null;this.token=null;if(args){if(args.count!==undefined&&args.count!==null){this.count=args.count}if(args.appid!==undefined&&args.appid!==null){this.appid=args.appid}if(args.token!==undefined&&args.token!==null){this.token=args.token}}};IOSAppClearMsgInfo.prototype={};IOSAppClearMsgInfo.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.count=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.appid=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.token=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};IOSAppClearMsgInfo.prototype.write=function(output){output.writeStructBegin("IOSAppClearMsgInfo");if(this.count!==null&&this.count!==undefined){output.writeFieldBegin("count",Thrift.Type.I32,1);output.writeI32(this.count);output.writeFieldEnd()}if(this.appid!==null&&this.appid!==undefined){output.writeFieldBegin("appid",Thrift.Type.I64,2);output.writeI64(this.appid);output.writeFieldEnd()}if(this.token!==null&&this.token!==undefined){output.writeFieldBegin("token",Thrift.Type.STRING,3);output.writeString(this.token);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};getEnUserbyUserIDResult=function getEnUserbyUserIDResult(args){this.code=null;this.what=null;this.listEnUserBean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.listEnUserBean!==undefined&&args.listEnUserBean!==null){this.listEnUserBean=Thrift.copyList(args.listEnUserBean,[EnterpriseUserBean])}}};getEnUserbyUserIDResult.prototype={};getEnUserbyUserIDResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size588=0;var _rtmp3592;this.listEnUserBean=[];var _etype591=0;_rtmp3592=input.readListBegin();_etype591=_rtmp3592.etype;_size588=_rtmp3592.size;for(var _i593=0;_i593<_size588;++_i593){var elem594=null;elem594=new EnterpriseUserBean;elem594.read(input);this.listEnUserBean.push(elem594)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};getEnUserbyUserIDResult.prototype.write=function(output){output.writeStructBegin("getEnUserbyUserIDResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.listEnUserBean!==null&&this.listEnUserBean!==undefined){output.writeFieldBegin("listEnUserBean",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.listEnUserBean.length);for(var iter595 in this.listEnUserBean){if(this.listEnUserBean.hasOwnProperty(iter595)){iter595=this.listEnUserBean[iter595];iter595.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UserSence=function UserSence(args){this.userID=null;this.clientScene=null;this.targetID=null;this.SDKID=null;if(args){if(args.userID!==undefined&&args.userID!==null){this.userID=args.userID}if(args.clientScene!==undefined&&args.clientScene!==null){this.clientScene=args.clientScene}if(args.targetID!==undefined&&args.targetID!==null){this.targetID=args.targetID}if(args.SDKID!==undefined&&args.SDKID!==null){this.SDKID=args.SDKID}}};UserSence.prototype={};UserSence.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.userID=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.clientScene=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.targetID=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.SDKID=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UserSence.prototype.write=function(output){output.writeStructBegin("UserSence");if(this.userID!==null&&this.userID!==undefined){output.writeFieldBegin("userID",Thrift.Type.I64,1);output.writeI64(this.userID);output.writeFieldEnd()}if(this.clientScene!==null&&this.clientScene!==undefined){output.writeFieldBegin("clientScene",Thrift.Type.BYTE,2);output.writeByte(this.clientScene);output.writeFieldEnd()}if(this.targetID!==null&&this.targetID!==undefined){output.writeFieldBegin("targetID",Thrift.Type.I64,3);output.writeI64(this.targetID);output.writeFieldEnd()}if(this.SDKID!==null&&this.SDKID!==undefined){output.writeFieldBegin("SDKID",Thrift.Type.I64,4);output.writeI64(this.SDKID);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};FuSSParam=function FuSSParam(args){this.type=null;this.gsp=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.gsp!==undefined&&args.gsp!==null){this.gsp=new GroupSearchParam(args.gsp)}}};FuSSParam.prototype={};FuSSParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.gsp=new GroupSearchParam;this.gsp.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};FuSSParam.prototype.write=function(output){output.writeStructBegin("FuSSParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.gsp!==null&&this.gsp!==undefined){output.writeFieldBegin("gsp",Thrift.Type.STRUCT,2);this.gsp.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};FuSRet=function FuSRet(args){this.code=null;this.what=null;this.value64=null;this.gp=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.gp!==undefined&&args.gp!==null){this.gp=new GroupPage(args.gp)}}};FuSRet.prototype={};FuSRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.gp=new GroupPage;this.gp.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};FuSRet.prototype.write=function(output){output.writeStructBegin("FuSRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,3);output.writeI64(this.value64);output.writeFieldEnd()}if(this.gp!==null&&this.gp!==undefined){output.writeFieldBegin("gp",Thrift.Type.STRUCT,4);this.gp.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SettingSParam=function SettingSParam(args){this.type=null;this.value64=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}}};SettingSParam.prototype={};SettingSParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SettingSParam.prototype.write=function(output){output.writeStructBegin("SettingSParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,2);output.writeI64(this.value64);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SettingRet=function SettingRet(args){this.code=null;this.what=null;this.mapKsVs=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.mapKsVs!==undefined&&args.mapKsVs!==null){this.mapKsVs=Thrift.copyMap(args.mapKsVs,[null])}}};SettingRet.prototype={};SettingRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size596=0;var _rtmp3600;this.mapKsVs={};var _ktype597=0;var _vtype598=0;_rtmp3600=input.readMapBegin();_ktype597=_rtmp3600.ktype;_vtype598=_rtmp3600.vtype;_size596=_rtmp3600.size;for(var _i601=0;_i601<_size596;++_i601){if(_i601>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key602=null;var val603=null;key602=input.readString().value;val603=input.readString().value;this.mapKsVs[key602]=val603}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SettingRet.prototype.write=function(output){output.writeStructBegin("SettingRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.mapKsVs!==null&&this.mapKsVs!==undefined){output.writeFieldBegin("mapKsVs",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.mapKsVs));for(var kiter604 in this.mapKsVs){if(this.mapKsVs.hasOwnProperty(kiter604)){var viter605=this.mapKsVs[kiter604];output.writeString(kiter604);output.writeString(viter605)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnDParam=function EnDParam(args){this.type=null;this.wheremap=null;this.listids=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.wheremap!==undefined&&args.wheremap!==null){this.wheremap=Thrift.copyMap(args.wheremap,[null])}if(args.listids!==undefined&&args.listids!==null){this.listids=Thrift.copyList(args.listids,[null])}}};EnDParam.prototype={};EnDParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.MAP){var _size606=0;var _rtmp3610;this.wheremap={};var _ktype607=0;var _vtype608=0;_rtmp3610=input.readMapBegin();_ktype607=_rtmp3610.ktype;_vtype608=_rtmp3610.vtype;_size606=_rtmp3610.size;for(var _i611=0;_i611<_size606;++_i611){if(_i611>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key612=null;var val613=null;key612=input.readString().value;val613=input.readString().value;this.wheremap[key612]=val613}input.readMapEnd()}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size614=0;var _rtmp3618;this.listids=[];var _etype617=0;_rtmp3618=input.readListBegin();_etype617=_rtmp3618.etype;_size614=_rtmp3618.size;for(var _i619=0;_i619<_size614;++_i619){var elem620=null;elem620=input.readI32().value;this.listids.push(elem620)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnDParam.prototype.write=function(output){output.writeStructBegin("EnDParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.wheremap!==null&&this.wheremap!==undefined){output.writeFieldBegin("wheremap",Thrift.Type.MAP,2);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.wheremap));for(var kiter621 in this.wheremap){if(this.wheremap.hasOwnProperty(kiter621)){var viter622=this.wheremap[kiter621];output.writeString(kiter621);output.writeString(viter622)}}output.writeMapEnd();output.writeFieldEnd()}if(this.listids!==null&&this.listids!==undefined){output.writeFieldBegin("listids",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.I32,this.listids.length);for(var iter623 in this.listids){if(this.listids.hasOwnProperty(iter623)){iter623=this.listids[iter623];output.writeI32(iter623)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnDRet=function EnDRet(args){this.code=null;this.what=null;this.listEnDic=null;this.wbbPage=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.listEnDic!==undefined&&args.listEnDic!==null){this.listEnDic=Thrift.copyList(args.listEnDic,[EnterpriseDictionary])}if(args.wbbPage!==undefined&&args.wbbPage!==null){this.wbbPage=new WorkBenchBannerPage(args.wbbPage)}}};EnDRet.prototype={};EnDRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size624=0;var _rtmp3628;this.listEnDic=[];var _etype627=0;_rtmp3628=input.readListBegin();_etype627=_rtmp3628.etype;_size624=_rtmp3628.size;for(var _i629=0;_i629<_size624;++_i629){var elem630=null;elem630=new EnterpriseDictionary;elem630.read(input);this.listEnDic.push(elem630)}input.readListEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.wbbPage=new WorkBenchBannerPage;this.wbbPage.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnDRet.prototype.write=function(output){output.writeStructBegin("EnDRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.listEnDic!==null&&this.listEnDic!==undefined){output.writeFieldBegin("listEnDic",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.listEnDic.length);for(var iter631 in this.listEnDic){if(this.listEnDic.hasOwnProperty(iter631)){iter631=this.listEnDic[iter631];iter631.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.wbbPage!==null&&this.wbbPage!==undefined){output.writeFieldBegin("wbbPage",Thrift.Type.STRUCT,4);this.wbbPage.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LBSParam=function LBSParam(args){this.type=null;this.value64_1=null;this.value64_2=null;this.value_str_1=null;this.value_str_2=null;this.value64_list_1=null;this.faceJoinGroup=null;this.groupInfo=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.value_str_2!==undefined&&args.value_str_2!==null){this.value_str_2=args.value_str_2}if(args.value64_list_1!==undefined&&args.value64_list_1!==null){this.value64_list_1=Thrift.copyList(args.value64_list_1,[null])}if(args.faceJoinGroup!==undefined&&args.faceJoinGroup!==null){this.faceJoinGroup=new FaceJoinGroup(args.faceJoinGroup)}if(args.groupInfo!==undefined&&args.groupInfo!==null){this.groupInfo=new GroupInfo(args.groupInfo)}}};LBSParam.prototype={};LBSParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.value_str_2=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size632=0;var _rtmp3636;this.value64_list_1=[];var _etype635=0;_rtmp3636=input.readListBegin();_etype635=_rtmp3636.etype;_size632=_rtmp3636.size;for(var _i637=0;_i637<_size632;++_i637){var elem638=null;elem638=input.readI64().value;this.value64_list_1.push(elem638)}input.readListEnd()}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.faceJoinGroup=new FaceJoinGroup;this.faceJoinGroup.read(input)}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRUCT){this.groupInfo=new GroupInfo;this.groupInfo.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LBSParam.prototype.write=function(output){output.writeStructBegin("LBSParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,2);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,4);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.value_str_2!==null&&this.value_str_2!==undefined){output.writeFieldBegin("value_str_2",Thrift.Type.STRING,5);output.writeString(this.value_str_2);output.writeFieldEnd()}if(this.value64_list_1!==null&&this.value64_list_1!==undefined){output.writeFieldBegin("value64_list_1",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.I64,this.value64_list_1.length);for(var iter639 in this.value64_list_1){if(this.value64_list_1.hasOwnProperty(iter639)){iter639=this.value64_list_1[iter639];output.writeI64(iter639)}}output.writeListEnd();output.writeFieldEnd()}if(this.faceJoinGroup!==null&&this.faceJoinGroup!==undefined){output.writeFieldBegin("faceJoinGroup",Thrift.Type.STRUCT,7);this.faceJoinGroup.write(output);output.writeFieldEnd()}if(this.groupInfo!==null&&this.groupInfo!==undefined){output.writeFieldBegin("groupInfo",Thrift.Type.STRUCT,8);this.groupInfo.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LBSRet=function LBSRet(args){this.code=null;this.what=null;this.gp=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.gp!==undefined&&args.gp!==null){this.gp=new FaceJoinGroupResult(args.gp)}}};LBSRet.prototype={};LBSRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.gp=new FaceJoinGroupResult;this.gp.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LBSRet.prototype.write=function(output){output.writeStructBegin("LBSRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.gp!==null&&this.gp!==undefined){output.writeFieldBegin("gp",Thrift.Type.STRUCT,3);this.gp.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MultiOpSTParam=function MultiOpSTParam(args){this.type=null;this.step=null;this.autParam=null;this.autCode=null;this.operate=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.step!==undefined&&args.step!==null){this.step=args.step}if(args.autParam!==undefined&&args.autParam!==null){this.autParam=new AuthenticationParam(args.autParam)}if(args.autCode!==undefined&&args.autCode!==null){this.autCode=new AuthenticationServerCode(args.autCode)}if(args.operate!==undefined&&args.operate!==null){this.operate=new UserAccountOperate(args.operate)}}};MultiOpSTParam.prototype={};MultiOpSTParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.step=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.autParam=new AuthenticationParam;this.autParam.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.autCode=new AuthenticationServerCode;this.autCode.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.operate=new UserAccountOperate;this.operate.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MultiOpSTParam.prototype.write=function(output){output.writeStructBegin("MultiOpSTParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.step!==null&&this.step!==undefined){output.writeFieldBegin("step",Thrift.Type.BYTE,2);output.writeByte(this.step);output.writeFieldEnd()}if(this.autParam!==null&&this.autParam!==undefined){output.writeFieldBegin("autParam",Thrift.Type.STRUCT,3);this.autParam.write(output);output.writeFieldEnd()}if(this.autCode!==null&&this.autCode!==undefined){output.writeFieldBegin("autCode",Thrift.Type.STRUCT,4);this.autCode.write(output);output.writeFieldEnd()}if(this.operate!==null&&this.operate!==undefined){output.writeFieldBegin("operate",Thrift.Type.STRUCT,5);this.operate.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MultiOpSTRet=function MultiOpSTRet(args){this.code=null;this.what=null;this.value64_1=null;this.ret=null;this.autRet=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.ret!==undefined&&args.ret!==null){this.ret=new Result(args.ret)}if(args.autRet!==undefined&&args.autRet!==null){this.autRet=new AuthenticationResult(args.autRet)}}};MultiOpSTRet.prototype={};MultiOpSTRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.ret=new Result;this.ret.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.autRet=new AuthenticationResult;this.autRet.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MultiOpSTRet.prototype.write=function(output){output.writeStructBegin("MultiOpSTRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,3);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.ret!==null&&this.ret!==undefined){output.writeFieldBegin("ret",Thrift.Type.STRUCT,4);this.ret.write(output);output.writeFieldEnd()}if(this.autRet!==null&&this.autRet!==undefined){output.writeFieldBegin("autRet",Thrift.Type.STRUCT,5);this.autRet.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PltFParam=function PltFParam(args){this.type=null;this.value32_1=null;this.value64_1=null;this.query=null;this.entquery=null;this.message=null;this.value_str_1=null;this.value_str_2=null;this.appIdList=null;this.value8_1=null;this.value8_2=null;this.value32_2=null;this.reminderMsg=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value32_1!==undefined&&args.value32_1!==null){this.value32_1=args.value32_1}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.query!==undefined&&args.query!==null){this.query=new SmallMarketAppQueryParam(args.query)}if(args.entquery!==undefined&&args.entquery!==null){this.entquery=new SmallEntAppInfoQueryParam(args.entquery)}if(args.message!==undefined&&args.message!==null){this.message=new MessageStorageBean(args.message)}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.value_str_2!==undefined&&args.value_str_2!==null){this.value_str_2=args.value_str_2}if(args.appIdList!==undefined&&args.appIdList!==null){this.appIdList=Thrift.copyList(args.appIdList,[null])}if(args.value8_1!==undefined&&args.value8_1!==null){this.value8_1=args.value8_1}if(args.value8_2!==undefined&&args.value8_2!==null){this.value8_2=args.value8_2}if(args.value32_2!==undefined&&args.value32_2!==null){this.value32_2=args.value32_2}if(args.reminderMsg!==undefined&&args.reminderMsg!==null){this.reminderMsg=new ReminderMsg(args.reminderMsg)}}};PltFParam.prototype={};PltFParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I32){this.value32_1=input.readI32().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.query=new SmallMarketAppQueryParam;this.query.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.entquery=new SmallEntAppInfoQueryParam;this.entquery.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.message=new MessageStorageBean;this.message.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.value_str_2=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.LIST){var _size640=0;var _rtmp3644;this.appIdList=[];var _etype643=0;_rtmp3644=input.readListBegin();_etype643=_rtmp3644.etype;_size640=_rtmp3644.size;for(var _i645=0;_i645<_size640;++_i645){var elem646=null;elem646=input.readI64().value;this.appIdList.push(elem646)}input.readListEnd()}else{input.skip(ftype)}break;case 10:if(ftype==Thrift.Type.BYTE){this.value8_1=input.readByte().value}else{input.skip(ftype)}break;case 11:if(ftype==Thrift.Type.BYTE){this.value8_2=input.readByte().value}else{input.skip(ftype)}break;case 12:if(ftype==Thrift.Type.I32){this.value32_2=input.readI32().value}else{input.skip(ftype)}break;case 13:if(ftype==Thrift.Type.STRUCT){this.reminderMsg=new ReminderMsg;this.reminderMsg.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PltFParam.prototype.write=function(output){output.writeStructBegin("PltFParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value32_1!==null&&this.value32_1!==undefined){output.writeFieldBegin("value32_1",Thrift.Type.I32,2);output.writeI32(this.value32_1);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,3);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.query!==null&&this.query!==undefined){output.writeFieldBegin("query",Thrift.Type.STRUCT,4);this.query.write(output);output.writeFieldEnd()}if(this.entquery!==null&&this.entquery!==undefined){output.writeFieldBegin("entquery",Thrift.Type.STRUCT,5);this.entquery.write(output);output.writeFieldEnd()}if(this.message!==null&&this.message!==undefined){output.writeFieldBegin("message",Thrift.Type.STRUCT,6);this.message.write(output);output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,7);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.value_str_2!==null&&this.value_str_2!==undefined){output.writeFieldBegin("value_str_2",Thrift.Type.STRING,8);output.writeString(this.value_str_2);output.writeFieldEnd()}if(this.appIdList!==null&&this.appIdList!==undefined){output.writeFieldBegin("appIdList",Thrift.Type.LIST,9);output.writeListBegin(Thrift.Type.I64,this.appIdList.length);for(var iter647 in this.appIdList){if(this.appIdList.hasOwnProperty(iter647)){iter647=this.appIdList[iter647];output.writeI64(iter647)}}output.writeListEnd();output.writeFieldEnd()}if(this.value8_1!==null&&this.value8_1!==undefined){output.writeFieldBegin("value8_1",Thrift.Type.BYTE,10);output.writeByte(this.value8_1);output.writeFieldEnd()}if(this.value8_2!==null&&this.value8_2!==undefined){output.writeFieldBegin("value8_2",Thrift.Type.BYTE,11);output.writeByte(this.value8_2);output.writeFieldEnd()}if(this.value32_2!==null&&this.value32_2!==undefined){output.writeFieldBegin("value32_2",Thrift.Type.I32,12);output.writeI32(this.value32_2);output.writeFieldEnd()}if(this.reminderMsg!==null&&this.reminderMsg!==undefined){output.writeFieldBegin("reminderMsg",Thrift.Type.STRUCT,13);this.reminderMsg.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};PltFRet=function PltFRet(args){this.code=null;this.what=null;this.page=null;this.listSMAppInfo=null;this.entpage=null;this.result=null;this.authBean=null;this.listEntAppInfo=null;this.value_str_1=null;this.reminderMsgPage=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.page!==undefined&&args.page!==null){this.page=new SmallMarketAppPage(args.page)}if(args.listSMAppInfo!==undefined&&args.listSMAppInfo!==null){this.listSMAppInfo=Thrift.copyList(args.listSMAppInfo,[SmallMarketAppInfo])}if(args.entpage!==undefined&&args.entpage!==null){this.entpage=new SmallEntAppPage(args.entpage)}if(args.result!==undefined&&args.result!==null){this.result=new Result(args.result)}if(args.authBean!==undefined&&args.authBean!==null){this.authBean=new AuthUserBean(args.authBean)}if(args.listEntAppInfo!==undefined&&args.listEntAppInfo!==null){this.listEntAppInfo=Thrift.copyList(args.listEntAppInfo,[SmallEntAppInfo])}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.reminderMsgPage!==undefined&&args.reminderMsgPage!==null){this.reminderMsgPage=new ReminderMsgPage(args.reminderMsgPage)}}};PltFRet.prototype={};PltFRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.page=new SmallMarketAppPage;this.page.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size648=0;var _rtmp3652;this.listSMAppInfo=[];var _etype651=0;_rtmp3652=input.readListBegin();_etype651=_rtmp3652.etype;_size648=_rtmp3652.size;for(var _i653=0;_i653<_size648;++_i653){var elem654=null;elem654=new SmallMarketAppInfo;elem654.read(input);this.listSMAppInfo.push(elem654)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.entpage=new SmallEntAppPage;this.entpage.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.result=new Result;this.result.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.authBean=new AuthUserBean;this.authBean.read(input)}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size655=0;var _rtmp3659;this.listEntAppInfo=[];var _etype658=0;_rtmp3659=input.readListBegin();_etype658=_rtmp3659.etype;_size655=_rtmp3659.size;for(var _i660=0;_i660<_size655;++_i660){var elem661=null;elem661=new SmallEntAppInfo;elem661.read(input);this.listEntAppInfo.push(elem661)}input.readListEnd()}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 10:if(ftype==Thrift.Type.STRUCT){this.reminderMsgPage=new ReminderMsgPage;this.reminderMsgPage.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};PltFRet.prototype.write=function(output){output.writeStructBegin("PltFRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.page!==null&&this.page!==undefined){output.writeFieldBegin("page",Thrift.Type.STRUCT,3);this.page.write(output);output.writeFieldEnd()}if(this.listSMAppInfo!==null&&this.listSMAppInfo!==undefined){output.writeFieldBegin("listSMAppInfo",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.listSMAppInfo.length);for(var iter662 in this.listSMAppInfo){if(this.listSMAppInfo.hasOwnProperty(iter662)){iter662=this.listSMAppInfo[iter662];iter662.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.entpage!==null&&this.entpage!==undefined){output.writeFieldBegin("entpage",Thrift.Type.STRUCT,5);this.entpage.write(output);output.writeFieldEnd()}if(this.result!==null&&this.result!==undefined){output.writeFieldBegin("result",Thrift.Type.STRUCT,6);this.result.write(output);output.writeFieldEnd()}if(this.authBean!==null&&this.authBean!==undefined){output.writeFieldBegin("authBean",Thrift.Type.STRUCT,7);this.authBean.write(output);output.writeFieldEnd()}if(this.listEntAppInfo!==null&&this.listEntAppInfo!==undefined){output.writeFieldBegin("listEntAppInfo",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.STRUCT,this.listEntAppInfo.length);for(var iter663 in this.listEntAppInfo){if(this.listEntAppInfo.hasOwnProperty(iter663)){iter663=this.listEntAppInfo[iter663];iter663.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,9);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.reminderMsgPage!==null&&this.reminderMsgPage!==undefined){output.writeFieldBegin("reminderMsgPage",Thrift.Type.STRUCT,10);this.reminderMsgPage.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EmotParam=function EmotParam(args){this.type=null;this.value_str_1=null;this.page=null;this.emoticon=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.page!==undefined&&args.page!==null){this.page=new EmoticonPackagePage(args.page)}if(args.emoticon!==undefined&&args.emoticon!==null){this.emoticon=new Emoticon(args.emoticon)}}};EmotParam.prototype={};EmotParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.page=new EmoticonPackagePage;this.page.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.emoticon=new Emoticon;this.emoticon.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EmotParam.prototype.write=function(output){output.writeStructBegin("EmotParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,2);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.page!==null&&this.page!==undefined){output.writeFieldBegin("page",Thrift.Type.STRUCT,3);this.page.write(output);output.writeFieldEnd()}if(this.emoticon!==null&&this.emoticon!==undefined){output.writeFieldBegin("emoticon",Thrift.Type.STRUCT,4);this.emoticon.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EmotRet=function EmotRet(args){this.code=null;this.what=null;this.result=null;this.emotPkg=null;this.page=null;this.listEmotion=null;this.listEmotPkg=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.result!==undefined&&args.result!==null){this.result=new EmoticonOPResult(args.result)}if(args.emotPkg!==undefined&&args.emotPkg!==null){this.emotPkg=new EmoticonPackage(args.emotPkg)}if(args.page!==undefined&&args.page!==null){this.page=new EmoticonPackagePage(args.page)}if(args.listEmotion!==undefined&&args.listEmotion!==null){this.listEmotion=Thrift.copyList(args.listEmotion,[Emoticon])}if(args.listEmotPkg!==undefined&&args.listEmotPkg!==null){this.listEmotPkg=Thrift.copyList(args.listEmotPkg,[EmoticonPackage])}}};EmotRet.prototype={};EmotRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.result=new EmoticonOPResult;this.result.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.emotPkg=new EmoticonPackage;this.emotPkg.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.page=new EmoticonPackagePage;this.page.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size664=0;var _rtmp3668;this.listEmotion=[];var _etype667=0;_rtmp3668=input.readListBegin();_etype667=_rtmp3668.etype;_size664=_rtmp3668.size;for(var _i669=0;_i669<_size664;++_i669){var elem670=null;elem670=new Emoticon;elem670.read(input);this.listEmotion.push(elem670)}input.readListEnd()}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.LIST){var _size671=0;var _rtmp3675;this.listEmotPkg=[];var _etype674=0;_rtmp3675=input.readListBegin();_etype674=_rtmp3675.etype;_size671=_rtmp3675.size;for(var _i676=0;_i676<_size671;++_i676){var elem677=null;elem677=new EmoticonPackage;elem677.read(input);this.listEmotPkg.push(elem677)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EmotRet.prototype.write=function(output){output.writeStructBegin("EmotRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.result!==null&&this.result!==undefined){output.writeFieldBegin("result",Thrift.Type.STRUCT,3);this.result.write(output);output.writeFieldEnd()}if(this.emotPkg!==null&&this.emotPkg!==undefined){output.writeFieldBegin("emotPkg",Thrift.Type.STRUCT,4);this.emotPkg.write(output);output.writeFieldEnd()}if(this.page!==null&&this.page!==undefined){output.writeFieldBegin("page",Thrift.Type.STRUCT,5);this.page.write(output);output.writeFieldEnd()}if(this.listEmotion!==null&&this.listEmotion!==undefined){output.writeFieldBegin("listEmotion",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.STRUCT,this.listEmotion.length);for(var iter678 in this.listEmotion){if(this.listEmotion.hasOwnProperty(iter678)){iter678=this.listEmotion[iter678];iter678.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.listEmotPkg!==null&&this.listEmotPkg!==undefined){output.writeFieldBegin("listEmotPkg",Thrift.Type.LIST,7);output.writeListBegin(Thrift.Type.STRUCT,this.listEmotPkg.length);for(var iter679 in this.listEmotPkg){if(this.listEmotPkg.hasOwnProperty(iter679)){iter679=this.listEmotPkg[iter679];iter679.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};TimeStParam=function TimeStParam(args){this.type=null;this.value64_1=null;this.value64_2=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}}};TimeStParam.prototype={};TimeStParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};TimeStParam.prototype.write=function(output){output.writeStructBegin("TimeStParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,2);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};TimeStRet=function TimeStRet(args){this.code=null;this.what=null;this.value64_1=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}}};TimeStRet.prototype={};TimeStRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};TimeStRet.prototype.write=function(output){output.writeStructBegin("TimeStRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,3);output.writeI64(this.value64_1);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RegUParam=function RegUParam(args){this.type=null;this.value_str_1=null;this.param=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.param!==undefined&&args.param!==null){this.param=new RegisterParam(args.param)}}};RegUParam.prototype={};RegUParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.param=new RegisterParam;this.param.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RegUParam.prototype.write=function(output){output.writeStructBegin("RegUParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,2);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.param!==null&&this.param!==undefined){output.writeFieldBegin("param",Thrift.Type.STRUCT,3);this.param.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RegURet=function RegURet(args){this.code=null;this.what=null;this.value64_1=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}}};RegURet.prototype={};RegURet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RegURet.prototype.write=function(output){output.writeStructBegin("RegURet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,3);output.writeI64(this.value64_1);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};JSONParam=function JSONParam(args){this.type=null;this.value_str=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}}};JSONParam.prototype={};JSONParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};JSONParam.prototype.write=function(output){output.writeStructBegin("JSONParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,2);output.writeString(this.value_str);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};JSONRet=function JSONRet(args){this.code=null;this.what=null;this.value_str=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}}};JSONRet.prototype={};JSONRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};JSONRet.prototype.write=function(output){output.writeStructBegin("JSONRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,3);output.writeString(this.value_str);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SDKUserParam=function SDKUserParam(args){this.type=null;this.user=null;this.list_i64=null;this.map_string=null;this.accounts=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.user!==undefined&&args.user!==null){this.user=new SDKUser(args.user)}if(args.list_i64!==undefined&&args.list_i64!==null){this.list_i64=Thrift.copyList(args.list_i64,[null])}if(args.map_string!==undefined&&args.map_string!==null){this.map_string=Thrift.copyMap(args.map_string,[null])}if(args.accounts!==undefined&&args.accounts!==null){this.accounts=Thrift.copyList(args.accounts,[UserContact])}}};SDKUserParam.prototype={};SDKUserParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.user=new SDKUser;this.user.read(input)}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size680=0;var _rtmp3684;this.list_i64=[];var _etype683=0;_rtmp3684=input.readListBegin();_etype683=_rtmp3684.etype;_size680=_rtmp3684.size;for(var _i685=0;_i685<_size680;++_i685){var elem686=null;elem686=input.readI64().value;this.list_i64.push(elem686)}input.readListEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size687=0;var _rtmp3691;this.map_string={};var _ktype688=0;var _vtype689=0;_rtmp3691=input.readMapBegin();_ktype688=_rtmp3691.ktype;_vtype689=_rtmp3691.vtype;_size687=_rtmp3691.size;for(var _i692=0;_i692<_size687;++_i692){if(_i692>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key693=null;var val694=null;key693=input.readI32().value;val694=input.readString().value;this.map_string[key693]=val694}input.readMapEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size695=0;var _rtmp3699;this.accounts=[];var _etype698=0;_rtmp3699=input.readListBegin();_etype698=_rtmp3699.etype;_size695=_rtmp3699.size;for(var _i700=0;_i700<_size695;++_i700){var elem701=null;elem701=new UserContact;elem701.read(input);this.accounts.push(elem701)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SDKUserParam.prototype.write=function(output){output.writeStructBegin("SDKUserParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.user!==null&&this.user!==undefined){output.writeFieldBegin("user",Thrift.Type.STRUCT,2);this.user.write(output);output.writeFieldEnd()}if(this.list_i64!==null&&this.list_i64!==undefined){output.writeFieldBegin("list_i64",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.I64,this.list_i64.length);for(var iter702 in this.list_i64){if(this.list_i64.hasOwnProperty(iter702)){iter702=this.list_i64[iter702];output.writeI64(iter702)}}output.writeListEnd();output.writeFieldEnd()}if(this.map_string!==null&&this.map_string!==undefined){output.writeFieldBegin("map_string",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.I32,Thrift.Type.STRING,Thrift.objectLength(this.map_string));for(var kiter703 in this.map_string){if(this.map_string.hasOwnProperty(kiter703)){var viter704=this.map_string[kiter703];output.writeI32(kiter703);output.writeString(viter704)}}output.writeMapEnd();output.writeFieldEnd()}if(this.accounts!==null&&this.accounts!==undefined){output.writeFieldBegin("accounts",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.accounts.length);for(var iter705 in this.accounts){if(this.accounts.hasOwnProperty(iter705)){iter705=this.accounts[iter705];iter705.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};SDKUserRet=function SDKUserRet(args){this.code=null;this.what=null;this.map_i64=null;this.map_string=null;this.map_stri64=null;this.map_userbean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.map_i64!==undefined&&args.map_i64!==null){this.map_i64=Thrift.copyMap(args.map_i64,[null])}if(args.map_string!==undefined&&args.map_string!==null){this.map_string=Thrift.copyMap(args.map_string,[null])}if(args.map_stri64!==undefined&&args.map_stri64!==null){this.map_stri64=Thrift.copyMap(args.map_stri64,[null])}if(args.map_userbean!==undefined&&args.map_userbean!==null){this.map_userbean=Thrift.copyMap(args.map_userbean,[UserBean])}}};SDKUserRet.prototype={};SDKUserRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size706=0;var _rtmp3710;this.map_i64={};var _ktype707=0;var _vtype708=0;_rtmp3710=input.readMapBegin();_ktype707=_rtmp3710.ktype;_vtype708=_rtmp3710.vtype;_size706=_rtmp3710.size;for(var _i711=0;_i711<_size706;++_i711){if(_i711>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key712=null;var val713=null;key712=input.readI32().value;val713=input.readI64().value;this.map_i64[key712]=val713}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.MAP){var _size714=0;var _rtmp3718;this.map_string={};var _ktype715=0;var _vtype716=0;_rtmp3718=input.readMapBegin();_ktype715=_rtmp3718.ktype;_vtype716=_rtmp3718.vtype;_size714=_rtmp3718.size;for(var _i719=0;_i719<_size714;++_i719){if(_i719>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key720=null;var val721=null;key720=input.readI64().value;val721=input.readString().value;this.map_string[key720]=val721}input.readMapEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.MAP){var _size722=0;var _rtmp3726;this.map_stri64={};var _ktype723=0;var _vtype724=0;_rtmp3726=input.readMapBegin();_ktype723=_rtmp3726.ktype;_vtype724=_rtmp3726.vtype;_size722=_rtmp3726.size;for(var _i727=0;_i727<_size722;++_i727){if(_i727>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key728=null;var val729=null;key728=input.readString().value;val729=input.readI64().value;this.map_stri64[key728]=val729}input.readMapEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.MAP){var _size730=0;var _rtmp3734;this.map_userbean={};var _ktype731=0;var _vtype732=0;_rtmp3734=input.readMapBegin();_ktype731=_rtmp3734.ktype;_vtype732=_rtmp3734.vtype;_size730=_rtmp3734.size;for(var _i735=0;_i735<_size730;++_i735){if(_i735>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key736=null;var val737=null;key736=input.readI32().value;val737=new UserBean;val737.read(input);this.map_userbean[key736]=val737}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};SDKUserRet.prototype.write=function(output){output.writeStructBegin("SDKUserRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.map_i64!==null&&this.map_i64!==undefined){output.writeFieldBegin("map_i64",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I32,Thrift.Type.I64,Thrift.objectLength(this.map_i64));for(var kiter738 in this.map_i64){if(this.map_i64.hasOwnProperty(kiter738)){var viter739=this.map_i64[kiter738];output.writeI32(kiter738);output.writeI64(viter739)}}output.writeMapEnd();output.writeFieldEnd()}if(this.map_string!==null&&this.map_string!==undefined){output.writeFieldBegin("map_string",Thrift.Type.MAP,4);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.STRING,Thrift.objectLength(this.map_string));for(var kiter740 in this.map_string){if(this.map_string.hasOwnProperty(kiter740)){var viter741=this.map_string[kiter740];output.writeI64(kiter740);output.writeString(viter741)}}output.writeMapEnd();output.writeFieldEnd()}if(this.map_stri64!==null&&this.map_stri64!==undefined){output.writeFieldBegin("map_stri64",Thrift.Type.MAP,5);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.I64,Thrift.objectLength(this.map_stri64));for(var kiter742 in this.map_stri64){if(this.map_stri64.hasOwnProperty(kiter742)){var viter743=this.map_stri64[kiter742];output.writeString(kiter742);output.writeI64(viter743)}}output.writeMapEnd();output.writeFieldEnd()}if(this.map_userbean!==null&&this.map_userbean!==undefined){output.writeFieldBegin("map_userbean",Thrift.Type.MAP,6);output.writeMapBegin(Thrift.Type.I32,Thrift.Type.STRUCT,Thrift.objectLength(this.map_userbean));for(var kiter744 in this.map_userbean){if(this.map_userbean.hasOwnProperty(kiter744)){var viter745=this.map_userbean[kiter744];output.writeI32(kiter744);viter745.write(output)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RecommendParam=function RecommendParam(args){this.type=null;this.value32_1=null;this.cp=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value32_1!==undefined&&args.value32_1!==null){this.value32_1=args.value32_1}if(args.cp!==undefined&&args.cp!==null){this.cp=new ContactParam(args.cp)}}};RecommendParam.prototype={};RecommendParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I32){this.value32_1=input.readI32().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.cp=new ContactParam;this.cp.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RecommendParam.prototype.write=function(output){output.writeStructBegin("RecommendParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value32_1!==null&&this.value32_1!==undefined){output.writeFieldBegin("value32_1",Thrift.Type.I32,2);output.writeI32(this.value32_1);output.writeFieldEnd()}if(this.cp!==null&&this.cp!==undefined){output.writeFieldBegin("cp",Thrift.Type.STRUCT,3);this.cp.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};RecommendRet=function RecommendRet(args){this.code=null;this.what=null;this.hcb=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.hcb!==undefined&&args.hcb!==null){this.hcb=new HandledContactBean(args.hcb)}}};RecommendRet.prototype={};RecommendRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.hcb=new HandledContactBean;this.hcb.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};RecommendRet.prototype.write=function(output){output.writeStructBegin("RecommendRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.hcb!==null&&this.hcb!==undefined){output.writeFieldBegin("hcb",Thrift.Type.STRUCT,3);this.hcb.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MdmParam=function MdmParam(args){this.type=null;this.valuestr=null;this.valuestr2=null;this.valuestr3=null;this.valuestr4=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.valuestr!==undefined&&args.valuestr!==null){this.valuestr=args.valuestr}if(args.valuestr2!==undefined&&args.valuestr2!==null){this.valuestr2=args.valuestr2}if(args.valuestr3!==undefined&&args.valuestr3!==null){this.valuestr3=args.valuestr3}if(args.valuestr4!==undefined&&args.valuestr4!==null){this.valuestr4=args.valuestr4}}};MdmParam.prototype={};MdmParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.valuestr=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.valuestr2=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.valuestr3=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.valuestr4=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MdmParam.prototype.write=function(output){output.writeStructBegin("MdmParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.valuestr!==null&&this.valuestr!==undefined){output.writeFieldBegin("valuestr",Thrift.Type.STRING,2);output.writeString(this.valuestr);output.writeFieldEnd()}if(this.valuestr2!==null&&this.valuestr2!==undefined){output.writeFieldBegin("valuestr2",Thrift.Type.STRING,3);output.writeString(this.valuestr2);output.writeFieldEnd()}if(this.valuestr3!==null&&this.valuestr3!==undefined){output.writeFieldBegin("valuestr3",Thrift.Type.STRING,4);output.writeString(this.valuestr3);output.writeFieldEnd()}if(this.valuestr4!==null&&this.valuestr4!==undefined){output.writeFieldBegin("valuestr4",Thrift.Type.STRING,5);output.writeString(this.valuestr4);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MdmRet=function MdmRet(args){this.code=null;this.what=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}}};MdmRet.prototype={};MdmRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MdmRet.prototype.write=function(output){output.writeStructBegin("MdmRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OrgSearchUserRet=function OrgSearchUserRet(args){this.ub=null;this.power=null;if(args){if(args.ub!==undefined&&args.ub!==null){this.ub=new EnterpriseUserBean(args.ub)}if(args.power!==undefined&&args.power!==null){this.power=args.power}}};OrgSearchUserRet.prototype={};OrgSearchUserRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRUCT){this.ub=new EnterpriseUserBean;this.ub.read(input)}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.power=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OrgSearchUserRet.prototype.write=function(output){output.writeStructBegin("OrgSearchUserRet");if(this.ub!==null&&this.ub!==undefined){output.writeFieldBegin("ub",Thrift.Type.STRUCT,1);this.ub.write(output);output.writeFieldEnd()}if(this.power!==null&&this.power!==undefined){output.writeFieldBegin("power",Thrift.Type.STRING,2);output.writeString(this.power);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnOParam=function EnOParam(args){this.type=null;this.value64=null;this.value64_2=null;this.value64_3=null;this.valuestr=null;this.list_i64=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.value64_3!==undefined&&args.value64_3!==null){this.value64_3=args.value64_3}if(args.valuestr!==undefined&&args.valuestr!==null){this.valuestr=args.valuestr}if(args.list_i64!==undefined&&args.list_i64!==null){this.list_i64=Thrift.copyList(args.list_i64,[null])}}};EnOParam.prototype={};EnOParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.value64_3=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.valuestr=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size746=0;var _rtmp3750;this.list_i64=[];var _etype749=0;_rtmp3750=input.readListBegin();_etype749=_rtmp3750.etype;_size746=_rtmp3750.size;for(var _i751=0;_i751<_size746;++_i751){var elem752=null;elem752=input.readI64().value;this.list_i64.push(elem752)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnOParam.prototype.write=function(output){output.writeStructBegin("EnOParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,2);output.writeI64(this.value64);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.value64_3!==null&&this.value64_3!==undefined){output.writeFieldBegin("value64_3",Thrift.Type.I64,4);output.writeI64(this.value64_3);output.writeFieldEnd()}if(this.valuestr!==null&&this.valuestr!==undefined){output.writeFieldBegin("valuestr",Thrift.Type.STRING,5);output.writeString(this.valuestr);output.writeFieldEnd()}if(this.list_i64!==null&&this.list_i64!==undefined){output.writeFieldBegin("list_i64",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.I64,this.list_i64.length);for(var iter753 in this.list_i64){if(this.list_i64.hasOwnProperty(iter753)){iter753=this.list_i64[iter753];output.writeI64(iter753)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};EnORet=function EnORet(args){this.code=null;this.what=null;this.nodes=null;this.orgSearchUsers=null;this.bean=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.nodes!==undefined&&args.nodes!==null){this.nodes=new OrgUserAndChildNodes(args.nodes)}if(args.orgSearchUsers!==undefined&&args.orgSearchUsers!==null){this.orgSearchUsers=Thrift.copyList(args.orgSearchUsers,[OrgSearchUserRet])}if(args.bean!==undefined&&args.bean!==null){this.bean=new OrganizationBean(args.bean)}}};EnORet.prototype={};EnORet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.nodes=new OrgUserAndChildNodes;this.nodes.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size754=0;var _rtmp3758;this.orgSearchUsers=[];var _etype757=0;_rtmp3758=input.readListBegin();_etype757=_rtmp3758.etype;_size754=_rtmp3758.size;for(var _i759=0;_i759<_size754;++_i759){var elem760=null;elem760=new OrgSearchUserRet;elem760.read(input);this.orgSearchUsers.push(elem760)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.bean=new OrganizationBean;this.bean.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};EnORet.prototype.write=function(output){output.writeStructBegin("EnORet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.nodes!==null&&this.nodes!==undefined){output.writeFieldBegin("nodes",Thrift.Type.STRUCT,3);this.nodes.write(output);output.writeFieldEnd()}if(this.orgSearchUsers!==null&&this.orgSearchUsers!==undefined){output.writeFieldBegin("orgSearchUsers",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.orgSearchUsers.length);for(var iter761 in this.orgSearchUsers){if(this.orgSearchUsers.hasOwnProperty(iter761)){iter761=this.orgSearchUsers[iter761];iter761.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.bean!==null&&this.bean!==undefined){output.writeFieldBegin("bean",Thrift.Type.STRUCT,5);this.bean.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MsgStoreParam=function MsgStoreParam(args){this.type=null;this.value64=null;this.value64_2=null;this.value64_3=null;this.mucs=null;this.signalProtocolKeys=null;this.devAddrs=null;this.oneDevAddr=null;this.appendList=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.value64_3!==undefined&&args.value64_3!==null){this.value64_3=args.value64_3}if(args.mucs!==undefined&&args.mucs!==null){this.mucs=Thrift.copyList(args.mucs,[MsgUnreadCounter])}if(args.signalProtocolKeys!==undefined&&args.signalProtocolKeys!==null){this.signalProtocolKeys=new SignalProtocolKeys(args.signalProtocolKeys)}if(args.devAddrs!==undefined&&args.devAddrs!==null){this.devAddrs=Thrift.copyList(args.devAddrs,[SignalProtocolAddress])}if(args.oneDevAddr!==undefined&&args.oneDevAddr!==null){this.oneDevAddr=new SignalProtocolAddress(args.oneDevAddr)}if(args.appendList!==undefined&&args.appendList!==null){this.appendList=Thrift.copyList(args.appendList,[PreKey])}}};MsgStoreParam.prototype={};MsgStoreParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.value64_3=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size762=0;var _rtmp3766;this.mucs=[];var _etype765=0;_rtmp3766=input.readListBegin();_etype765=_rtmp3766.etype;_size762=_rtmp3766.size;for(var _i767=0;_i767<_size762;++_i767){var elem768=null;elem768=new MsgUnreadCounter;elem768.read(input);this.mucs.push(elem768)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.signalProtocolKeys=new SignalProtocolKeys;this.signalProtocolKeys.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.LIST){var _size769=0;var _rtmp3773;this.devAddrs=[];var _etype772=0;_rtmp3773=input.readListBegin();_etype772=_rtmp3773.etype;_size769=_rtmp3773.size;for(var _i774=0;_i774<_size769;++_i774){var elem775=null;elem775=new SignalProtocolAddress;elem775.read(input);this.devAddrs.push(elem775)}input.readListEnd()}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRUCT){this.oneDevAddr=new SignalProtocolAddress;this.oneDevAddr.read(input)}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.LIST){var _size776=0;var _rtmp3780;this.appendList=[];var _etype779=0;_rtmp3780=input.readListBegin();_etype779=_rtmp3780.etype;_size776=_rtmp3780.size;for(var _i781=0;_i781<_size776;++_i781){var elem782=null;elem782=new PreKey;elem782.read(input);this.appendList.push(elem782)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MsgStoreParam.prototype.write=function(output){output.writeStructBegin("MsgStoreParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,2);output.writeI64(this.value64);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.value64_3!==null&&this.value64_3!==undefined){output.writeFieldBegin("value64_3",Thrift.Type.I64,4);output.writeI64(this.value64_3);output.writeFieldEnd()}if(this.mucs!==null&&this.mucs!==undefined){output.writeFieldBegin("mucs",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.mucs.length);for(var iter783 in this.mucs){if(this.mucs.hasOwnProperty(iter783)){iter783=this.mucs[iter783];iter783.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.signalProtocolKeys!==null&&this.signalProtocolKeys!==undefined){output.writeFieldBegin("signalProtocolKeys",Thrift.Type.STRUCT,6);this.signalProtocolKeys.write(output);output.writeFieldEnd()}if(this.devAddrs!==null&&this.devAddrs!==undefined){output.writeFieldBegin("devAddrs",Thrift.Type.LIST,7);output.writeListBegin(Thrift.Type.STRUCT,this.devAddrs.length);for(var iter784 in this.devAddrs){if(this.devAddrs.hasOwnProperty(iter784)){iter784=this.devAddrs[iter784];iter784.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.oneDevAddr!==null&&this.oneDevAddr!==undefined){output.writeFieldBegin("oneDevAddr",Thrift.Type.STRUCT,8);this.oneDevAddr.write(output);output.writeFieldEnd()}if(this.appendList!==null&&this.appendList!==undefined){output.writeFieldBegin("appendList",Thrift.Type.LIST,9);output.writeListBegin(Thrift.Type.STRUCT,this.appendList.length);for(var iter785 in this.appendList){if(this.appendList.hasOwnProperty(iter785)){iter785=this.appendList[iter785];iter785.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};MsgStoreRet=function MsgStoreRet(args){this.code=null;this.what=null;this.msgStatusCount=null;this.msgUnreadCounter=null;this.msgCursor=null;this.signalProtocolKeys=null;this.signalBundles=null;this.identityKeys=null;this.value32_1=null;this.preKeys=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.msgStatusCount!==undefined&&args.msgStatusCount!==null){this.msgStatusCount=Thrift.copyMap(args.msgStatusCount,[Thrift.copyList,null])}if(args.msgUnreadCounter!==undefined&&args.msgUnreadCounter!==null){this.msgUnreadCounter=Thrift.copyList(args.msgUnreadCounter,[MsgUnreadCounter])}if(args.msgCursor!==undefined&&args.msgCursor!==null){this.msgCursor=new MessageStorageCursor(args.msgCursor)}if(args.signalProtocolKeys!==undefined&&args.signalProtocolKeys!==null){this.signalProtocolKeys=new SignalProtocolKeys(args.signalProtocolKeys)}if(args.signalBundles!==undefined&&args.signalBundles!==null){this.signalBundles=Thrift.copyList(args.signalBundles,[SignalBundle])}if(args.identityKeys!==undefined&&args.identityKeys!==null){this.identityKeys=Thrift.copyList(args.identityKeys,[IdentityKey])}if(args.value32_1!==undefined&&args.value32_1!==null){this.value32_1=args.value32_1}if(args.preKeys!==undefined&&args.preKeys!==null){this.preKeys=Thrift.copyList(args.preKeys,[PreKey])}}};MsgStoreRet.prototype={};MsgStoreRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size786=0;var _rtmp3790;this.msgStatusCount={};var _ktype787=0;var _vtype788=0;_rtmp3790=input.readMapBegin();_ktype787=_rtmp3790.ktype;_vtype788=_rtmp3790.vtype;_size786=_rtmp3790.size;for(var _i791=0;_i791<_size786;++_i791){if(_i791>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key792=null;var val793=null;key792=input.readString().value;var _size794=0;var _rtmp3798;val793=[];var _etype797=0;_rtmp3798=input.readListBegin();_etype797=_rtmp3798.etype;_size794=_rtmp3798.size;for(var _i799=0;_i799<_size794;++_i799){var elem800=null;elem800=input.readI64().value;val793.push(elem800)}input.readListEnd();this.msgStatusCount[key792]=val793}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size801=0;var _rtmp3805;this.msgUnreadCounter=[];var _etype804=0;_rtmp3805=input.readListBegin();_etype804=_rtmp3805.etype;_size801=_rtmp3805.size;for(var _i806=0;_i806<_size801;++_i806){var elem807=null;elem807=new MsgUnreadCounter;elem807.read(input);this.msgUnreadCounter.push(elem807)}input.readListEnd()}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.msgCursor=new MessageStorageCursor;this.msgCursor.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.signalProtocolKeys=new SignalProtocolKeys;this.signalProtocolKeys.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.LIST){var _size808=0;var _rtmp3812;this.signalBundles=[];var _etype811=0;_rtmp3812=input.readListBegin();_etype811=_rtmp3812.etype;_size808=_rtmp3812.size;for(var _i813=0;_i813<_size808;++_i813){var elem814=null;elem814=new SignalBundle;elem814.read(input);this.signalBundles.push(elem814)}input.readListEnd()}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size815=0;var _rtmp3819;this.identityKeys=[];var _etype818=0;_rtmp3819=input.readListBegin();_etype818=_rtmp3819.etype;_size815=_rtmp3819.size;for(var _i820=0;_i820<_size815;++_i820){var elem821=null;elem821=new IdentityKey;elem821.read(input);this.identityKeys.push(elem821)}input.readListEnd()}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.I32){this.value32_1=input.readI32().value}else{input.skip(ftype)}break;case 10:if(ftype==Thrift.Type.LIST){var _size822=0;var _rtmp3826;this.preKeys=[];var _etype825=0;_rtmp3826=input.readListBegin();_etype825=_rtmp3826.etype;_size822=_rtmp3826.size;for(var _i827=0;_i827<_size822;++_i827){var elem828=null;elem828=new PreKey;elem828.read(input);this.preKeys.push(elem828)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};MsgStoreRet.prototype.write=function(output){output.writeStructBegin("MsgStoreRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.msgStatusCount!==null&&this.msgStatusCount!==undefined){output.writeFieldBegin("msgStatusCount",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.LIST,Thrift.objectLength(this.msgStatusCount));for(var kiter829 in this.msgStatusCount){if(this.msgStatusCount.hasOwnProperty(kiter829)){var viter830=this.msgStatusCount[kiter829];output.writeString(kiter829);output.writeListBegin(Thrift.Type.I64,viter830.length);for(var iter831 in viter830){if(viter830.hasOwnProperty(iter831)){iter831=viter830[iter831];output.writeI64(iter831)}}output.writeListEnd()}}output.writeMapEnd();output.writeFieldEnd()}if(this.msgUnreadCounter!==null&&this.msgUnreadCounter!==undefined){output.writeFieldBegin("msgUnreadCounter",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.msgUnreadCounter.length);for(var iter832 in this.msgUnreadCounter){if(this.msgUnreadCounter.hasOwnProperty(iter832)){iter832=this.msgUnreadCounter[iter832];iter832.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.msgCursor!==null&&this.msgCursor!==undefined){output.writeFieldBegin("msgCursor",Thrift.Type.STRUCT,5);this.msgCursor.write(output);output.writeFieldEnd()}if(this.signalProtocolKeys!==null&&this.signalProtocolKeys!==undefined){output.writeFieldBegin("signalProtocolKeys",Thrift.Type.STRUCT,6);this.signalProtocolKeys.write(output);output.writeFieldEnd()}if(this.signalBundles!==null&&this.signalBundles!==undefined){output.writeFieldBegin("signalBundles",Thrift.Type.LIST,7);output.writeListBegin(Thrift.Type.STRUCT,this.signalBundles.length);for(var iter833 in this.signalBundles){if(this.signalBundles.hasOwnProperty(iter833)){iter833=this.signalBundles[iter833];iter833.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.identityKeys!==null&&this.identityKeys!==undefined){output.writeFieldBegin("identityKeys",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.STRUCT,this.identityKeys.length);for(var iter834 in this.identityKeys){if(this.identityKeys.hasOwnProperty(iter834)){iter834=this.identityKeys[iter834];iter834.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.value32_1!==null&&this.value32_1!==undefined){output.writeFieldBegin("value32_1",Thrift.Type.I32,9);output.writeI32(this.value32_1);output.writeFieldEnd()}if(this.preKeys!==null&&this.preKeys!==undefined){output.writeFieldBegin("preKeys",Thrift.Type.LIST,10);output.writeListBegin(Thrift.Type.STRUCT,this.preKeys.length);for(var iter835 in this.preKeys){if(this.preKeys.hasOwnProperty(iter835)){iter835=this.preKeys[iter835];iter835.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};VerifyCodeParam=function VerifyCodeParam(args){this.type=null;this.userIDs=null;this.langType=null;this.inviteCodeParam=null;this.value_str=null;this.uc=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.userIDs!==undefined&&args.userIDs!==null){this.userIDs=Thrift.copyList(args.userIDs,[null])}if(args.langType!==undefined&&args.langType!==null){this.langType=args.langType}if(args.inviteCodeParam!==undefined&&args.inviteCodeParam!==null){this.inviteCodeParam=new InviteCodeParam(args.inviteCodeParam)}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}if(args.uc!==undefined&&args.uc!==null){this.uc=new UserContact(args.uc)}}};VerifyCodeParam.prototype={};VerifyCodeParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.LIST){var _size836=0;var _rtmp3840;this.userIDs=[];var _etype839=0;_rtmp3840=input.readListBegin();_etype839=_rtmp3840.etype;_size836=_rtmp3840.size;for(var _i841=0;_i841<_size836;++_i841){var elem842=null;elem842=input.readI64().value;this.userIDs.push(elem842)}input.readListEnd()}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.langType=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.inviteCodeParam=new InviteCodeParam;this.inviteCodeParam.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.uc=new UserContact;this.uc.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyCodeParam.prototype.write=function(output){output.writeStructBegin("VerifyCodeParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.userIDs!==null&&this.userIDs!==undefined){output.writeFieldBegin("userIDs",Thrift.Type.LIST,2);output.writeListBegin(Thrift.Type.I64,this.userIDs.length);for(var iter843 in this.userIDs){if(this.userIDs.hasOwnProperty(iter843)){iter843=this.userIDs[iter843];output.writeI64(iter843)}}output.writeListEnd();output.writeFieldEnd()}if(this.langType!==null&&this.langType!==undefined){output.writeFieldBegin("langType",Thrift.Type.STRING,3);output.writeString(this.langType);output.writeFieldEnd()}if(this.inviteCodeParam!==null&&this.inviteCodeParam!==undefined){output.writeFieldBegin("inviteCodeParam",Thrift.Type.STRUCT,4);this.inviteCodeParam.write(output);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,5);output.writeString(this.value_str);output.writeFieldEnd()}if(this.uc!==null&&this.uc!==undefined){output.writeFieldBegin("uc",Thrift.Type.STRUCT,6);this.uc.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};VerifyCodeRet=function VerifyCodeRet(args){this.code=null;this.what=null;this.failRet=null;this.value64=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.failRet!==undefined&&args.failRet!==null){this.failRet=Thrift.copyMap(args.failRet,[null])}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}}};VerifyCodeRet.prototype={};VerifyCodeRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size844=0;var _rtmp3848;this.failRet={};var _ktype845=0;var _vtype846=0;_rtmp3848=input.readMapBegin();_ktype845=_rtmp3848.ktype;_vtype846=_rtmp3848.vtype;_size844=_rtmp3848.size;for(var _i849=0;_i849<_size844;++_i849){if(_i849>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key850=null;var val851=null;key850=input.readI64().value;val851=input.readString().value;this.failRet[key850]=val851}input.readMapEnd()}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyCodeRet.prototype.write=function(output){output.writeStructBegin("VerifyCodeRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.failRet!==null&&this.failRet!==undefined){output.writeFieldBegin("failRet",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.I64,Thrift.Type.STRING,Thrift.objectLength(this.failRet));for(var kiter852 in this.failRet){if(this.failRet.hasOwnProperty(kiter852)){var viter853=this.failRet[kiter852];output.writeI64(kiter852);output.writeString(viter853)}}output.writeMapEnd();output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,4);output.writeI64(this.value64);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupMemParam=function GroupMemParam(args){this.type=null;this.value64_1=null;this.value64_2=null;this.value16=null;this.settingsExtend=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.value16!==undefined&&args.value16!==null){this.value16=args.value16}if(args.settingsExtend!==undefined&&args.settingsExtend!==null){this.settingsExtend=new UserGroupSettingsExtend(args.settingsExtend)}}};GroupMemParam.prototype={};GroupMemParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I16){this.value16=input.readI16().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.settingsExtend=new UserGroupSettingsExtend;this.settingsExtend.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupMemParam.prototype.write=function(output){output.writeStructBegin("GroupMemParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,2);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.value16!==null&&this.value16!==undefined){output.writeFieldBegin("value16",Thrift.Type.I16,4);output.writeI16(this.value16);output.writeFieldEnd()}if(this.settingsExtend!==null&&this.settingsExtend!==undefined){output.writeFieldBegin("settingsExtend",Thrift.Type.STRUCT,5);this.settingsExtend.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupMemRet=function GroupMemRet(args){this.code=null;this.what=null;this.tsInfo=null;this.groupSetting=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.tsInfo!==undefined&&args.tsInfo!==null){this.tsInfo=new UserGroupTimeStampInfo(args.tsInfo)}if(args.groupSetting!==undefined&&args.groupSetting!==null){this.groupSetting=new UserGroupSettingsExtend(args.groupSetting)}}};GroupMemRet.prototype={};GroupMemRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.tsInfo=new UserGroupTimeStampInfo;this.tsInfo.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.groupSetting=new UserGroupSettingsExtend;this.groupSetting.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupMemRet.prototype.write=function(output){output.writeStructBegin("GroupMemRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.tsInfo!==null&&this.tsInfo!==undefined){output.writeFieldBegin("tsInfo",Thrift.Type.STRUCT,3);this.tsInfo.write(output);output.writeFieldEnd()}if(this.groupSetting!==null&&this.groupSetting!==undefined){output.writeFieldBegin("groupSetting",Thrift.Type.STRUCT,4);this.groupSetting.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CollectionParam=function CollectionParam(args){this.type=null;this.value16_1=null;this.value16_2=null;this.value64_1=null;this.value64_2=null;this.params=null;this.bean=null;this.list_i64=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value16_1!==undefined&&args.value16_1!==null){this.value16_1=args.value16_1}if(args.value16_2!==undefined&&args.value16_2!==null){this.value16_2=args.value16_2}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.params!==undefined&&args.params!==null){this.params=Thrift.copyMap(args.params,[null])}if(args.bean!==undefined&&args.bean!==null){this.bean=new CollectionBean(args.bean)}if(args.list_i64!==undefined&&args.list_i64!==null){this.list_i64=Thrift.copyList(args.list_i64,[null])}}};CollectionParam.prototype={};CollectionParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I16){this.value16_1=input.readI16().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I16){this.value16_2=input.readI16().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.MAP){var _size854=0;var _rtmp3858;this.params={};var _ktype855=0;var _vtype856=0;_rtmp3858=input.readMapBegin();_ktype855=_rtmp3858.ktype;_vtype856=_rtmp3858.vtype;_size854=_rtmp3858.size;for(var _i859=0;_i859<_size854;++_i859){if(_i859>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key860=null;var val861=null;key860=input.readString().value;val861=input.readString().value;this.params[key860]=val861}input.readMapEnd()}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.bean=new CollectionBean;this.bean.read(input)}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size862=0;var _rtmp3866;this.list_i64=[];var _etype865=0;_rtmp3866=input.readListBegin();_etype865=_rtmp3866.etype;_size862=_rtmp3866.size;for(var _i867=0;_i867<_size862;++_i867){var elem868=null;elem868=input.readI64().value;this.list_i64.push(elem868)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CollectionParam.prototype.write=function(output){output.writeStructBegin("CollectionParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value16_1!==null&&this.value16_1!==undefined){output.writeFieldBegin("value16_1",Thrift.Type.I16,2);output.writeI16(this.value16_1);output.writeFieldEnd()}if(this.value16_2!==null&&this.value16_2!==undefined){output.writeFieldBegin("value16_2",Thrift.Type.I16,3);output.writeI16(this.value16_2);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,4);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,5);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.params!==null&&this.params!==undefined){output.writeFieldBegin("params",Thrift.Type.MAP,6);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.params));for(var kiter869 in this.params){if(this.params.hasOwnProperty(kiter869)){var viter870=this.params[kiter869];output.writeString(kiter869);output.writeString(viter870)}}output.writeMapEnd();output.writeFieldEnd()}if(this.bean!==null&&this.bean!==undefined){output.writeFieldBegin("bean",Thrift.Type.STRUCT,7);this.bean.write(output);output.writeFieldEnd()}if(this.list_i64!==null&&this.list_i64!==undefined){output.writeFieldBegin("list_i64",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.I64,this.list_i64.length);for(var iter871 in this.list_i64){if(this.list_i64.hasOwnProperty(iter871)){iter871=this.list_i64[iter871];output.writeI64(iter871)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CollectionRet=function CollectionRet(args){this.code=null;this.what=null;this.bean=null;this.beans=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.bean!==undefined&&args.bean!==null){this.bean=new OperateCollectionResult(args.bean)}if(args.beans!==undefined&&args.beans!==null){this.beans=new CollectionBeanStruct(args.beans)}}};CollectionRet.prototype={};CollectionRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.bean=new OperateCollectionResult;this.bean.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.beans=new CollectionBeanStruct;this.beans.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CollectionRet.prototype.write=function(output){output.writeStructBegin("CollectionRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.bean!==null&&this.bean!==undefined){output.writeFieldBegin("bean",Thrift.Type.STRUCT,3);this.bean.write(output);output.writeFieldEnd()}if(this.beans!==null&&this.beans!==undefined){output.writeFieldBegin("beans",Thrift.Type.STRUCT,4);this.beans.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};FeedBackParam=function FeedBackParam(args){this.type=null;this.fb=null;this.map_strstr=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.fb!==undefined&&args.fb!==null){this.fb=new Feedback(args.fb)}if(args.map_strstr!==undefined&&args.map_strstr!==null){this.map_strstr=Thrift.copyMap(args.map_strstr,[null])}}};FeedBackParam.prototype={};FeedBackParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.fb=new Feedback;this.fb.read(input)}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.MAP){var _size872=0;var _rtmp3876;this.map_strstr={};var _ktype873=0;var _vtype874=0;_rtmp3876=input.readMapBegin();_ktype873=_rtmp3876.ktype;_vtype874=_rtmp3876.vtype;_size872=_rtmp3876.size;for(var _i877=0;_i877<_size872;++_i877){if(_i877>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key878=null;var val879=null;key878=input.readString().value;val879=input.readString().value;this.map_strstr[key878]=val879}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};FeedBackParam.prototype.write=function(output){output.writeStructBegin("FeedBackParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.fb!==null&&this.fb!==undefined){output.writeFieldBegin("fb",Thrift.Type.STRUCT,2);this.fb.write(output);output.writeFieldEnd()}if(this.map_strstr!==null&&this.map_strstr!==undefined){output.writeFieldBegin("map_strstr",Thrift.Type.MAP,3);output.writeMapBegin(Thrift.Type.STRING,Thrift.Type.STRING,Thrift.objectLength(this.map_strstr));for(var kiter880 in this.map_strstr){if(this.map_strstr.hasOwnProperty(kiter880)){var viter881=this.map_strstr[kiter880];output.writeString(kiter880);output.writeString(viter881)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};FeedBackRet=function FeedBackRet(args){this.code=null;this.what=null;this.helpRlt=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.helpRlt!==undefined&&args.helpRlt!==null){this.helpRlt=Thrift.copyList(args.helpRlt,[SystemHelp])}}};FeedBackRet.prototype={};FeedBackRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size882=0;var _rtmp3886;this.helpRlt=[];var _etype885=0;_rtmp3886=input.readListBegin();_etype885=_rtmp3886.etype;_size882=_rtmp3886.size;for(var _i887=0;_i887<_size882;++_i887){var elem888=null;elem888=new SystemHelp;elem888.read(input);this.helpRlt.push(elem888)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};FeedBackRet.prototype.write=function(output){output.writeStructBegin("FeedBackRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.helpRlt!==null&&this.helpRlt!==undefined){output.writeFieldBegin("helpRlt",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.helpRlt.length);for(var iter889 in this.helpRlt){if(this.helpRlt.hasOwnProperty(iter889)){iter889=this.helpRlt[iter889];iter889.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CacheParam=function CacheParam(args){this.type=null;this.value_str1=null;this.value_str2=null;this.value_str3=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value_str1!==undefined&&args.value_str1!==null){this.value_str1=args.value_str1}if(args.value_str2!==undefined&&args.value_str2!==null){this.value_str2=args.value_str2}if(args.value_str3!==undefined&&args.value_str3!==null){this.value_str3=args.value_str3}}};CacheParam.prototype={};CacheParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.value_str1=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value_str2=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.value_str3=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CacheParam.prototype.write=function(output){output.writeStructBegin("CacheParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value_str1!==null&&this.value_str1!==undefined){output.writeFieldBegin("value_str1",Thrift.Type.STRING,2);output.writeString(this.value_str1);output.writeFieldEnd()}if(this.value_str2!==null&&this.value_str2!==undefined){output.writeFieldBegin("value_str2",Thrift.Type.STRING,3);output.writeString(this.value_str2);output.writeFieldEnd()}if(this.value_str3!==null&&this.value_str3!==undefined){output.writeFieldBegin("value_str3",Thrift.Type.STRING,4);output.writeString(this.value_str3);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CacheRet=function CacheRet(args){this.code=null;this.what=null;this.value=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value!==undefined&&args.value!==null){this.value=args.value}}};CacheRet.prototype={};CacheRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CacheRet.prototype.write=function(output){output.writeStructBegin("CacheRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value!==null&&this.value!==undefined){output.writeFieldBegin("value",Thrift.Type.STRING,3);output.writeString(this.value);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};VerifyMessageParam=function VerifyMessageParam(args){this.type=null;this.buddyRequest=null;this.buddyResponse=null;this.groupRequest=null;this.groupResponse=null;this.inviteRequest=null;this.inviteResponse=null;this.dissolveRequest=null;this.memberExitRequest=null;this.kickoutRequest=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.buddyRequest!==undefined&&args.buddyRequest!==null){this.buddyRequest=new BuddyVerifyRequest(args.buddyRequest)}if(args.buddyResponse!==undefined&&args.buddyResponse!==null){this.buddyResponse=new BuddyVerifyResponse(args.buddyResponse)}if(args.groupRequest!==undefined&&args.groupRequest!==null){this.groupRequest=new GroupVerifyRequest(args.groupRequest)}if(args.groupResponse!==undefined&&args.groupResponse!==null){this.groupResponse=new GroupVerifyResponse(args.groupResponse)}if(args.inviteRequest!==undefined&&args.inviteRequest!==null){this.inviteRequest=new GroupInviteRequest(args.inviteRequest)}if(args.inviteResponse!==undefined&&args.inviteResponse!==null){this.inviteResponse=new GroupInviteResponse(args.inviteResponse)}if(args.dissolveRequest!==undefined&&args.dissolveRequest!==null){this.dissolveRequest=new GroupDissolveRequest(args.dissolveRequest)}if(args.memberExitRequest!==undefined&&args.memberExitRequest!==null){this.memberExitRequest=new GroupMemberExitRequest(args.memberExitRequest)}if(args.kickoutRequest!==undefined&&args.kickoutRequest!==null){this.kickoutRequest=new GroupMemberKickoutRequest(args.kickoutRequest)}}};VerifyMessageParam.prototype={};VerifyMessageParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.buddyRequest=new BuddyVerifyRequest;this.buddyRequest.read(input)}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.buddyResponse=new BuddyVerifyResponse;this.buddyResponse.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.groupRequest=new GroupVerifyRequest;this.groupRequest.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.groupResponse=new GroupVerifyResponse;this.groupResponse.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.inviteRequest=new GroupInviteRequest;this.inviteRequest.read(input)}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.inviteResponse=new GroupInviteResponse;this.inviteResponse.read(input)}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRUCT){this.dissolveRequest=new GroupDissolveRequest;this.dissolveRequest.read(input)}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRUCT){this.memberExitRequest=new GroupMemberExitRequest;this.memberExitRequest.read(input)}else{input.skip(ftype)}break;case 10:if(ftype==Thrift.Type.STRUCT){this.kickoutRequest=new GroupMemberKickoutRequest;this.kickoutRequest.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyMessageParam.prototype.write=function(output){output.writeStructBegin("VerifyMessageParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.buddyRequest!==null&&this.buddyRequest!==undefined){output.writeFieldBegin("buddyRequest",Thrift.Type.STRUCT,2);this.buddyRequest.write(output);output.writeFieldEnd()}if(this.buddyResponse!==null&&this.buddyResponse!==undefined){output.writeFieldBegin("buddyResponse",Thrift.Type.STRUCT,3);this.buddyResponse.write(output);output.writeFieldEnd()}if(this.groupRequest!==null&&this.groupRequest!==undefined){output.writeFieldBegin("groupRequest",Thrift.Type.STRUCT,4);this.groupRequest.write(output);output.writeFieldEnd()}if(this.groupResponse!==null&&this.groupResponse!==undefined){output.writeFieldBegin("groupResponse",Thrift.Type.STRUCT,5);this.groupResponse.write(output);output.writeFieldEnd()}if(this.inviteRequest!==null&&this.inviteRequest!==undefined){output.writeFieldBegin("inviteRequest",Thrift.Type.STRUCT,6);this.inviteRequest.write(output);output.writeFieldEnd()}if(this.inviteResponse!==null&&this.inviteResponse!==undefined){output.writeFieldBegin("inviteResponse",Thrift.Type.STRUCT,7);this.inviteResponse.write(output);output.writeFieldEnd()}if(this.dissolveRequest!==null&&this.dissolveRequest!==undefined){output.writeFieldBegin("dissolveRequest",Thrift.Type.STRUCT,8);this.dissolveRequest.write(output);output.writeFieldEnd()}if(this.memberExitRequest!==null&&this.memberExitRequest!==undefined){output.writeFieldBegin("memberExitRequest",Thrift.Type.STRUCT,9);this.memberExitRequest.write(output);output.writeFieldEnd()}if(this.kickoutRequest!==null&&this.kickoutRequest!==undefined){output.writeFieldBegin("kickoutRequest",Thrift.Type.STRUCT,10);this.kickoutRequest.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};VerifyMessageRet=function VerifyMessageRet(args){this.code=null;this.what=null;this.value64=null;this.value16=null;this.groupPageTimestampMap=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.value16!==undefined&&args.value16!==null){this.value16=args.value16}if(args.groupPageTimestampMap!==undefined&&args.groupPageTimestampMap!==null){this.groupPageTimestampMap=Thrift.copyMap(args.groupPageTimestampMap,[null])}}};VerifyMessageRet.prototype={};VerifyMessageRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I16){this.value16=input.readI16().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.MAP){var _size890=0;var _rtmp3894;this.groupPageTimestampMap={};var _ktype891=0;var _vtype892=0;_rtmp3894=input.readMapBegin();_ktype891=_rtmp3894.ktype;_vtype892=_rtmp3894.vtype;_size890=_rtmp3894.size;for(var _i895=0;_i895<_size890;++_i895){if(_i895>0){if(input.rstack.length>input.rpos[input.rpos.length-1]+1){input.rstack.pop()}}var key896=null;var val897=null;key896=input.readI16().value;val897=input.readI64().value;this.groupPageTimestampMap[key896]=val897}input.readMapEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};VerifyMessageRet.prototype.write=function(output){output.writeStructBegin("VerifyMessageRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,3);output.writeI64(this.value64);output.writeFieldEnd()}if(this.value16!==null&&this.value16!==undefined){output.writeFieldBegin("value16",Thrift.Type.I16,4);output.writeI16(this.value16);output.writeFieldEnd()}if(this.groupPageTimestampMap!==null&&this.groupPageTimestampMap!==undefined){output.writeFieldBegin("groupPageTimestampMap",Thrift.Type.MAP,5);output.writeMapBegin(Thrift.Type.I16,Thrift.Type.I64,Thrift.objectLength(this.groupPageTimestampMap));for(var kiter898 in this.groupPageTimestampMap){if(this.groupPageTimestampMap.hasOwnProperty(kiter898)){var viter899=this.groupPageTimestampMap[kiter898];output.writeI16(kiter898);output.writeI64(viter899)}}output.writeMapEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};BadWordRet=function BadWordRet(args){this.code=null;this.what=null;this.ts=null;this.words=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.ts!==undefined&&args.ts!==null){this.ts=args.ts}if(args.words!==undefined&&args.words!==null){this.words=Thrift.copyList(args.words,[Words])}}};BadWordRet.prototype={};BadWordRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.ts=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.LIST){var _size900=0;var _rtmp3904;this.words=[];var _etype903=0;_rtmp3904=input.readListBegin();_etype903=_rtmp3904.etype;_size900=_rtmp3904.size;for(var _i905=0;_i905<_size900;++_i905){var elem906=null;elem906=new Words;elem906.read(input);this.words.push(elem906)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};BadWordRet.prototype.write=function(output){output.writeStructBegin("BadWordRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.ts!==null&&this.ts!==undefined){output.writeFieldBegin("ts",Thrift.Type.I64,3);output.writeI64(this.ts);output.writeFieldEnd()}if(this.words!==null&&this.words!==undefined){output.writeFieldBegin("words",Thrift.Type.LIST,4);output.writeListBegin(Thrift.Type.STRUCT,this.words.length);for(var iter907 in this.words){if(this.words.hasOwnProperty(iter907)){iter907=this.words[iter907];iter907.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetVerifyCodeParam=function GetVerifyCodeParam(args){this.operType=null;this.user=null;this.sdkid=null;this.tzone=null;this.deviceinfo=null;this.country=null;this.markSign=null;this.lang=null;this.inviteCode=null;if(args){if(args.operType!==undefined&&args.operType!==null){this.operType=args.operType}if(args.user!==undefined&&args.user!==null){this.user=args.user}if(args.sdkid!==undefined&&args.sdkid!==null){this.sdkid=args.sdkid}if(args.tzone!==undefined&&args.tzone!==null){this.tzone=args.tzone}if(args.deviceinfo!==undefined&&args.deviceinfo!==null){this.deviceinfo=args.deviceinfo}if(args.country!==undefined&&args.country!==null){this.country=args.country}if(args.markSign!==undefined&&args.markSign!==null){this.markSign=args.markSign}if(args.lang!==undefined&&args.lang!==null){this.lang=args.lang}if(args.inviteCode!==undefined&&args.inviteCode!==null){this.inviteCode=args.inviteCode}}};GetVerifyCodeParam.prototype={};GetVerifyCodeParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.operType=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.user=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.sdkid=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I32){this.tzone=input.readI32().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRING){this.deviceinfo=input.readString().value}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRING){this.country=input.readString().value}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRING){this.markSign=input.readString().value}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.STRING){this.lang=input.readString().value}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRING){this.inviteCode=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetVerifyCodeParam.prototype.write=function(output){output.writeStructBegin("GetVerifyCodeParam");if(this.operType!==null&&this.operType!==undefined){output.writeFieldBegin("operType",Thrift.Type.BYTE,1);output.writeByte(this.operType);output.writeFieldEnd()}if(this.user!==null&&this.user!==undefined){output.writeFieldBegin("user",Thrift.Type.STRING,2);output.writeString(this.user);output.writeFieldEnd()}if(this.sdkid!==null&&this.sdkid!==undefined){output.writeFieldBegin("sdkid",Thrift.Type.I64,3);output.writeI64(this.sdkid);output.writeFieldEnd()}if(this.tzone!==null&&this.tzone!==undefined){output.writeFieldBegin("tzone",Thrift.Type.I32,4);output.writeI32(this.tzone);output.writeFieldEnd()}if(this.deviceinfo!==null&&this.deviceinfo!==undefined){output.writeFieldBegin("deviceinfo",Thrift.Type.STRING,5);output.writeString(this.deviceinfo);output.writeFieldEnd()}if(this.country!==null&&this.country!==undefined){output.writeFieldBegin("country",Thrift.Type.STRING,6);output.writeString(this.country);output.writeFieldEnd()}if(this.markSign!==null&&this.markSign!==undefined){output.writeFieldBegin("markSign",Thrift.Type.STRING,7);output.writeString(this.markSign);output.writeFieldEnd()}if(this.lang!==null&&this.lang!==undefined){output.writeFieldBegin("lang",Thrift.Type.STRING,8);output.writeString(this.lang);output.writeFieldEnd()}if(this.inviteCode!==null&&this.inviteCode!==undefined){output.writeFieldBegin("inviteCode",Thrift.Type.STRING,9);output.writeString(this.inviteCode);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GetVerifyCodeResult=function GetVerifyCodeResult(args){this.code=null;this.what=null;this.reregistryTimeout=null;this.inviteCodeID=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.reregistryTimeout!==undefined&&args.reregistryTimeout!==null){this.reregistryTimeout=args.reregistryTimeout}if(args.inviteCodeID!==undefined&&args.inviteCodeID!==null){this.inviteCodeID=args.inviteCodeID}}};GetVerifyCodeResult.prototype={};GetVerifyCodeResult.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I32){this.reregistryTimeout=input.readI32().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.inviteCodeID=input.readI64().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GetVerifyCodeResult.prototype.write=function(output){output.writeStructBegin("GetVerifyCodeResult");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.reregistryTimeout!==null&&this.reregistryTimeout!==undefined){output.writeFieldBegin("reregistryTimeout",Thrift.Type.I32,3);output.writeI32(this.reregistryTimeout);output.writeFieldEnd()}if(this.inviteCodeID!==null&&this.inviteCodeID!==undefined){output.writeFieldBegin("inviteCodeID",Thrift.Type.I64,4);output.writeI64(this.inviteCodeID);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UserServiceParam=function UserServiceParam(args){this.type=null;this.userContact=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.userContact!==undefined&&args.userContact!==null){this.userContact=new UserContact(args.userContact)}}};UserServiceParam.prototype={};UserServiceParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.userContact=new UserContact;this.userContact.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UserServiceParam.prototype.write=function(output){output.writeStructBegin("UserServiceParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.userContact!==null&&this.userContact!==undefined){output.writeFieldBegin("userContact",Thrift.Type.STRUCT,2);this.userContact.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};UserServiceRet=function UserServiceRet(args){this.code=null;this.what=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}}};UserServiceRet.prototype={};UserServiceRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};UserServiceRet.prototype.write=function(output){output.writeStructBegin("UserServiceRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OAuthAppInfoRet=function OAuthAppInfoRet(args){this.appName=null;this.appIcon=null;this.scope=null;this.silentAuth=null;if(args){if(args.appName!==undefined&&args.appName!==null){this.appName=args.appName}if(args.appIcon!==undefined&&args.appIcon!==null){this.appIcon=args.appIcon}if(args.scope!==undefined&&args.scope!==null){this.scope=args.scope}if(args.silentAuth!==undefined&&args.silentAuth!==null){this.silentAuth=args.silentAuth}}};OAuthAppInfoRet.prototype={};OAuthAppInfoRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.STRING){this.appName=input.readString().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.appIcon=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I32){this.scope=input.readI32().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BYTE){this.silentAuth=input.readByte().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OAuthAppInfoRet.prototype.write=function(output){output.writeStructBegin("OAuthAppInfoRet");if(this.appName!==null&&this.appName!==undefined){output.writeFieldBegin("appName",Thrift.Type.STRING,1);output.writeString(this.appName);output.writeFieldEnd()}if(this.appIcon!==null&&this.appIcon!==undefined){output.writeFieldBegin("appIcon",Thrift.Type.STRING,2);output.writeString(this.appIcon);output.writeFieldEnd()}if(this.scope!==null&&this.scope!==undefined){output.writeFieldBegin("scope",Thrift.Type.I32,3);output.writeI32(this.scope);output.writeFieldEnd()}if(this.silentAuth!==null&&this.silentAuth!==undefined){output.writeFieldBegin("silentAuth",Thrift.Type.BYTE,4);output.writeByte(this.silentAuth);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OauthParam=function OauthParam(args){this.type=null;this.validateParam=null;this.value_str=null;this.authCode=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.validateParam!==undefined&&args.validateParam!==null){this.validateParam=new QrcodeValidateParam(args.validateParam)}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}if(args.authCode!==undefined&&args.authCode!==null){this.authCode=new AuthCodeParam(args.authCode)}}};OauthParam.prototype={};OauthParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.validateParam=new QrcodeValidateParam;this.validateParam.read(input)}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.authCode=new AuthCodeParam;this.authCode.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OauthParam.prototype.write=function(output){output.writeStructBegin("OauthParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.validateParam!==null&&this.validateParam!==undefined){output.writeFieldBegin("validateParam",Thrift.Type.STRUCT,2);this.validateParam.write(output);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,3);output.writeString(this.value_str);output.writeFieldEnd()}if(this.authCode!==null&&this.authCode!==undefined){output.writeFieldBegin("authCode",Thrift.Type.STRUCT,4);this.authCode.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};OauthRet=function OauthRet(args){this.code=null;this.what=null;this.appInfo=null;this.value_str=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.appInfo!==undefined&&args.appInfo!==null){this.appInfo=new OAuthAppInfoRet(args.appInfo)}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}}};OauthRet.prototype={};OauthRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.appInfo=new OAuthAppInfoRet;this.appInfo.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};OauthRet.prototype.write=function(output){output.writeStructBegin("OauthRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.appInfo!==null&&this.appInfo!==undefined){output.writeFieldBegin("appInfo",Thrift.Type.STRUCT,3);this.appInfo.write(output);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,4);output.writeString(this.value_str);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupFileParam=function GroupFileParam(args){this.type=null;this.groupFile=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.groupFile!==undefined&&args.groupFile!==null){this.groupFile=new GroupFile(args.groupFile)}}};GroupFileParam.prototype={};GroupFileParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.groupFile=new GroupFile;this.groupFile.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupFileParam.prototype.write=function(output){output.writeStructBegin("GroupFileParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.groupFile!==null&&this.groupFile!==undefined){output.writeFieldBegin("groupFile",Thrift.Type.STRUCT,2);this.groupFile.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupFileRet=function GroupFileRet(args){this.code=null;this.what=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}}};GroupFileRet.prototype={};GroupFileRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupFileRet.prototype.write=function(output){output.writeStructBegin("GroupFileRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};QrCodeRet=function QrCodeRet(args){this.code=null;this.msg=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.msg!==undefined&&args.msg!==null){this.msg=args.msg}}};QrCodeRet.prototype={};QrCodeRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I64){this.code=input.readI64().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.msg=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};QrCodeRet.prototype.write=function(output){output.writeStructBegin("QrCodeRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I64,1);output.writeI64(this.code);output.writeFieldEnd()}if(this.msg!==null&&this.msg!==undefined){output.writeFieldBegin("msg",Thrift.Type.STRING,2);output.writeString(this.msg);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupParam=function GroupParam(args){this.type=null;this.value64_1=null;this.value64_2=null;this.groupAnnounce=null;this.announceQueryParam=null;this.groupForbid=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.groupAnnounce!==undefined&&args.groupAnnounce!==null){this.groupAnnounce=new GroupAnnouncement(args.groupAnnounce)}if(args.announceQueryParam!==undefined&&args.announceQueryParam!==null){this.announceQueryParam=new GroupAnnouncementParam(args.announceQueryParam)}if(args.groupForbid!==undefined&&args.groupForbid!==null){this.groupForbid=new GroupForbid(args.groupForbid)}}};GroupParam.prototype={};GroupParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRUCT){this.groupAnnounce=new GroupAnnouncement;this.groupAnnounce.read(input)}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.STRUCT){this.announceQueryParam=new GroupAnnouncementParam;this.announceQueryParam.read(input)}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.STRUCT){this.groupForbid=new GroupForbid;this.groupForbid.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupParam.prototype.write=function(output){output.writeStructBegin("GroupParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,2);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.groupAnnounce!==null&&this.groupAnnounce!==undefined){output.writeFieldBegin("groupAnnounce",Thrift.Type.STRUCT,4);this.groupAnnounce.write(output);output.writeFieldEnd()}if(this.announceQueryParam!==null&&this.announceQueryParam!==undefined){output.writeFieldBegin("announceQueryParam",Thrift.Type.STRUCT,5);this.announceQueryParam.write(output);output.writeFieldEnd()}if(this.groupForbid!==null&&this.groupForbid!==undefined){output.writeFieldBegin("groupForbid",Thrift.Type.STRUCT,6);this.groupForbid.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};GroupRet=function GroupRet(args){this.code=null;this.what=null;this.announceList=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.announceList!==undefined&&args.announceList!==null){this.announceList=Thrift.copyList(args.announceList,[GroupAnnouncement])}}};GroupRet.prototype={};GroupRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size908=0;var _rtmp3912;this.announceList=[];var _etype911=0;_rtmp3912=input.readListBegin();_etype911=_rtmp3912.etype;_size908=_rtmp3912.size;for(var _i913=0;_i913<_size908;++_i913){var elem914=null;elem914=new GroupAnnouncement;elem914.read(input);this.announceList.push(elem914)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};GroupRet.prototype.write=function(output){output.writeStructBegin("GroupRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.announceList!==null&&this.announceList!==undefined){output.writeFieldBegin("announceList",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.announceList.length);for(var iter915 in this.announceList){if(this.announceList.hasOwnProperty(iter915)){iter915=this.announceList[iter915];iter915.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CustomerParam=function CustomerParam(args){this.type=null;this.value64_1=null;this.value64_2=null;this.value8=null;this.value32=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value64_1!==undefined&&args.value64_1!==null){this.value64_1=args.value64_1}if(args.value64_2!==undefined&&args.value64_2!==null){this.value64_2=args.value64_2}if(args.value8!==undefined&&args.value8!==null){this.value8=args.value8}if(args.value32!==undefined&&args.value32!==null){this.value32=args.value32}}};CustomerParam.prototype={};CustomerParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.I64){this.value64_1=input.readI64().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.I64){this.value64_2=input.readI64().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.BYTE){this.value8=input.readByte().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.I32){this.value32=input.readI32().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CustomerParam.prototype.write=function(output){output.writeStructBegin("CustomerParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value64_1!==null&&this.value64_1!==undefined){output.writeFieldBegin("value64_1",Thrift.Type.I64,2);output.writeI64(this.value64_1);output.writeFieldEnd()}if(this.value64_2!==null&&this.value64_2!==undefined){output.writeFieldBegin("value64_2",Thrift.Type.I64,3);output.writeI64(this.value64_2);output.writeFieldEnd()}if(this.value8!==null&&this.value8!==undefined){output.writeFieldBegin("value8",Thrift.Type.BYTE,4);output.writeByte(this.value8);output.writeFieldEnd()}if(this.value32!==null&&this.value32!==undefined){output.writeFieldBegin("value32",Thrift.Type.I32,5);output.writeI32(this.value32);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};CustomerRet=function CustomerRet(args){this.code=null;this.what=null;this.value_bool=null;this.value64=null;this.smallUserBeans=null;this.customerPoolBeans=null;this.messageBean=null;this.smallApps=null;this.AppCustomerInfo=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value_bool!==undefined&&args.value_bool!==null){this.value_bool=args.value_bool}if(args.value64!==undefined&&args.value64!==null){this.value64=args.value64}if(args.smallUserBeans!==undefined&&args.smallUserBeans!==null){this.smallUserBeans=Thrift.copyList(args.smallUserBeans,[SmallUserBean])}if(args.customerPoolBeans!==undefined&&args.customerPoolBeans!==null){this.customerPoolBeans=Thrift.copyList(args.customerPoolBeans,[CustomerPoolBean])}if(args.messageBean!==undefined&&args.messageBean!==null){this.messageBean=new MessageBean(args.messageBean)}if(args.smallApps!==undefined&&args.smallApps!==null){this.smallApps=Thrift.copyList(args.smallApps,[SmallEntAppInfo])}if(args.AppCustomerInfo!==undefined&&args.AppCustomerInfo!==null){this.AppCustomerInfo=new AppCustomerServiceInfo(args.AppCustomerInfo)}}};CustomerRet.prototype={};CustomerRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.BOOL){this.value_bool=input.readBool().value}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.I64){this.value64=input.readI64().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size916=0;var _rtmp3920;this.smallUserBeans=[];var _etype919=0;_rtmp3920=input.readListBegin();_etype919=_rtmp3920.etype;_size916=_rtmp3920.size;for(var _i921=0;_i921<_size916;++_i921){var elem922=null;elem922=new SmallUserBean;elem922.read(input);this.smallUserBeans.push(elem922)}input.readListEnd()}else{input.skip(ftype)}break;case 6:if(ftype==Thrift.Type.LIST){var _size923=0;var _rtmp3927;this.customerPoolBeans=[];var _etype926=0;_rtmp3927=input.readListBegin();_etype926=_rtmp3927.etype;_size923=_rtmp3927.size;for(var _i928=0;_i928<_size923;++_i928){var elem929=null;elem929=new CustomerPoolBean;elem929.read(input);this.customerPoolBeans.push(elem929)}input.readListEnd()}else{input.skip(ftype)}break;case 7:if(ftype==Thrift.Type.STRUCT){this.messageBean=new MessageBean;this.messageBean.read(input)}else{input.skip(ftype)}break;case 8:if(ftype==Thrift.Type.LIST){var _size930=0;var _rtmp3934;this.smallApps=[];var _etype933=0;_rtmp3934=input.readListBegin();_etype933=_rtmp3934.etype;_size930=_rtmp3934.size;for(var _i935=0;_i935<_size930;++_i935){var elem936=null;elem936=new SmallEntAppInfo;elem936.read(input);this.smallApps.push(elem936)}input.readListEnd()}else{input.skip(ftype)}break;case 9:if(ftype==Thrift.Type.STRUCT){this.AppCustomerInfo=new AppCustomerServiceInfo;this.AppCustomerInfo.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};CustomerRet.prototype.write=function(output){output.writeStructBegin("CustomerRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value_bool!==null&&this.value_bool!==undefined){output.writeFieldBegin("value_bool",Thrift.Type.BOOL,3);output.writeBool(this.value_bool);output.writeFieldEnd()}if(this.value64!==null&&this.value64!==undefined){output.writeFieldBegin("value64",Thrift.Type.I64,4);output.writeI64(this.value64);output.writeFieldEnd()}if(this.smallUserBeans!==null&&this.smallUserBeans!==undefined){output.writeFieldBegin("smallUserBeans",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRUCT,this.smallUserBeans.length);for(var iter937 in this.smallUserBeans){if(this.smallUserBeans.hasOwnProperty(iter937)){iter937=this.smallUserBeans[iter937];iter937.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.customerPoolBeans!==null&&this.customerPoolBeans!==undefined){output.writeFieldBegin("customerPoolBeans",Thrift.Type.LIST,6);output.writeListBegin(Thrift.Type.STRUCT,this.customerPoolBeans.length);for(var iter938 in this.customerPoolBeans){if(this.customerPoolBeans.hasOwnProperty(iter938)){iter938=this.customerPoolBeans[iter938];iter938.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.messageBean!==null&&this.messageBean!==undefined){output.writeFieldBegin("messageBean",Thrift.Type.STRUCT,7);this.messageBean.write(output);output.writeFieldEnd()}if(this.smallApps!==null&&this.smallApps!==undefined){output.writeFieldBegin("smallApps",Thrift.Type.LIST,8);output.writeListBegin(Thrift.Type.STRUCT,this.smallApps.length);for(var iter939 in this.smallApps){if(this.smallApps.hasOwnProperty(iter939)){iter939=this.smallApps[iter939];iter939.write(output)}}output.writeListEnd();output.writeFieldEnd()}if(this.AppCustomerInfo!==null&&this.AppCustomerInfo!==undefined){output.writeFieldBegin("AppCustomerInfo",Thrift.Type.STRUCT,9);this.AppCustomerInfo.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};BeforeLoginParam=function BeforeLoginParam(args){this.type=null;this.value_str_1=null;this.value_str_2=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value_str_1!==undefined&&args.value_str_1!==null){this.value_str_1=args.value_str_1}if(args.value_str_2!==undefined&&args.value_str_2!==null){this.value_str_2=args.value_str_2}}};BeforeLoginParam.prototype={};BeforeLoginParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.value_str_1=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value_str_2=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};BeforeLoginParam.prototype.write=function(output){output.writeStructBegin("BeforeLoginParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value_str_1!==null&&this.value_str_1!==undefined){output.writeFieldBegin("value_str_1",Thrift.Type.STRING,2);output.writeString(this.value_str_1);output.writeFieldEnd()}if(this.value_str_2!==null&&this.value_str_2!==undefined){output.writeFieldBegin("value_str_2",Thrift.Type.STRING,3);output.writeString(this.value_str_2);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};BeforeLoginRet=function BeforeLoginRet(args){this.code=null;this.what=null;this.value_str=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}}};BeforeLoginRet.prototype={};BeforeLoginRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};BeforeLoginRet.prototype.write=function(output){output.writeStructBegin("BeforeLoginRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,3);output.writeString(this.value_str);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LoginSParam=function LoginSParam(args){this.type=null;this.value8=null;this.accountType=null;this.value_str=null;this.macAddrs=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.value8!==undefined&&args.value8!==null){this.value8=args.value8}if(args.accountType!==undefined&&args.accountType!==null){this.accountType=new AccountType(args.accountType)}if(args.value_str!==undefined&&args.value_str!==null){this.value_str=args.value_str}if(args.macAddrs!==undefined&&args.macAddrs!==null){this.macAddrs=Thrift.copyList(args.macAddrs,[null])}}};LoginSParam.prototype={};LoginSParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.BYTE){this.value8=input.readByte().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.STRUCT){this.accountType=new AccountType;this.accountType.read(input)}else{input.skip(ftype)}break;case 4:if(ftype==Thrift.Type.STRING){this.value_str=input.readString().value}else{input.skip(ftype)}break;case 5:if(ftype==Thrift.Type.LIST){var _size940=0;var _rtmp3944;this.macAddrs=[];var _etype943=0;_rtmp3944=input.readListBegin();_etype943=_rtmp3944.etype;_size940=_rtmp3944.size;for(var _i945=0;_i945<_size940;++_i945){var elem946=null;elem946=input.readString().value;this.macAddrs.push(elem946)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LoginSParam.prototype.write=function(output){output.writeStructBegin("LoginSParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.value8!==null&&this.value8!==undefined){output.writeFieldBegin("value8",Thrift.Type.BYTE,2);output.writeByte(this.value8);output.writeFieldEnd()}if(this.accountType!==null&&this.accountType!==undefined){output.writeFieldBegin("accountType",Thrift.Type.STRUCT,3);this.accountType.write(output);output.writeFieldEnd()}if(this.value_str!==null&&this.value_str!==undefined){output.writeFieldBegin("value_str",Thrift.Type.STRING,4);output.writeString(this.value_str);output.writeFieldEnd()}if(this.macAddrs!==null&&this.macAddrs!==undefined){output.writeFieldBegin("macAddrs",Thrift.Type.LIST,5);output.writeListBegin(Thrift.Type.STRING,this.macAddrs.length);for(var iter947 in this.macAddrs){if(this.macAddrs.hasOwnProperty(iter947)){iter947=this.macAddrs[iter947];output.writeString(iter947)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};LoginSRet=function LoginSRet(args){this.code=null;this.what=null;this.loginRecordList=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.loginRecordList!==undefined&&args.loginRecordList!==null){this.loginRecordList=Thrift.copyList(args.loginRecordList,[LoginRecord])}}};LoginSRet.prototype={};LoginSRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size948=0;var _rtmp3952;this.loginRecordList=[];var _etype951=0;_rtmp3952=input.readListBegin();_etype951=_rtmp3952.etype;_size948=_rtmp3952.size;for(var _i953=0;_i953<_size948;++_i953){var elem954=null;elem954=new LoginRecord;elem954.read(input);this.loginRecordList.push(elem954)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};LoginSRet.prototype.write=function(output){output.writeStructBegin("LoginSRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.loginRecordList!==null&&this.loginRecordList!==undefined){output.writeFieldBegin("loginRecordList",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.loginRecordList.length);for(var iter955 in this.loginRecordList){if(this.loginRecordList.hasOwnProperty(iter955)){iter955=this.loginRecordList[iter955];iter955.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};ChatParam=function ChatParam(args){this.type=null;this.sessionInfo=null;if(args){if(args.type!==undefined&&args.type!==null){this.type=args.type}if(args.sessionInfo!==undefined&&args.sessionInfo!==null){this.sessionInfo=new SessionInfo(args.sessionInfo)}}};ChatParam.prototype={};ChatParam.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.BYTE){this.type=input.readByte().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRUCT){this.sessionInfo=new SessionInfo;this.sessionInfo.read(input)}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};ChatParam.prototype.write=function(output){output.writeStructBegin("ChatParam");if(this.type!==null&&this.type!==undefined){output.writeFieldBegin("type",Thrift.Type.BYTE,1);output.writeByte(this.type);output.writeFieldEnd()}if(this.sessionInfo!==null&&this.sessionInfo!==undefined){output.writeFieldBegin("sessionInfo",Thrift.Type.STRUCT,2);this.sessionInfo.write(output);output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};ChatRet=function ChatRet(args){this.code=null;this.what=null;this.sessionList=null;if(args){if(args.code!==undefined&&args.code!==null){this.code=args.code}if(args.what!==undefined&&args.what!==null){this.what=args.what}if(args.sessionList!==undefined&&args.sessionList!==null){this.sessionList=Thrift.copyList(args.sessionList,[SessionInfo])}}};ChatRet.prototype={};ChatRet.prototype.read=function(input){input.readStructBegin();while(true){var ret=input.readFieldBegin();var fname=ret.fname;var ftype=ret.ftype;var fid=ret.fid;if(ftype==Thrift.Type.STOP){break}switch(fid){case 1:if(ftype==Thrift.Type.I32){this.code=input.readI32().value}else{input.skip(ftype)}break;case 2:if(ftype==Thrift.Type.STRING){this.what=input.readString().value}else{input.skip(ftype)}break;case 3:if(ftype==Thrift.Type.LIST){var _size956=0;var _rtmp3960;this.sessionList=[];var _etype959=0;_rtmp3960=input.readListBegin();_etype959=_rtmp3960.etype;_size956=_rtmp3960.size;for(var _i961=0;_i961<_size956;++_i961){var elem962=null;elem962=new SessionInfo;elem962.read(input);this.sessionList.push(elem962)}input.readListEnd()}else{input.skip(ftype)}break;default:input.skip(ftype);}input.readFieldEnd()}input.readStructEnd();return};ChatRet.prototype.write=function(output){output.writeStructBegin("ChatRet");if(this.code!==null&&this.code!==undefined){output.writeFieldBegin("code",Thrift.Type.I32,1);output.writeI32(this.code);output.writeFieldEnd()}if(this.what!==null&&this.what!==undefined){output.writeFieldBegin("what",Thrift.Type.STRING,2);output.writeString(this.what);output.writeFieldEnd()}if(this.sessionList!==null&&this.sessionList!==undefined){output.writeFieldBegin("sessionList",Thrift.Type.LIST,3);output.writeListBegin(Thrift.Type.STRUCT,this.sessionList.length);for(var iter963 in this.sessionList){if(this.sessionList.hasOwnProperty(iter963)){iter963=this.sessionList[iter963];iter963.write(output)}}output.writeListEnd();output.writeFieldEnd()}output.writeFieldStop();output.writeStructEnd();return};
|