Class ContentCreateRequest
Request to create a content
Inheritance
ContentCreateRequest
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NJsonSchema", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class ContentCreateRequest
Properties
The content data of the content. It's an object of dynamic metadata whose structure is defined in the Content schema identified by the ContentSchemaId property.
Declaration
[JsonProperty("content", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public object Content { get; set; }
Property Value
An optional list of content permission set IDs which control content permissions. These permissions control content accessibility for the users that do not own the content.
Declaration
[JsonProperty("contentPermissionSetIds", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> ContentPermissionSetIds { get; set; }
Property Value
The ID of the content schema. The SchemaType of the specified schema must be Content.
The schema specifies the structure of the Content dictionary.
Declaration
[JsonProperty("contentSchemaId", Required = Required.Always)]
[Required]
public string ContentSchemaId { get; set; }
Property Value
An optional list of IDs of the schemas that form the layers of the content.
The SchemaType of the specified schemas must be Layer.
Declaration
[JsonProperty("layerSchemaIds", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ICollection<string> LayerSchemaIds { get; set; }
Property Value
The dynamic data structure matching the field schematics of the schemas with type layer (LayerSchemaIds).
The metadata belonging to the layers of the content. It's a dictionary of dynamic metadata whose structure is defined in the Layer schemas identified
by the LayerSchemaIds property.
Declaration
[JsonProperty("metadata", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public IDictionary<string, object> Metadata { get; set; }
Property Value
Optional client reference for this request.
Will be returned back in response to make easier for clients to match request items with the respective results.
It is not persisted anywhere and it is ignored in single operations.
Declaration
[JsonProperty("requestId", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string RequestId { get; set; }
Property Value
Methods
Declaration
public static ContentCreateRequest FromJson(string data)
Parameters
Returns