-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d2749f1
commit db609ce
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
CloudConvert.API/Models/TaskOperations/WatermarkCreateRequest.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
using System.Collections.Generic; | ||
using CloudConvert.API.Models.Enums; | ||
|
||
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; } | ||
|
||
} | ||
} |