public OptInSearchResponse QueryOptIns(OptInQueryRequest request, Credentials creds = null)
 {
     return(ApiRequest.DoGetRequestWithQueryParameters <OptInSearchResponse>(
                ApiRequest.GetBaseUri(ApiRequest.UriType.Rest, "/sc/us/alert/opt-in/query/json"),
                ApiRequest.AuthType.Query,
                request,
                creds ?? Credentials));
 }
 public OptInSearchResponse QueryOptIns(OptInQueryRequest request, Credentials creds = null)
 {
     return(QueryOptInsAsync(request, creds).GetAwaiter().GetResult());
 }