Type.registerNamespace('NotificationWebServices');
NotificationWebServices.ToggleNotification=function() {
NotificationWebServices.ToggleNotification.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NotificationWebServices.ToggleNotification.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NotificationWebServices.ToggleNotification._staticInstance.get_path();},
Notification:function(customId,memberId,typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Notification',false,{customId:customId,memberId:memberId,typeId:typeId},succeededCallback,failedCallback,userContext); },
RemoveNotificationType:function(memberId,typeId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'RemoveNotificationType',false,{memberId:memberId,typeId:typeId},succeededCallback,failedCallback,userContext); }}
NotificationWebServices.ToggleNotification.registerClass('NotificationWebServices.ToggleNotification',Sys.Net.WebServiceProxy);
NotificationWebServices.ToggleNotification._staticInstance = new NotificationWebServices.ToggleNotification();
NotificationWebServices.ToggleNotification.set_path = function(value) { NotificationWebServices.ToggleNotification._staticInstance.set_path(value); }
NotificationWebServices.ToggleNotification.get_path = function() { return NotificationWebServices.ToggleNotification._staticInstance.get_path(); }
NotificationWebServices.ToggleNotification.set_timeout = function(value) { NotificationWebServices.ToggleNotification._staticInstance.set_timeout(value); }
NotificationWebServices.ToggleNotification.get_timeout = function() { return NotificationWebServices.ToggleNotification._staticInstance.get_timeout(); }
NotificationWebServices.ToggleNotification.set_defaultUserContext = function(value) { NotificationWebServices.ToggleNotification._staticInstance.set_defaultUserContext(value); }
NotificationWebServices.ToggleNotification.get_defaultUserContext = function() { return NotificationWebServices.ToggleNotification._staticInstance.get_defaultUserContext(); }
NotificationWebServices.ToggleNotification.set_defaultSucceededCallback = function(value) { NotificationWebServices.ToggleNotification._staticInstance.set_defaultSucceededCallback(value); }
NotificationWebServices.ToggleNotification.get_defaultSucceededCallback = function() { return NotificationWebServices.ToggleNotification._staticInstance.get_defaultSucceededCallback(); }
NotificationWebServices.ToggleNotification.set_defaultFailedCallback = function(value) { NotificationWebServices.ToggleNotification._staticInstance.set_defaultFailedCallback(value); }
NotificationWebServices.ToggleNotification.get_defaultFailedCallback = function() { return NotificationWebServices.ToggleNotification._staticInstance.get_defaultFailedCallback(); }
NotificationWebServices.ToggleNotification.set_path("/Webservices/ToggleNotification.asmx");
NotificationWebServices.ToggleNotification.Notification= function(customId,memberId,typeId,onSuccess,onFailed,userContext) {NotificationWebServices.ToggleNotification._staticInstance.Notification(customId,memberId,typeId,onSuccess,onFailed,userContext); }
NotificationWebServices.ToggleNotification.RemoveNotificationType= function(memberId,typeId,onSuccess,onFailed,userContext) {NotificationWebServices.ToggleNotification._staticInstance.RemoveNotificationType(memberId,typeId,onSuccess,onFailed,userContext); }
