Class CreateShareRequest
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
Represents the request object for sharing an asset with a user or group. One (and only one) of email or groupId is required (alongside accessLevel).
public class CreateShareRequest
- Inheritance
-
CreateShareRequest
- Inherited Members
Properties
AccessLevel
Gets or sets the access level for this specific share. Required.
public AccessLevel AccessLevel { get; set; }
Property Value
CcMe
Gets or Sets whether to CC yourself in emails.
public bool? CcMe { get; set; }
Property Value
- bool?
Gets or sets the primary email address of a user to share to. Must be provided if GroupId is not provided.
public string? Email { get; set; }
Property Value
GroupId
Gets or sets the ID of the group to share to. Must be provided if Email is not provided.
public long? GroupId { get; set; }
Property Value
- long?
Message
Gets or sets the message included in the body of the email that is optionally sent to the recipient.
public string? Message { get; set; }
Property Value
Subject
Gets or sets the subject of the email that is optionally sent to notify the recipient.
public string? Subject { get; set; }