Table of Contents

Class IssueDefinition

Namespace
Autodesk.ACC.Issues.Models
Assembly
Autodesk.ACC.Issues.dll
public class IssueDefinition : IParsable
Inheritance
IssueDefinition
Implements
IParsable
Derived
Inherited Members

Properties

AssignedTo

The unique Autodesk ID of the member, company, or role of the current assignee for this issue. Note that if you select an assignee ID, you also need to select a type (assignedToType).

public string? AssignedTo { get; set; }

Property Value

string

AssignedToType

The type of the current assignee of this issue. Possible values: user, company, role, null. Note that if you select a type, you also need to select the assignee ID (assignedTo).

public string? AssignedToType { get; set; }

Property Value

string

AttachmentCount

The attachmentCount property

public int? AttachmentCount { get; }

Property Value

int?

ClosedAt

The date and time the issue was closed, in ISO8601 format.

public DateTimeOffset? ClosedAt { get; }

Property Value

DateTimeOffset?

ClosedBy

The unique identifier of the user who closed the issue.

public string? ClosedBy { get; }

Property Value

string

CommentCount

The number of comments in this issue.

public int? CommentCount { get; }

Property Value

int?

ContainerId

The containerId property

public Guid? ContainerId { get; }

Property Value

Guid?

CreatedAt

The date and time the issue was created, in ISO8601 format.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

CreatedBy

The unique identifier of the user who created the issue.

public string? CreatedBy { get; }

Property Value

string

CustomAttributes

A list of custom attributes of the specific issue.

public List<CustomAttributeDefinition>? CustomAttributes { get; set; }

Property Value

List<CustomAttributeDefinition>

Deleted

States whether the issue was deleted. Default value: false.

public bool? Deleted { get; set; }

Property Value

bool?

Description

The description and purpose of the issue.

public string? Description { get; set; }

Property Value

string

DisplayId

The chronological user-friendly identifier of the issue.

public int? DisplayId { get; }

Property Value

int?

DueDate

The due date of the issue, in ISO8601 format.

public Date? DueDate { get; set; }

Property Value

Date?

GpsCoordinates

A GPS Coordinate which represents the geo location of the issue.

public IssueDefinition_gpsCoordinates? GpsCoordinates { get; set; }

Property Value

IssueDefinition_gpsCoordinates

Id

The unique identifier of the issue.

public Guid? Id { get; set; }

Property Value

Guid?

IssueSubtypeId

The unique identifier of the subtype of the issue.

public Guid? IssueSubtypeId { get; set; }

Property Value

Guid?

IssueTemplateId

The issueTemplateId property

public Guid? IssueTemplateId { get; set; }

Property Value

Guid?

IssueTypeId

The unique identifier of the type of the issue.

public Guid? IssueTypeId { get; }

Property Value

Guid?

LinkedDocuments

Information about the files associated with issues (pushpins).

public List<IssueDefinition_linkedDocuments>? LinkedDocuments { get; set; }

Property Value

List<IssueDefinition_linkedDocuments>

The links property

public List<IssueDefinition_links>? Links { get; set; }

Property Value

List<IssueDefinition_links>

LocationDetails

The location as plain text that relates to the issue.

public string? LocationDetails { get; set; }

Property Value

string

LocationId

The unique LBS (Location Breakdown Structure) identifier that relates to the issue.

public Guid? LocationId { get; set; }

Property Value

Guid?

OfficialResponse

The officialResponse property

public IssueDefinition_officialResponse? OfficialResponse { get; set; }

Property Value

IssueDefinition_officialResponse

OpenedAt

The date and time the issue was opened, in ISO8601 format.

public DateTimeOffset? OpenedAt { get; }

Property Value

DateTimeOffset?

OpenedBy

The unique identifier of the user who opened the issue.

public string? OpenedBy { get; }

Property Value

string

OwnerId

The ownerId property

public string? OwnerId { get; set; }

Property Value

string

PermittedActions

The list of actions permitted for the user for this issue in its current state.Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error.Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment.The following values are not relevant: add_attachment, remove_attachment.

public IssueDefinition_permittedActions? PermittedActions { get; set; }

Property Value

IssueDefinition_permittedActions

PermittedAttributes

A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable.Possible Values: title, description, issueTypeId, issueSubtypeId, status, assignedTo, assignedToType, dueDate, locationId, locationDetails, linkedDocuments, links, ownerId, rootCauseId, officialResponse, customAttributes, snapshotUrn, startDate, published, deleted, watchers.

public List<IssueDefinition_permittedAttributes?>? PermittedAttributes { get; }

Property Value

List<IssueDefinition_permittedAttributes?>

PermittedStatuses

A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions.Possible Values: open, pending, in_review, closed.

public List<IssueDefinition_permittedStatuses?>? PermittedStatuses { get; }

Property Value

List<IssueDefinition_permittedStatuses?>

Published

States whether the issue is published. Default value: false (e.g. unpublished).

public bool? Published { get; set; }

Property Value

bool?

RootCauseId

The unique identifier of the type of root cause for the issue.

public Guid? RootCauseId { get; set; }

Property Value

Guid?

SnapshotUrn

To download a snapshot, see the following OSS Signed URL Download </en/docs/data/v2/reference/http/buckets-:bucketKey-objects-:objectName-signeds3download-GET/>_ reference.

public string? SnapshotUrn { get; set; }

Property Value

string

StartDate

The start date of the issue, in ISO8601 format.

public Date? StartDate { get; set; }

Property Value

Date?

Status

The current status of the issue.Possible values: draft, open, pending, in_progress, completed, in_review, not_approved, in_dispute, closed.

public IssueDefinition_status? Status { get; set; }

Property Value

IssueDefinition_status?

Title

The title of the issue.

public string? Title { get; set; }

Property Value

string

UpdatedAt

The date and time the issue was updated, in ISO8601 format.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

UpdatedBy

The unique identifier of the user who updated the issue.

public string? UpdatedBy { get; }

Property Value

string

Watchers

The list of watchers for the issue. To find the name of the watcher, call GET users </en/docs/acc/v1/reference/http/users-GET>_.

public List<string>? Watchers { get; set; }

Property Value

List<string>

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static IssueDefinition CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

IssueDefinition

A IssueDefinition

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