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