WebHookRequest.cs
950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
using System;
using System.Collections.Generic;
using System.Text;
namespace Contentful.Core.Models.Management
{
/// <summary>
/// Represents a request to a web hook.
/// </summary>
public class WebhookRequest
{
/// <summary>
/// The url this request called.
/// </summary>
public string Url { get; set; }
/// <summary>
/// The headers that were sent with the request.
/// </summary>
public Dictionary<string, string> Headers { get; set; }
/// <summary>
/// The body of the request.
/// </summary>
public string Body { get; set; }
/// <summary>
/// The http method that the request was called with.
/// </summary>
public string Method { get; set; }
/// <summary>
/// The configured timeout of the request.
/// </summary>
public int Timeout { get; set; }
}
}