Class ContentFileUpdateRequest
Request to update a content file
Inheritance
ContentFileUpdateRequest
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
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
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
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
Indicates if progress should be shown to user.
Declaration
[JsonProperty("notifyProgress", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public bool NotifyProgress { get; set; }
Property Value
Methods
Declaration
public static ContentFileUpdateRequest FromJson(string data)
Parameters
Returns