public StripeArray ExecuteArray(RestRequest request)
{
request.OnBeforeDeserialization = (resp) =>
{
// for individual resources when there's an error to make
// sure that RestException props are populated
if (((int)resp.StatusCode) >= 400)
request.RootElement = "";
};
ServicePointManager.SecurityProtocol = (SecurityProtocolType)192 | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
var response = _client.Execute(request);
var json = Deserialize(response.Content);
var obj = new StripeArray();
obj.SetModel(json);
return obj;
}