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
CreatedAt
The timestamp when this company was created.
public DateTimeOffset? CreatedAt { get; }
Property Value
Description
The description of the company.
public string? Description { get; set; }
Property Value
ErpId
The ERP Partner Company ID.
public string? ErpId { get; set; }
Property Value
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
Name
The name of the company. The company name should be unique under an account.
public string? Name { get; set; }
Property Value
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
TaxId
The Tax ID.
public string? TaxId { get; set; }
Property Value
Trade
Trade or company type based on specialization.
public string? Trade { get; set; }
Property Value
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
WebsiteUrl
The URL of the company website.
public string? WebsiteUrl { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static BaseCompany 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