Class CommentDefinition
public class CommentDefinition : IParsable
- Inheritance
-
CommentDefinition
- Implements
-
IParsable
- Derived
- Inherited Members
Properties
Body
The comment content. A \n
indicates a new line, e.g.: Hey\nAharon
will be a 2 lines comment.
public string? Body { get; set; }
Property Value
ClientCreatedAt
The date and time the comment was created by the client, in the following format: YYYY-MM-DDThh:mm:ss.sz.
public string? ClientCreatedAt { get; }
Property Value
ClientUpdatedAt
The last date and time the comment was updated by the client, in the following format: YYYY-MM-DDThh:mm:ss.sz.
public DateTimeOffset? ClientUpdatedAt { get; }
Property Value
CreatedAt
The date and time the comment was created, in the following format: YYYY-MM-DDThh:mm:ss.sz.
public DateTimeOffset? CreatedAt { get; }
Property Value
CreatedBy
The Autodesk ID of the user who created the comment.
public string? CreatedBy { get; }
Property Value
DeletedAt
The date and time the comment was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz.
public DateTimeOffset? DeletedAt { get; }
Property Value
Id
The comment ID.
public Guid? Id { get; set; }
Property Value
- Guid?
PermittedActions
The permittedActions property
public List<string>? PermittedActions { get; }
Property Value
PermittedAttributes
The permittedAttributes property
public List<string>? PermittedAttributes { get; }
Property Value
UpdatedAt
The last date and time the comment was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz.
public DateTimeOffset? UpdatedAt { get; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static CommentDefinition CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
GetFieldDeserializers()
The deserialization information for the current model
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
Returns
- IDictionary<string, Action<IParseNode>>
A IDictionary<string, Action<IParseNode>>
Serialize(ISerializationWriter)
Serializes information the current object
public virtual void Serialize(ISerializationWriter writer)
Parameters
writer
ISerializationWriterSerialization writer to use to serialize this model