Table of Contents

Class BaseCompany

Namespace
Autodesk.ACC.AccountAdmin.Models
Assembly
Autodesk.ACC.AccountAdmin.dll

Company attributes used for both project and account companies.

public class BaseCompany : IParsable
Inheritance
BaseCompany
Implements
IParsable
Derived
Inherited Members

Constructors

BaseCompany()

Instantiates a new BaseCompany and sets the default values.

public BaseCompany()

Properties

AccountId

The identifier of the account this company is associated with.

public Guid? AccountId { get; }

Property Value

Guid?

Addresses

The company addresses.

public List<Address>? Addresses { get; set; }

Property Value

List<Address>

CreatedAt

The timestamp when this company was created.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

Description

The description of the company.

public string? Description { get; set; }

Property Value

string

ErpId

The ERP Partner Company ID.

public string? ErpId { get; set; }

Property Value

string

Id

Id of the company.

public Guid? Id { get; }

Property Value

Guid?

ImageUrl

The URL of the image associated to the company.

public string? ImageUrl { get; }

Property Value

string

Name

The name of the company. The company name should be unique under an account.

public string? Name { get; set; }

Property Value

string

OriginalName

Original name of the company. Only returned when a company is deleted, since, in this case, the company "name" will be updated to "removed at MMDDYYYY".

public UntypedNode? OriginalName { get; }

Property Value

UntypedNode

Status

The status of the company.

public BaseCompany_status? Status { get; }

Property Value

BaseCompany_status?

TaxId

The Tax ID.

public string? TaxId { get; set; }

Property Value

string

Trade

Trade or company type based on specialization.

public string? Trade { get; set; }

Property Value

string

UpdatedAt

The timestamp when this company was last updated. This will only reflect changes to the company fields and not changes to any resources in the company.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

WebsiteUrl

The URL of the company website.

public string? WebsiteUrl { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static BaseCompany CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

BaseCompany

A BaseCompany

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