Table of Contents

Class CommentDefinition

Namespace
Autodesk.ACC.Issues.Models
Assembly
Autodesk.ACC.Issues.dll
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

string

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

string

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

DateTimeOffset?

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

DateTimeOffset?

CreatedBy

The Autodesk ID of the user who created the comment.

public string? CreatedBy { get; }

Property Value

string

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

DateTimeOffset?

Id

The comment ID.

public Guid? Id { get; set; }

Property Value

Guid?

PermittedActions

The permittedActions property

public List<string>? PermittedActions { get; }

Property Value

List<string>

PermittedAttributes

The permittedAttributes property

public List<string>? PermittedAttributes { get; }

Property Value

List<string>

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

DateTimeOffset?

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static CommentDefinition CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

CommentDefinition

A CommentDefinition

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 ISerializationWriter

Serialization writer to use to serialize this model