Chilas.Algolia.Analytics/AnalyticRateLimitType.cs
/// <summary>
/// Gets the parameter for the resource endpoint based on the searchtype selected
/// </summary>
/// <param name="rateLimitType"></param>
/// <returns></returns>
Gets the parameter for the resource endpoint based on the searchtype selected
Gets the parameter for the resource endpoint based on the searchtype selected
private static string GetSearchResource(AnalyticRateLimitType rateLimitType)
        {
            switch (rateLimitType)
            {
                case AnalyticRateLimitType.TopIps:
                    return "ips";
                default:
                    throw new AlgoliaException("Invalid Rate Limit Feature Selected");
            }
        }
private static string GetSearchResource ( AnalyticRateLimitType rateLimitType ) { switch ( rateLimitType ) { case AnalyticRateLimitType . TopIps : return " " ; default : throw new AlgoliaException ( " " ) ; } }
Gets the parameter for the resource endpoint based on the searchtype selected
Gets the parameter for the resource endpoint based on the searchtype selected
None
rateLimitType
AnalyticRateLimitType
None