Type.registerNamespace('TVAGoogle.common.services');
TVAGoogle.common.services.Regions=function() {
TVAGoogle.common.services.Regions.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
TVAGoogle.common.services.Regions.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return TVAGoogle.common.services.Regions._staticInstance.get_path();},
GetRegions:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'GetRegions',false,{},succeededCallback,failedCallback,userContext); },
GetRegionCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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(), 'GetRegionCompletionList',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetRegionCode:function(pCode,succeededCallback, failedCallback, userContext) {
/// <param name="pCode" 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(), 'GetRegionCode',false,{pCode:pCode},succeededCallback,failedCallback,userContext); }}
TVAGoogle.common.services.Regions.registerClass('TVAGoogle.common.services.Regions',Sys.Net.WebServiceProxy);
TVAGoogle.common.services.Regions._staticInstance = new TVAGoogle.common.services.Regions();
TVAGoogle.common.services.Regions.set_path = function(value) {
TVAGoogle.common.services.Regions._staticInstance.set_path(value); }
TVAGoogle.common.services.Regions.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return TVAGoogle.common.services.Regions._staticInstance.get_path();}
TVAGoogle.common.services.Regions.set_timeout = function(value) {
TVAGoogle.common.services.Regions._staticInstance.set_timeout(value); }
TVAGoogle.common.services.Regions.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return TVAGoogle.common.services.Regions._staticInstance.get_timeout(); }
TVAGoogle.common.services.Regions.set_defaultUserContext = function(value) { 
TVAGoogle.common.services.Regions._staticInstance.set_defaultUserContext(value); }
TVAGoogle.common.services.Regions.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return TVAGoogle.common.services.Regions._staticInstance.get_defaultUserContext(); }
TVAGoogle.common.services.Regions.set_defaultSucceededCallback = function(value) { 
 TVAGoogle.common.services.Regions._staticInstance.set_defaultSucceededCallback(value); }
TVAGoogle.common.services.Regions.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return TVAGoogle.common.services.Regions._staticInstance.get_defaultSucceededCallback(); }
TVAGoogle.common.services.Regions.set_defaultFailedCallback = function(value) { 
TVAGoogle.common.services.Regions._staticInstance.set_defaultFailedCallback(value); }
TVAGoogle.common.services.Regions.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return TVAGoogle.common.services.Regions._staticInstance.get_defaultFailedCallback(); }
TVAGoogle.common.services.Regions.set_path("/common/services/Regions.asmx");
TVAGoogle.common.services.Regions.GetRegions= function(onSuccess,onFailed,userContext) {
/// <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>
TVAGoogle.common.services.Regions._staticInstance.GetRegions(onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Regions.GetRegionCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" 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>
TVAGoogle.common.services.Regions._staticInstance.GetRegionCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
TVAGoogle.common.services.Regions.GetRegionCode= function(pCode,onSuccess,onFailed,userContext) {
/// <param name="pCode" 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>
TVAGoogle.common.services.Regions._staticInstance.GetRegionCode(pCode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TVAGoogle.common.data');
if (typeof(TVAGoogle.common.data.Region) === 'undefined') {
TVAGoogle.common.data.Region=gtc("TVAGoogle.common.data.Region");
TVAGoogle.common.data.Region.registerClass('TVAGoogle.common.data.Region');
}
