Type.registerNamespace('MillionYouWS');
MillionYouWS.TagsService=function() {
MillionYouWS.TagsService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
MillionYouWS.TagsService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return MillionYouWS.TagsService._staticInstance.get_path();},
SearchTags:function(q,succeededCallback, failedCallback, userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchTags',true,{q:q},succeededCallback,failedCallback,userContext); },
SearchUsers:function(userName,currentUserId,languageId,succeededCallback, failedCallback, userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="currentUserId" type="Number">System.Int32</param>
/// <param name="languageId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchUsers',false,{userName:userName,currentUserId:currentUserId,languageId:languageId},succeededCallback,failedCallback,userContext); },
SearchCities:function(q,languageId,succeededCallback, failedCallback, userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="languageId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'SearchCities',true,{q:q,languageId:languageId},succeededCallback,failedCallback,userContext); },
IncrementPlayedMusic:function(musicId,outputLabelId,succeededCallback, failedCallback, userContext) {
/// <param name="musicId" type="Number">System.Int32</param>
/// <param name="outputLabelId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'IncrementPlayedMusic',false,{musicId:musicId,outputLabelId:outputLabelId},succeededCallback,failedCallback,userContext); }}
MillionYouWS.TagsService.registerClass('MillionYouWS.TagsService',Sys.Net.WebServiceProxy);
MillionYouWS.TagsService._staticInstance = new MillionYouWS.TagsService();
MillionYouWS.TagsService.set_path = function(value) {
MillionYouWS.TagsService._staticInstance.set_path(value); }
MillionYouWS.TagsService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return MillionYouWS.TagsService._staticInstance.get_path();}
MillionYouWS.TagsService.set_timeout = function(value) {
MillionYouWS.TagsService._staticInstance.set_timeout(value); }
MillionYouWS.TagsService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return MillionYouWS.TagsService._staticInstance.get_timeout(); }
MillionYouWS.TagsService.set_defaultUserContext = function(value) { 
MillionYouWS.TagsService._staticInstance.set_defaultUserContext(value); }
MillionYouWS.TagsService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return MillionYouWS.TagsService._staticInstance.get_defaultUserContext(); }
MillionYouWS.TagsService.set_defaultSucceededCallback = function(value) { 
 MillionYouWS.TagsService._staticInstance.set_defaultSucceededCallback(value); }
MillionYouWS.TagsService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return MillionYouWS.TagsService._staticInstance.get_defaultSucceededCallback(); }
MillionYouWS.TagsService.set_defaultFailedCallback = function(value) { 
MillionYouWS.TagsService._staticInstance.set_defaultFailedCallback(value); }
MillionYouWS.TagsService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return MillionYouWS.TagsService._staticInstance.get_defaultFailedCallback(); }
MillionYouWS.TagsService.set_path("/MillionYouWS/TagsService.asmx");
MillionYouWS.TagsService.SearchTags= function(q,onSuccess,onFailed,userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MillionYouWS.TagsService._staticInstance.SearchTags(q,onSuccess,onFailed,userContext); }
MillionYouWS.TagsService.SearchUsers= function(userName,currentUserId,languageId,onSuccess,onFailed,userContext) {
/// <param name="userName" type="String">System.String</param>
/// <param name="currentUserId" type="Number">System.Int32</param>
/// <param name="languageId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MillionYouWS.TagsService._staticInstance.SearchUsers(userName,currentUserId,languageId,onSuccess,onFailed,userContext); }
MillionYouWS.TagsService.SearchCities= function(q,languageId,onSuccess,onFailed,userContext) {
/// <param name="q" type="String">System.String</param>
/// <param name="languageId" type="Number">System.Int32</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MillionYouWS.TagsService._staticInstance.SearchCities(q,languageId,onSuccess,onFailed,userContext); }
MillionYouWS.TagsService.IncrementPlayedMusic= function(musicId,outputLabelId,onSuccess,onFailed,userContext) {
/// <param name="musicId" type="Number">System.Int32</param>
/// <param name="outputLabelId" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
MillionYouWS.TagsService._staticInstance.IncrementPlayedMusic(musicId,outputLabelId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('K2.MillionYou.Common.Models');
if (typeof(K2.MillionYou.Common.Models.UserSearcherModel) === 'undefined') {
K2.MillionYou.Common.Models.UserSearcherModel=gtc("K2.MillionYou.Common.Models.UserSearcherModel");
K2.MillionYou.Common.Models.UserSearcherModel.registerClass('K2.MillionYou.Common.Models.UserSearcherModel');
}

