Search Results for

    Show / Hide Table of Contents

    Class ContentCreateRequest

    Request to create a content

    Inheritance
    object
    ContentCreateRequest
    Inherited Members
    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 ContentCreateRequest

    Properties

    Content

    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
    object

    ContentPermissionSetIds

    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
    ICollection<string>

    ContentSchemaId

    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
    string

    LayerSchemaIds

    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
    ICollection<string>

    Metadata

    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
    IDictionary<string, object>

    RequestId

    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
    string

    Methods

    FromJson(string)

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

    Returns
    ContentCreateRequest

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX