Пример #1
0
        /// <summary>
        ///  Requests all features for this sdkurl and disconnects
        /// </summary>
        /// <exception cref="IO.FeatureHub.SSE.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="sdkUrl">The SDK urls</param>
        /// <returns>Task of List&lt;Model.Environment&gt;</returns>
        public async System.Threading.Tasks.Task <List <Model.Environment> > GetFeatureStatesAsync(List <string> sdkUrl)
        {
            IO.FeatureHub.SSE.Client.ApiResponse <List <Model.Environment> > localVarResponse = await GetFeatureStatesAsyncWithHttpInfo(sdkUrl);

            return(localVarResponse.Data);
        }
Пример #2
0
 /// <summary>
 ///  Requests all features for this sdkurl and disconnects
 /// </summary>
 /// <exception cref="IO.FeatureHub.SSE.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="sdkUrl">The SDK urls</param>
 /// <returns>List&lt;Model.Environment&gt;</returns>
 public List <Model.Environment> GetFeatureStates(List <string> sdkUrl)
 {
     IO.FeatureHub.SSE.Client.ApiResponse <List <Model.Environment> > localVarResponse = GetFeatureStatesWithHttpInfo(sdkUrl);
     return(localVarResponse.Data);
 }