Search Results for

    Show / Hide Table of Contents

    Class EnqueueShareContentAction

    Enqueue sharing of a content item

    Inheritance
    object
    BusinessRuleAction
    EnqueueShareContentAction
    Inherited Members
    BusinessRuleAction.TraceRefId
    BusinessRuleAction.Names
    BusinessRuleAction.Description
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    AllowShareCreation

    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
    bool

    MaxContentInShare

    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
    int?

    OutputFormatIds

    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
    object

    ShareName

    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
    string

    Methods

    FromJson(string)

    Declaration
    public static EnqueueShareContentAction FromJson(string data)
    Parameters
    string data

    Returns
    EnqueueShareContentAction

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX