-
Notifications
You must be signed in to change notification settings - Fork 41
/
DeliveryOptions .cs
39 lines (33 loc) · 1.34 KB
/
DeliveryOptions .cs
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
38
39
namespace KenticoCloud.Delivery
{
/// <summary>
/// Keeps settings which are provided by customer or have default values, used in <see cref="DeliveryClient"/>.
/// </summary>
public class DeliveryOptions
{
/// <summary>
/// Gets or sets the Production endpoint address.
/// </summary>
public string ProductionEndpoint { get; set; } = "https://deliver.kenticocloud.com/{0}";
/// <summary>
/// Gets or sets the Preview endpoint address.
/// </summary>
public string PreviewEndpoint { get; set; } = "https://preview-deliver.kenticocloud.com/{0}";
/// <summary>
/// Gets or sets the Project identifier.
/// </summary>
public string ProjectId { get; set; }
/// <summary>
/// Gets or sets the Preview API key.
/// </summary>
public string PreviewApiKey { get; set; }
/// <summary>
/// Gets or sets whether the Preview API should be used. If TRUE, <see cref="PreviewApiKey"/> needs to be set as well.
/// </summary>
public bool UsePreviewApi { get; set; }
/// <summary>
/// Set to true if you want to wait for updated content. It should be used when you are acting upon a webhook call.
/// </summary>
public bool WaitForLoadingNewContent { get; set; }
}
}