Search Results for

    Show / Hide Table of Contents

    Class ContentFileUpdateRequest

    Request to update a content file

    Inheritance
    object
    ContentFileUpdateRequestBase
    ContentFileUpdateRequest
    Inherited Members
    ContentFileUpdateRequestBase.FileTransferId
    ContentFileUpdateRequestBase.IngestFile
    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 ContentFileUpdateRequest : ContentFileUpdateRequestBase

    Properties

    AcceptableLayerUnassignments

    Allow removal of given Layers from Content if needed. Ignored when AllowAnyLayerUnassignment is enabled.

    Declaration
    [JsonProperty("acceptableLayerUnassignments", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public ICollection<string> AcceptableLayerUnassignments { get; set; }
    Property Value
    ICollection<string>

    AllowAnyLayerUnassignment

    When enabled, content file update will take place regardless of any layers that are not compatible with updated ContentSchemaId.
    For better safety, consider using AcceptableLayerUnassignments instead.

    Declaration
    [JsonProperty("allowAnyLayerUnassignment", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool AllowAnyLayerUnassignment { get; set; }
    Property Value
    bool

    AllowContentTypeChange

    Whether ContentType is allowed to change. This is needed if the newly uploaded file is of a different type (e.g. ".jpg" is replaced by ".svg")

    Declaration
    [JsonProperty("allowContentTypeChange", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool AllowContentTypeChange { get; set; }
    Property Value
    bool

    NotifyProgress

    Indicates if progress should be shown to user.

    Declaration
    [JsonProperty("notifyProgress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
    public bool NotifyProgress { get; set; }
    Property Value
    bool

    Methods

    FromJson(string)

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

    Returns
    ContentFileUpdateRequest

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX