Type.registerNamespace('CoachDirectoryService');
CoachDirectoryService.ICoachDirectoryService=function() {
CoachDirectoryService.ICoachDirectoryService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
CoachDirectoryService.ICoachDirectoryService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_path();},
GetCoachesInDirectoryByBoundingBox:function(isUsat,minLat,maxLat,minLon,maxLon,succeededCallback, failedCallback, userContext) {
/// <param name="isUsat" type="Boolean">System.Boolean</param>
/// <param name="minLat" type="Number">System.Double</param>
/// <param name="maxLat" type="Number">System.Double</param>
/// <param name="minLon" type="Number">System.Double</param>
/// <param name="maxLon" type="Number">System.Double</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(), 'GetCoachesInDirectoryByBoundingBox',true,{isUsat:isUsat,minLat:minLat,maxLat:maxLat,minLon:minLon,maxLon:maxLon},succeededCallback,failedCallback,userContext); },
GetCoachesInDirectoryAdvanced:function(isUsat,filterBoundingBox,minLat,maxLat,minLon,maxLon,discipline,location,certificationLevel,succeededCallback, failedCallback, userContext) {
/// <param name="isUsat" type="Boolean">System.Boolean</param>
/// <param name="filterBoundingBox" type="Boolean">System.Boolean</param>
/// <param name="minLat" type="Number">System.Double</param>
/// <param name="maxLat" type="Number">System.Double</param>
/// <param name="minLon" type="Number">System.Double</param>
/// <param name="maxLon" type="Number">System.Double</param>
/// <param name="discipline" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="certificationLevel" 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(), 'GetCoachesInDirectoryAdvanced',true,{isUsat:isUsat,filterBoundingBox:filterBoundingBox,minLat:minLat,maxLat:maxLat,minLon:minLon,maxLon:maxLon,discipline:discipline,location:location,certificationLevel:certificationLevel},succeededCallback,failedCallback,userContext); }}
CoachDirectoryService.ICoachDirectoryService.registerClass('CoachDirectoryService.ICoachDirectoryService',Sys.Net.WebServiceProxy);
CoachDirectoryService.ICoachDirectoryService._staticInstance = new CoachDirectoryService.ICoachDirectoryService();
CoachDirectoryService.ICoachDirectoryService.set_path = function(value) {
CoachDirectoryService.ICoachDirectoryService._staticInstance.set_path(value); }
CoachDirectoryService.ICoachDirectoryService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_path();}
CoachDirectoryService.ICoachDirectoryService.set_timeout = function(value) {
CoachDirectoryService.ICoachDirectoryService._staticInstance.set_timeout(value); }
CoachDirectoryService.ICoachDirectoryService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_timeout(); }
CoachDirectoryService.ICoachDirectoryService.set_defaultUserContext = function(value) { 
CoachDirectoryService.ICoachDirectoryService._staticInstance.set_defaultUserContext(value); }
CoachDirectoryService.ICoachDirectoryService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_defaultUserContext(); }
CoachDirectoryService.ICoachDirectoryService.set_defaultSucceededCallback = function(value) { 
 CoachDirectoryService.ICoachDirectoryService._staticInstance.set_defaultSucceededCallback(value); }
CoachDirectoryService.ICoachDirectoryService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_defaultSucceededCallback(); }
CoachDirectoryService.ICoachDirectoryService.set_defaultFailedCallback = function(value) { 
CoachDirectoryService.ICoachDirectoryService._staticInstance.set_defaultFailedCallback(value); }
CoachDirectoryService.ICoachDirectoryService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return CoachDirectoryService.ICoachDirectoryService._staticInstance.get_defaultFailedCallback(); }
CoachDirectoryService.ICoachDirectoryService.set_path("/ui/coachdirectory/CoachDirectoryService.svc");
CoachDirectoryService.ICoachDirectoryService.GetCoachesInDirectoryByBoundingBox= function(isUsat,minLat,maxLat,minLon,maxLon,onSuccess,onFailed,userContext) {
/// <param name="isUsat" type="Boolean">System.Boolean</param>
/// <param name="minLat" type="Number">System.Double</param>
/// <param name="maxLat" type="Number">System.Double</param>
/// <param name="minLon" type="Number">System.Double</param>
/// <param name="maxLon" type="Number">System.Double</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>
CoachDirectoryService.ICoachDirectoryService._staticInstance.GetCoachesInDirectoryByBoundingBox(isUsat,minLat,maxLat,minLon,maxLon,onSuccess,onFailed,userContext); }
CoachDirectoryService.ICoachDirectoryService.GetCoachesInDirectoryAdvanced= function(isUsat,filterBoundingBox,minLat,maxLat,minLon,maxLon,discipline,location,certificationLevel,onSuccess,onFailed,userContext) {
/// <param name="isUsat" type="Boolean">System.Boolean</param>
/// <param name="filterBoundingBox" type="Boolean">System.Boolean</param>
/// <param name="minLat" type="Number">System.Double</param>
/// <param name="maxLat" type="Number">System.Double</param>
/// <param name="minLon" type="Number">System.Double</param>
/// <param name="maxLon" type="Number">System.Double</param>
/// <param name="discipline" type="String">System.String</param>
/// <param name="location" type="String">System.String</param>
/// <param name="certificationLevel" 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>
CoachDirectoryService.ICoachDirectoryService._staticInstance.GetCoachesInDirectoryAdvanced(isUsat,filterBoundingBox,minLat,maxLat,minLon,maxLon,discipline,location,certificationLevel,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TrainingPeaks');
if (typeof(TrainingPeaks.Coach) === 'undefined') {
TrainingPeaks.Coach=gtc("Coach:http://schemas.datacontract.org/2004/07/TrainingPeaks");
TrainingPeaks.Coach.registerClass('TrainingPeaks.Coach');
}
