Class EnqueueShareContentAction
Enqueue sharing of a content item
Inheritance
EnqueueShareContentAction
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class EnqueueShareContentAction : BusinessRuleAction
Properties
If enabled, new shares will be created when all existing shares with the same name have reached MaxContentInShare. If disabled, content will be skipped when no share with available space exists.
Declaration
[JsonProperty("allowShareCreation", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool AllowShareCreation { get; set; }
Property Value
Maximum number of content items allowed in a single share. Cannot exceed 970 (if a higher value is specified, it will be set to 970). When a share reaches this limit, new content will be added to a new share if AllowShareCreation is enabled.
Declaration
[JsonProperty("maxContentInShare", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public int? MaxContentInShare { get; set; }
Property Value
Output format IDs that will be added to the share. Can be a single string (e.g., "Original") or an array of strings (e.g., ["Original", "Preview"]).
Common output formats include: Original, Preview, ThumbnailSmall, ThumbnailMedium, ThumbnailLarge, Pdf.
Declaration
[JsonProperty("outputFormatIds", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public object OutputFormatIds { get; set; }
Property Value
Name of the share where content will be added. If a share with the same name already exists, content will be added to that share. Otherwise, a new share will be created with this name if AllowShareCreation is enabled. The new share name will get a number at the end.
Declaration
[JsonProperty("shareName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string ShareName { get; set; }
Property Value
Methods
Declaration
public static EnqueueShareContentAction FromJson(string data)
Parameters
Returns