-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathWatermarkCreateRequest.cs
More file actions
52 lines (42 loc) · 1.68 KB
/
WatermarkCreateRequest.cs
File metadata and controls
52 lines (42 loc) · 1.68 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
using Newtonsoft.Json;
using System.Collections.Generic;
namespace CloudConvert.API.Models.TaskOperations
{
public class WatermarkCreateRequest
{
[JsonProperty("operation")]
public static string Operation = "watermark";
/// <summary>
/// The input task name(s) for this task.
/// input: string | string[];
/// </summary>
[JsonProperty("input")]
public dynamic Input { get; set; }
/// <summary>
/// If not set, the extension of the input file is used as input format
/// </summary>
[JsonProperty("input_format", NullValueHandling = NullValueHandling.Ignore)]
public string Input_Format { get; set; }
[JsonProperty("engine", NullValueHandling = NullValueHandling.Ignore)]
public string Engine { get; set; }
[JsonProperty("engine_version", NullValueHandling = NullValueHandling.Ignore)]
public string Engine_Version { get; set; }
/// <summary>
/// Choose a filename (including extension) for the output file.
/// </summary>
[JsonProperty("filename", NullValueHandling = NullValueHandling.Ignore)]
public string Filename { get; set; }
/// <summary>
/// Timeout in seconds after the task will be cancelled.
/// </summary>
[JsonProperty("timeout", NullValueHandling = NullValueHandling.Ignore)]
public int? Timeout { get; set; }
/// <summary>
/// Conversion and engine specific options. Depends on input_format and output_format.
/// Select input and output format above to show additional conversion options.
/// </summary>
[JsonExtensionData]
[JsonProperty("options", NullValueHandling = NullValueHandling.Ignore)]
public Dictionary<string, object> Options { get; set; }
}
}