### Initialize OSSFileTransfer Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.OSSFileTransfer.html Demonstrates the constructor for the OSSFileTransfer class, which requires configurations, an SDK manager, and optionally an authentication provider, environment, and logger. ```csharp public OSSFileTransfer(IFileTransferConfigurations configuration, SDKManager sdkManager, IAuthenticationProvider authenticationProvider = null, AdskEnvironment adskEnvironment = AdskEnvironment.Prd, ILogger logger = null) ``` -------------------------------- ### Get User Information Async Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Http.UsersApi.html Provides an example of how to asynchronously retrieve user information using the GetUserInfoAsync method. This method requires an authorization token and optionally allows for error handling. ```csharp public Task> GetUserInfoAsync(string authorization, bool throwOnError = true) ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ListRefsPayload.html A JavaScript snippet demonstrating how to retrieve and apply a theme from local storage, defaulting to 'auto' and checking system preferences for dark mode. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Get Object Tree Async - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Http.IMetadataApi.html Fetches the hierarchical object tree for a specified Model View within a design. This allows exploration of the design's structure and is useful for understanding relationships between design elements. The operation requires the Model View's GUID. ```csharp public async Task> GetObjectTreeAsync(string urn, string modelGuid, string acceptEncoding = null, Region? region = null, bool? xAdsForce = null, XAdsDerivativeFormat? xAdsDerivativeFormat = null, string forceget = null, int? objectid = null, string level = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### ModelViewsDataMetadata Guid Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Model.ModelViewsDataMetadata.html Represents the unique identifier (GUID) of the Model View. This property is decorated with DataMember for serialization. ```csharp [DataMember(Name = "guid", EmitDefaultValue = false)] public string Guid { get; set; } ``` -------------------------------- ### List Supported Download Formats - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Http.VersionsApi.html Lists the supported download formats for a specified version of an item. Requires project ID, version ID, and optionally user ID and access token. ```csharp public Task> GetVersionDownloadFormatsAsync(string projectId, string versionId, string xUserId = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### IssueLinkedDocumentsDetailsViewable Guid Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.Issues.Model.IssueLinkedDocumentsDetailsViewable.html Represents the ID of the viewable, which is a globally unique identifier (GUID). This property is marked with DataMember for serialization. ```C# [DataMember(Name = "guid", EmitDefaultValue = false)] public string Guid { get; set; } ``` -------------------------------- ### Initialize CompaniesApi with SDKManager Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.CompaniesApi.html Demonstrates how to create a new instance of the CompaniesApi class by passing an SDKManager object. This is the primary way to instantiate the API client. ```csharp public CompaniesApi(SDKManager sdkManager) ``` -------------------------------- ### Create Download using ProjectsApi Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Http.ProjectsApi.html Shows how to use the CreateDownloadAsync method of the ProjectsApi class to initiate a download job for a specified version. It details the parameters required, including project ID, user ID, download payload, access token, and error handling. ```csharp public Task> CreateDownloadAsync(string projectId, string xUserId = null, DownloadPayload downloadPayload = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### Completes3uploadBody.UploadKey Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Completes3uploadBody.html Gets or sets the unique identifier for the upload session, obtained from the 'Get S3 Signed Upload URL' operation. ```C# [DataMember(Name = "uploadKey", EmitDefaultValue = false)] public string UploadKey { get; set; } ``` -------------------------------- ### Get or Set Resources in CheckPermissionRelationships Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.CheckPermissionRelationships.html Gets or sets the Resources property of the CheckPermissionRelationships class. This property is of type CheckPermissionRelationshipsResources and is marked with DataMember attribute for serialization. ```csharp [DataMember(Name = "resources", EmitDefaultValue = false)] public CheckPermissionRelationshipsResources Resources { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Client.html Initializes the theme based on local storage or system preferences. It reads the 'theme' from localStorage and applies the corresponding data-bs-theme attribute to the document element. If 'auto' is selected, it checks the user's preferred color scheme. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.Projects.html Initializes the theme for the application by reading from local storage or using system preferences. It applies the 'data-bs-theme' attribute to the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Get Folder Object Count Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.TopFolderAttributesWithExtensions.html Gets the number of objects contained within the folder. This property is serialized as 'objectCount' and uses a decimal type to store the count. ```csharp [DataMember(Name = "objectCount", EmitDefaultValue = false)] public decimal ObjectCount { get; set; } ``` -------------------------------- ### CreateCompanyAsync Method Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.CompaniesApi.html Shows how to use the CreateCompanyAsync method to create a new partner company. It details the required parameters such as account ID and optional parameters like region, payload, access token, and error handling. ```csharp public Task> CreateCompanyAsync(string accountId, Region? region = null, CompanyPayload companyPayload = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### Get Folder Last Modified Time Rollup Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.TopFolderAttributesWithExtensions.html Gets the date and time when the folder or any of its children were last updated. The property is serialized using the 'lastModifiedTimeRollup' name. ```csharp [DataMember(Name = "lastModifiedTimeRollup", EmitDefaultValue = false)] public string LastModifiedTimeRollup { get; set; } ``` -------------------------------- ### Get Folder Last Modified User Name Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.TopFolderAttributesWithExtensions.html Gets the name of the user who last modified the folder. This property is serialized with the name 'lastModifiedUserName' and provides the user's name. ```csharp [DataMember(Name = "lastModifiedUserName", EmitDefaultValue = false)] public string LastModifiedUserName { get; set; } ``` -------------------------------- ### Initialize ProjectUserPayloadProducts (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUserPayloadProducts.html Initializes a new instance of the ProjectUserPayloadProducts class. This is a default constructor. ```csharp public ProjectUserPayloadProducts() ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.BucketObjects.html Initializes the theme for the document based on local storage or system preferences. It retrieves the 'theme' from localStorage, defaulting to 'auto', and applies it to the data-bs-theme attribute of the documentElement. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Project Start Date Property C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.Project.html Defines the 'startDate' property for a Project object, storing the estimated start date in ISO 8601 format. This is part of the APS .NET SDK. ```C# [DataMember(Name = "startDate", EmitDefaultValue = false)] public string StartDate { get; set; } ``` -------------------------------- ### Get and Set _2dviews Property in C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Model.JobPayloadFormatSVFAdvancedRVT.html Demonstrates how to get and set the _2dviews property, which is of type Model2dView. This property is part of the JobPayloadFormatSVFAdvancedRVT class and is used for specifying 2D view settings in the Model Derivative API. ```csharp using System.Runtime.Serialization; // ... other using statements public partial class JobPayloadFormatSVFAdvancedRVT { [DataMember(Name = "2dviews", EmitDefaultValue = true)] public Model2dView _2dviews { get; set; } } ``` -------------------------------- ### InformationalApi Constructor - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Http.InformationalApi.html Initializes a new instance of the InformationalApi class using an SDKManager object. This is the primary way to create an instance of the API client. ```csharp public InformationalApi(SDKManager sdkManager) ``` -------------------------------- ### Get Item Tip Version Async Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.DataManagementClient.html Retrieves the tip version of an item. This method is useful for getting the latest version of a specific item within a project. It supports optional parameters for user ID and access token, and allows control over error handling. ```csharp public Task GetItemTipAsync(string projectId, string itemId, string xUserId = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.IProjectUsersApi.html Initializes the theme based on local storage or system preferences. It retrieves the theme setting from localStorage and applies it to the document's data-bs-theme attribute. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.Download.html Initializes the theme based on localStorage or system preference. It sets the 'data-bs-theme' attribute on the document's root element to 'dark' or 'light'. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### AuthId Property (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Permission.html Gets or sets the Client ID of the application. This property is optional. ```csharp [DataMember(Name = "authId", EmitDefaultValue = false)] public string AuthId { get; set; } ``` -------------------------------- ### Access Property (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Permission.html Gets or sets the access level for the permission. The type is PermissionAccess. ```csharp [DataMember(Name = "access", EmitDefaultValue = true)] public PermissionAccess Access { get; set; } ``` -------------------------------- ### Theme Initialization Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Batchsigneds3uploadResponse.html Initializes the theme for the document based on localStorage or system preferences. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Downloads Class Constructor - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.Downloads.html Initializes a new instance of the Downloads class. This is a parameterless constructor. ```csharp public Downloads() ``` -------------------------------- ### Get JobPayloadFormatAdvancedIGES as String Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Model.JobPayloadFormatAdvancedIGES.html Returns the string presentation of the JobPayloadFormatAdvancedIGES object. ```csharp public override string ToString() ``` -------------------------------- ### Get Supported Scopes Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Model.OidcSpec.html Provides a list of scopes that are supported by the APS. ```csharp public List ScopesSupported { get; set; } ``` -------------------------------- ### Initialize ProjectUserDetails (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUserDetails.html Provides the constructor for the ProjectUserDetails class, used to initialize a new instance for managing user data within the APS .NET SDK. ```csharp public ProjectUserDetails() ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadFormats.html Initializes the theme based on local storage or system preferences. It sets the 'data-bs-theme' attribute on the document element to 'dark' or 'light'. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### RelationshipRefs Jsonapi Property (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.RelationshipRefs.html Gets or sets the Jsonapi version information for the resource. ```csharp [DataMember(Name = "jsonapi", EmitDefaultValue = false)] public JsonApiVersion Jsonapi { get; set; } ``` -------------------------------- ### ProjectPayload ProjectValue Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectPayload.html Gets or sets the project value. The type is ProjectPayloadProjectValue. ```C# [DataMember(Name = "projectValue", EmitDefaultValue = false)] public ProjectPayloadProjectValue ProjectValue { get; set; } ``` -------------------------------- ### Initialize StoragePayloadData - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.StoragePayloadData.html Demonstrates the default constructor for the StoragePayloadData class, used to create a new instance without any initial data. ```csharp public StoragePayloadData() ``` -------------------------------- ### PublishWithoutLinksPayloadAttributesExtension Type Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishWithoutLinksPayloadAttributesExtension.html Gets or sets the Type property for PublishWithoutLinksPayloadAttributesExtension. This property is of type TypeCommandtypePublishWithoutLinks. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommandtypePublishWithoutLinks Type { get; set; } ``` -------------------------------- ### UserProjectsApi Constructor (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.UserProjectsApi.html Initializes a new instance of the UserProjectsApi class using an SDKManager object. This is the primary way to create an instance of the API client. ```csharp public UserProjectsApi(SDKManager sdkManager) ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUserPayloadProducts.html Initializes the theme for the document based on localStorage or system preference. It sets the 'data-bs-theme' attribute on the root element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### PublishModelPayload Type Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishModelPayload.html Gets or sets the Type for the PublishModelPayload. This specifies the command type being executed. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommands Type { get; set; } ``` -------------------------------- ### PublishWithoutLinksPayload Type Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishWithoutLinksPayload.html Gets or sets the Type for the PublishWithoutLinksPayload. This specifies the command type being executed. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommands Type { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadDataAttributes.html A JavaScript snippet demonstrating how to get the theme preference from local storage and apply it to the document's data-bs-theme attribute, supporting dark mode based on system preferences. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Theme Initialization - JavaScript Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.IBusinessUnitsApi.html Initializes the theme for the application by reading from local storage or system preferences. Sets the 'data-bs-theme' attribute on the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### PublishWithoutLinksPayload Relationships Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishWithoutLinksPayload.html Gets or sets the Relationships for the PublishWithoutLinksPayload. These define how the payload relates to other entities. ```csharp [DataMember(Name = "relationships", EmitDefaultValue = false)] public PublishWithoutLinksPayloadRelationships Relationships { get; set; } ``` -------------------------------- ### Initialize DownloadPayloadData Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadPayloadData.html Initializes a new instance of the DownloadPayloadData class. This is the default constructor. ```csharp public DownloadPayloadData() ``` -------------------------------- ### Set MetaRefs RefType Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.MetaRefs.html Gets or sets the reference type for the metadata. This property is of type TypeRef. ```csharp [DataMember(Name = "refType", EmitDefaultValue = true)] public TypeRef RefType { get; set; } ``` -------------------------------- ### Theme Initialization Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.Job.html Retrieves the theme setting from local storage or defaults to 'auto'. It then applies the theme to the document's root element based on user preference or system settings. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### RefType Property - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.JsonApiRelationshipsRefsDataMeta.html Gets or sets the reference type for the meta-information. The type is ReftypesXref. ```csharp [DataMember(Name = "refType", EmitDefaultValue = true)] public ReftypesXref RefType { get; set; } ``` -------------------------------- ### Extension Property - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.JsonApiRelationshipsRefsDataMeta.html Gets or sets the extension data for the meta-information. The type is JsonApiRelationshipsRefsDataMetaExtension. ```csharp [DataMember(Name = "extension", EmitDefaultValue = false)] public JsonApiRelationshipsRefsDataMetaExtension Extension { get; set; } ``` -------------------------------- ### Initialize Theme (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.UserProjectsApi.html This JavaScript snippet initializes the theme for the application by reading the 'theme' from local storage and applying it to the document's data-bs-theme attribute. It also checks for preferred color schemes if 'auto' is selected. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Direction Property - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.JsonApiRelationshipsRefsDataMeta.html Gets or sets the direction of the meta-information for relationships. The type is MetarefsDirection. ```csharp [DataMember(Name = "direction", EmitDefaultValue = true)] public MetarefsDirection Direction { get; set; } ``` -------------------------------- ### Theme Initialization Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.ProjectUsersApi.html This snippet demonstrates how to retrieve and apply a theme setting from local storage to the document's data-bs-theme attribute, supporting 'auto' mode which checks for user's preferred color scheme. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Bucket Constructor Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Bucket.html Initializes a new instance of the Bucket class. This is a parameterless constructor. ```C# public Bucket() ``` -------------------------------- ### ProjectPayload Template Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectPayload.html Gets or sets the template associated with the project. The type is ProjectPayloadTemplate. ```C# [DataMember(Name = "template", EmitDefaultValue = false)] public ProjectPayloadTemplate Template { get; set; } ``` -------------------------------- ### Initialize Theme (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.Permission.html Initializes the theme based on local storage or system preferences. It sets the data-bs-theme attribute on the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### ProjectPayload Platform Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectPayload.html Gets or sets the platform associated with the project. The type is Platform. ```C# [DataMember(Name = "platform", EmitDefaultValue = true)] public Platform Platform { get; set; } ``` -------------------------------- ### Get User Info Endpoint Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Model.OidcSpec.html Specifies the endpoint for querying information about the authenticated user. ```csharp public string UserInfoEndpoint { get; set; } ``` -------------------------------- ### Initialize BucketsApi Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Http.BucketsApi.html Demonstrates how to initialize the BucketsApi class with an SDKManager instance. This is the first step to interacting with bucket-related functionalities. ```csharp public BucketsApi(SDKManager sdkManager) ``` -------------------------------- ### Get Token Endpoint Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Model.OidcSpec.html Retrieves the endpoint for obtaining access tokens and refresh tokens. ```csharp public string TokenEndpoint { get; set; } ``` -------------------------------- ### DownloadDataRelationshipsStorageMeta Constructor (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadDataRelationshipsStorageMeta.html Initializes a new instance of the DownloadDataRelationshipsStorageMeta class. This is a parameterless constructor. ```csharp public DownloadDataRelationshipsStorageMeta() ``` -------------------------------- ### Initialize ApsConfiguration with Environment Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.SDKManager.ApsConfiguration.html Initializes a new instance of the ApsConfiguration class with a specified AdskEnvironment. This allows setting up configuration based on a particular environment. ```csharp public ApsConfiguration(AdskEnvironment environment) ``` -------------------------------- ### Get Supported Subject Types Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Model.OidcSpec.html Lists the supported subject identifier types for APS. ```csharp public List SubjectTypesSupported { get; set; } ``` -------------------------------- ### Get Revoke Endpoint Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Authentication.Model.OidcSpec.html Specifies the endpoint used for revoking access or refresh tokens. ```csharp public string RevokeEndpoint { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadPayload.html Initializes the theme based on local storage or system preferences. It sets the data-bs-theme attribute on the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Initialize ProjectUsersApi with SDKManager Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Http.ProjectUsersApi.html Demonstrates the initialization of the ProjectUsersApi class using an SDKManager instance. This is the primary way to create an object that can interact with project user functionalities. ```csharp public ProjectUsersApi(SDKManager sdkManager) ``` -------------------------------- ### StartDate Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.Issues.Model.Issue.html Defines the start date of the issue in ISO8601 format. This property is a string. ```csharp [DataMember(Name = "startDate", EmitDefaultValue = false)] public string StartDate { get; set; } ``` -------------------------------- ### Theme Initialization Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.Issues.Model.User.html Initializes the theme based on local storage or system preferences. It applies the 'data-bs-theme' attribute to the document's root element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Meta Property - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.VersionPayloadDataRelationshipsRefsData.html Gets or sets the Meta object associated with the VersionPayloadDataRelationshipsRefsData. The type is VersionPayloadDataRelationshipsRefsDataMeta. ```csharp [DataMember(Name = "meta", EmitDefaultValue = false)] public VersionPayloadDataRelationshipsRefsDataMeta Meta { get; set; } ``` -------------------------------- ### Initialize ApsConfiguration Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.SDKManager.ApsConfiguration.html Initializes a new instance of the ApsConfiguration class. This constructor does not take any arguments. ```csharp public ApsConfiguration() ``` -------------------------------- ### RelationshipRefs Links Property (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.RelationshipRefs.html Gets or sets the links associated with the resource, using a custom JsonConverter. ```csharp [DataMember(Name = "links", EmitDefaultValue = false)] [JsonConverter(typeof(RelationshipRefsLinksConverter))] public IRelationshipRefsLinks Links { get; set; } ``` -------------------------------- ### Initialize ProjectPayloadTemplateOptions Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectPayloadTemplateOptions.html Initializes a new instance of the ProjectPayloadTemplateOptions class. This is a basic constructor for creating an object of this type. ```csharp public ProjectPayloadTemplateOptions() ``` -------------------------------- ### PublishWithoutLinksAttributesExtension Type Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishWithoutLinksAttributesExtension.html Gets or sets the Type property for the PublishWithoutLinksAttributesExtension. This property is of type TypeCommandtypePublishWithoutLinks. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommandtypePublishWithoutLinks Type { get; set; } ``` -------------------------------- ### Get/Set TopFolders Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ProjectDataRelationships.html Gets or sets the TopFolders relationship for a project. The type for this property is ProjectDataRelationshipsTopFolders. ```csharp [DataMember(Name = "topFolders", EmitDefaultValue = false)] public ProjectDataRelationshipsTopFolders TopFolders { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.UserProjectsPage.html Initializes the theme for the application based on local storage or system preferences. It reads the 'theme' from localStorage and applies it to the document's data-bs-theme attribute, defaulting to 'dark' or 'light' based on the user's system preference if 'auto' is selected. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Get/Set Submittals Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ProjectDataRelationships.html Gets or sets the Submittals relationship for a project. This property utilizes JsonApiRelationshipsLinksOnlyBim. ```csharp [DataMember(Name = "submittals", EmitDefaultValue = false)] public JsonApiRelationshipsLinksOnlyBim Submittals { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Http.html Initializes the theme based on local storage or system preferences. Sets the 'data-bs-theme' attribute on the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### CreateBucketsPayload Constructor - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Oss.Model.CreateBucketsPayload.html Initializes a new instance of the CreateBucketsPayload class. This is a parameterless constructor. ```csharp public CreateBucketsPayload() ``` -------------------------------- ### Get/Set RootFolder Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ProjectDataRelationships.html Gets or sets the RootFolder relationship for a project. This property is typed as JsonApiRelationshipsLinksRootFolder. ```csharp [DataMember(Name = "rootFolder", EmitDefaultValue = false)] public JsonApiRelationshipsLinksRootFolder RootFolder { get; set; } ``` -------------------------------- ### Theme Initialization - JavaScript Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.DownloadDataRelationshipsStorage.html Initializes the theme based on localStorage or system preferences. Sets the data-bs-theme attribute on the document element. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### PublishModelJobPayload Type Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishModelJobPayload.html Gets or sets the type of command for the PublishModelJobPayload. This specifies the operation being performed. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommands Type { get; set; } ``` -------------------------------- ### Set PublishModelAttributesExtension Type Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.PublishModelAttributesExtension.html Gets or sets the Type for the PublishModelAttributesExtension. The Type property is of type TypeCommandtypePublishmodel. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeCommandtypePublishmodel Type { get; set; } ``` -------------------------------- ### Theme Initialization (JavaScript) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectPayloadTemplate.html Initializes the theme based on localStorage or system preference. It sets the 'data-bs-theme' attribute on the documentElement. ```javascript const theme = localStorage.getItem('theme') || 'auto' document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme) ``` -------------------------------- ### Set MetaRefs ToType Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.MetaRefs.html Gets or sets the type of the resource to which data flows. This property is of type TypeEntity. ```csharp [DataMember(Name = "toType", EmitDefaultValue = true)] public TypeEntity ToType { get; set; } ``` -------------------------------- ### StartJobAsync Method - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.ModelDerivative.Http.IJobsApi.html This C# method, StartJobAsync, is part of the IJobsApi interface. It initiates a translation job within the Model Derivative service. You can configure options like forcing translation, derivative format, region, payload, and access token. ```csharp Task> StartJobAsync(bool? xAdsForce = null, XAdsDerivativeFormat? xAdsDerivativeFormat = null, Region? region = null, JobPayload jobPayload = null, string accessToken = null, bool throwOnError = true) ``` -------------------------------- ### Set MetaRefs FromType Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.MetaRefs.html Gets or sets the type of the resource from which data flows. This property is of type TypeEntity. ```csharp [DataMember(Name = "fromType", EmitDefaultValue = true)] public TypeEntity FromType { get; set; } ``` -------------------------------- ### Initialize Download Class (C#) Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.Download.html Provides the default constructor for the Download class. This method initializes a new instance of the Download class without any parameters. ```csharp public Download() ``` -------------------------------- ### ProjectUserProducts Constructor Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUserProducts.html Initializes a new instance of the ProjectUserProducts class. This is a default constructor. ```C# public ProjectUserProducts() ``` -------------------------------- ### Get String Representation Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ListItemsAttributesExtension.html Overrides the ToString method to return the string presentation of the ListItemsAttributesExtension object. ```csharp public override string ToString() ``` -------------------------------- ### ItemPayloadData Type Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ItemPayloadData.html Gets or sets the Type for the ItemPayloadData. This property is decorated with DataMember for serialization. ```csharp [DataMember(Name = "type", EmitDefaultValue = true)] public TypeItem Type { get; set; } ``` -------------------------------- ### ProjectUsersUpdatePayloadProducts Constructor - C# Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUsersUpdatePayloadProducts.html Initializes a new instance of the ProjectUsersUpdatePayloadProducts class. This is a parameterless constructor. ```csharp public ProjectUsersUpdatePayloadProducts() ``` -------------------------------- ### ItemPayloadData Relationships Property Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.DataManagement.Model.ItemPayloadData.html Gets or sets the Relationships for the ItemPayloadData. This property is decorated with DataMember for serialization. ```csharp [DataMember(Name = "relationships", EmitDefaultValue = false)] public ItemPayloadDataRelationships Relationships { get; set; } ``` -------------------------------- ### ProjectUsersPage Constructor Source: https://github.com/lim-dy/aps-dotnet-sdk-docs/blob/main/api/Autodesk.Construction.AccountAdmin.Model.ProjectUsersPage.html Initializes a new instance of the ProjectUsersPage class. This is a parameterless constructor. ```C# public ProjectUsersPage() ```