/// <summary> /// Get a client connecting to the SessionsApi of a specific endpoint. /// </summary> /// <param name="basePath">A URL to a specific endpoint, e.g. http://domain/v1/_queries/public</param> /// <returns>CellStore.Api.SessionsApi</returns> public static CellStore.Api.SessionsApi getSessionsApiClient(String basePath = "http://secxbrl.28.io/v1/_queries/public") { CellStore.Api.SessionsApi sessionApi = null; if (!sessionsApis.TryGetValue(basePath, out sessionApi)) { sessionApi = new CellStore.Api.SessionsApi(new CellStore.Client.ApiClient(basePath)); sessionsApis.Add(basePath, sessionApi); } return(sessionApi); }
/// <summary> /// Get a client connecting to the SessionsApi of a specific endpoint. /// </summary> /// <param name="basePath">A URL to a specific endpoint, e.g. http://domain/v1/_queries/public</param> /// <returns>CellStore.Api.SessionsApi</returns> public static CellStore.Api.SessionsApi getSessionsApiClient(String basePath = "http://secxbrl.28.io/v1/_queries/public") { CellStore.Api.SessionsApi sessionApi = null; if(!sessionsApis.TryGetValue(basePath, out sessionApi)) { sessionApi = new CellStore.Api.SessionsApi(new CellStore.Client.ApiClient(basePath)); sessionsApis.Add(basePath, sessionApi); } return sessionApi; }