Exemple #1
0
        /// <summary>
        ///  Updates the feature state if allowed.
        /// </summary>
        /// <exception cref="IO.FeatureHub.SSE.Client.ApiException">Thrown when fails to make API call</exception>
        /// <param name="sdkUrl">The SDK key for the Model.Environment and service account</param>
        /// <param name="featureKey">The key you wish to update/action</param>
        /// <param name="featureStateUpdate"></param>
        /// <returns>Task of object</returns>
        public async System.Threading.Tasks.Task <object> SetFeatureStateAsync(string sdkUrl, string featureKey, FeatureStateUpdate featureStateUpdate)
        {
            IO.FeatureHub.SSE.Client.ApiResponse <object> localVarResponse = await SetFeatureStateAsyncWithHttpInfo(sdkUrl, featureKey, featureStateUpdate);

            return(localVarResponse.Data);
        }
Exemple #2
0
 /// <summary>
 ///  Updates the feature state if allowed.
 /// </summary>
 /// <exception cref="IO.FeatureHub.SSE.Client.ApiException">Thrown when fails to make API call</exception>
 /// <param name="sdkUrl">The SDK key for the Model.Environment and service account</param>
 /// <param name="featureKey">The key you wish to update/action</param>
 /// <param name="featureStateUpdate"></param>
 /// <returns>object</returns>
 public object SetFeatureState(string sdkUrl, string featureKey, FeatureStateUpdate featureStateUpdate)
 {
     IO.FeatureHub.SSE.Client.ApiResponse <object> localVarResponse = SetFeatureStateWithHttpInfo(sdkUrl, featureKey, featureStateUpdate);
     return(localVarResponse.Data);
 }