Type.registerNamespace('VideoShow');
VideoShow.TagWebservice=function() {
VideoShow.TagWebservice.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VideoShow.TagWebservice.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VideoShow.TagWebservice._staticInstance.get_path();},
GetTagsForVideo:function(videoId,succeededCallback, failedCallback, userContext) {
/// <param name="videoId" 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(), 'GetTagsForVideo',false,{videoId:videoId},succeededCallback,failedCallback,userContext); },
UpdateTagsForVideo:function(videoId,tagsText,succeededCallback, failedCallback, userContext) {
/// <param name="videoId" type="Number">System.Int32</param>
/// <param name="tagsText" 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(), 'UpdateTagsForVideo',false,{videoId:videoId,tagsText:tagsText},succeededCallback,failedCallback,userContext); }}
VideoShow.TagWebservice.registerClass('VideoShow.TagWebservice',Sys.Net.WebServiceProxy);
VideoShow.TagWebservice._staticInstance = new VideoShow.TagWebservice();
VideoShow.TagWebservice.set_path = function(value) {
VideoShow.TagWebservice._staticInstance.set_path(value); }
VideoShow.TagWebservice.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return VideoShow.TagWebservice._staticInstance.get_path();}
VideoShow.TagWebservice.set_timeout = function(value) {
VideoShow.TagWebservice._staticInstance.set_timeout(value); }
VideoShow.TagWebservice.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return VideoShow.TagWebservice._staticInstance.get_timeout(); }
VideoShow.TagWebservice.set_defaultUserContext = function(value) { 
VideoShow.TagWebservice._staticInstance.set_defaultUserContext(value); }
VideoShow.TagWebservice.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return VideoShow.TagWebservice._staticInstance.get_defaultUserContext(); }
VideoShow.TagWebservice.set_defaultSucceededCallback = function(value) { 
 VideoShow.TagWebservice._staticInstance.set_defaultSucceededCallback(value); }
VideoShow.TagWebservice.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return VideoShow.TagWebservice._staticInstance.get_defaultSucceededCallback(); }
VideoShow.TagWebservice.set_defaultFailedCallback = function(value) { 
VideoShow.TagWebservice._staticInstance.set_defaultFailedCallback(value); }
VideoShow.TagWebservice.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return VideoShow.TagWebservice._staticInstance.get_defaultFailedCallback(); }
VideoShow.TagWebservice.set_path("/Webservices/TagWebservice.asmx");
VideoShow.TagWebservice.GetTagsForVideo= function(videoId,onSuccess,onFailed,userContext) {
/// <param name="videoId" 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>
VideoShow.TagWebservice._staticInstance.GetTagsForVideo(videoId,onSuccess,onFailed,userContext); }
VideoShow.TagWebservice.UpdateTagsForVideo= function(videoId,tagsText,onSuccess,onFailed,userContext) {
/// <param name="videoId" type="Number">System.Int32</param>
/// <param name="tagsText" 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>
VideoShow.TagWebservice._staticInstance.UpdateTagsForVideo(videoId,tagsText,onSuccess,onFailed,userContext); }
