public static RetrieveRelayWebhookResponse CreateFromResponse(Response response)
        {
            var result = new RetrieveRelayWebhookResponse();

            LeftRight.SetValuesToMatch(result, response);

            var results = Jsonification.DeserializeObject <dynamic>(response.Content).results;

            result.RelayWebhook = ListRelayWebhookResponse.ConvertToARelayWebhook(results);

            return(result);
        }
        public async Task <RetrieveRelayWebhookResponse> Retrieve(string id)
        {
            var request = new Request
            {
                Url    = $"/api/{client.Version}/relay-webhooks/{id}",
                Method = "GET"
            };

            var response = await requestSender.Send(request);

            if (response.StatusCode != HttpStatusCode.OK)
            {
                throw new ResponseException(response);
            }

            return(RetrieveRelayWebhookResponse.CreateFromResponse(response));
        }