Search Results for

    Show / Hide Table of Contents

    Class Share

    Share

    Inheritance
    object
    Share
    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 Share

    Properties

    Audit

    Audit information.

    Declaration
    [JsonProperty("audit", Required = Required.Always)]
    [Required]
    public UserAudit Audit { get; set; }
    Property Value
    UserAudit

    ContentIds

    List of shared content IDs.

    Declaration
    [JsonProperty("contentIds", Required = Required.Always)]
    [Required]
    public ICollection<string> ContentIds { get; set; }
    Property Value
    ICollection<string>

    ExpirationDate

    Date when share expires and cannot be accessed anymore.

    Declaration
    [JsonProperty("expirationDate", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public DateTime? ExpirationDate { get; set; }
    Property Value
    DateTime?

    Id

    Share ID.

    Declaration
    [JsonProperty("id", Required = Required.Always)]
    [Required]
    public string Id { get; set; }
    Property Value
    string

    IsReadOnly

    Share is readonly if the current user is not the creator but only the recipient.

    Declaration
    [JsonProperty("isReadOnly", Required = Required.Always)]
    public bool IsReadOnly { get; set; }
    Property Value
    bool

    Name

    Name of share.

    Declaration
    [JsonProperty("name", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
    public string Name { get; set; }
    Property Value
    string

    ShareType

    Type of share.

    Declaration
    [JsonProperty("shareType", Required = Required.Always)]
    [Required(AllowEmptyStrings = true)]
    [JsonConverter(typeof(StringEnumConverter))]
    public ShareType ShareType { get; set; }
    Property Value
    ShareType

    Methods

    FromJson(string)

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

    Returns
    Share

    ToJson()

    Declaration
    public string ToJson()
    Returns
    string

    Back to top Generated by DocFX