Class ContentFileUpdateRequest
Request to update a content file
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Syntax
public class ContentFileUpdateRequest : ContentFileUpdateRequestBase
Properties
AcceptableLayerUnassignments
Allow removal of given Layers from Content if needed. Ignored when AllowAnyLayerUnassignment is enabled.
Declaration
public ICollection<string> AcceptableLayerUnassignments { get; set; }
Property Value
System.Collections.Generic.ICollection<System.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
public bool AllowAnyLayerUnassignment { get; set; }
Property Value
System.Boolean
|
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
public bool AllowContentTypeChange { get; set; }
Property Value
System.Boolean
|
Methods
FromJson(String)
Declaration
public static ContentFileUpdateRequest FromJson(string data)
Parameters
System.String
data
|
Returns
ContentFileUpdateRequest
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|