├── Directory.Build.props
├── nuget.config
├── sdkmanager
├── src
│ ├── IAuthenticationProvider.cs
│ ├── StaticAuthenticationProvider.cs
│ ├── BaseClient.cs
│ ├── ISDKManager.cs
│ ├── IAuthClientConfiguration.cs
│ ├── IResiliencyConfiguration.cs
│ ├── AuthClientConfiguration.cs
│ ├── IAPSClient.cs
│ ├── IAPSConfiguration.cs
│ ├── IAuthClient.cs
│ ├── AuthClient.cs
│ ├── IBuilder.cs
│ ├── ResiliencyConfiguration.cs
│ ├── APSClient.cs
│ ├── SDKManagerBuilder.cs
│ └── SDKManager.cs
├── Autodesk.Sdk.Manager.csproj
└── README.md
├── webhooks
├── source
│ ├── custom-code
│ │ └── utils.cs
│ └── Autodesk.Webhooks.csproj
├── test
│ └── Autodesk.Webhooks.Test.csproj
└── webhooks.sln
├── oss
├── test
│ └── Autodesk.Oss.Test.csproj
├── source
│ ├── Autodesk.Oss.csproj
│ ├── custom-code
│ │ ├── IFileTransferConfigurations.cs
│ │ ├── FileTransferConfigurations.cs
│ │ └── IOSSFileTransfer.cs
│ ├── S3ServiceApiException.cs
│ ├── FileTransferException.cs
│ ├── ServiceCollectionExtensions.gen.cs
│ ├── ServiceApiException.cs
│ └── Model
│ │ ├── Access.gen.cs
│ │ ├── Reason.gen.cs
│ │ └── PermissionAccess.gen.cs
└── oss.sln
├── modelderivative
├── test
│ └── Autodesk.ModelDerivative.Test.csproj
├── source
│ ├── Autodesk.ModelDerivative.csproj
│ ├── Model
│ │ ├── SpecificPropertiesPayloadQuery.gen.cs
│ │ ├── JobPayloadFormatSVF2Advanced.gen.cs
│ │ ├── View.gen.cs
│ │ ├── JobPayloadFormat.gen.cs
│ │ ├── JobPayloadFormatSVFAdvanced.gen.cs
│ │ ├── Role.gen.cs
│ │ ├── XAdsRole.gen.cs
│ │ ├── ModelViews.gen.cs
│ │ ├── Format.gen.cs
│ │ ├── JobPayloadFormatSVFAdvancedVUE.gen.cs
│ │ ├── JobPayloadFormatSVFAdvancedDWG.gen.cs
│ │ ├── JobPayloadFormatSVF2AdvancedDWG.gen.cs
│ │ ├── JobPayloadFormatSVF2AdvancedVUE.gen.cs
│ │ ├── SolidType.gen.cs
│ │ ├── XAdsDerivativeFormat.gen.cs
│ │ └── ExportFileStructure.gen.cs
│ ├── ServiceApiException.cs
│ └── ServiceCollectionExtensions.gen.cs
└── modelderivative.sln
├── datamanagement
├── test
│ └── Autodesk.DataManagement.Test.csproj
├── source
│ ├── Autodesk.DataManagement.csproj
│ └── Model
│ │ ├── RefsData.gen.cs
│ │ ├── FolderRefsData.gen.cs
│ │ ├── ListRefsIncluded.gen.cs
│ │ ├── CommandPayloadData.gen.cs
│ │ ├── FolderContentsData.gen.cs
│ │ ├── RelationshipRefsLinks.gen.cs
│ │ ├── RelationshipRefsIncluded.gen.cs
│ │ ├── TypeHub.gen.cs
│ │ ├── JsonApiVersionValue.gen.cs
│ │ ├── TypeItem.gen.cs
│ │ ├── TypeLink.gen.cs
│ │ ├── ReftypesXref.gen.cs
│ │ ├── TypeFolder.gen.cs
│ │ ├── TypeJob.gen.cs
│ │ ├── TypeObject.gen.cs
│ │ ├── TypeCommands.gen.cs
│ │ ├── TypeProject.gen.cs
│ │ ├── TypeVersion.gen.cs
│ │ ├── TypeDownloads.gen.cs
│ │ ├── TypeDownloadformats.gen.cs
│ │ ├── ExtensionTypeCoreXref.gen.cs
│ │ ├── FilterDirection.gen.cs
│ │ └── ProjectTypeBim360Acc.gen.cs
└── datamanagement.sln
├── authentication
├── test
│ └── Autodesk.Authentication.Test.csproj
├── source
│ ├── Autodesk.Authentication.csproj
│ ├── ServiceCollectionExtensions.gen.cs
│ ├── ServiceApiException.cs
│ └── Model
│ │ ├── TokenTypeHint.gen.cs
│ │ ├── ResponseType.gen.cs
│ │ └── Jwks.gen.cs
└── authentication.sln
├── construction
├── issues
│ ├── test
│ │ └── Autodesk.Construction.Issues.Test.csproj
│ ├── source
│ │ ├── Autodesk.Construction.Issues.csproj
│ │ ├── Model
│ │ │ ├── PermissionLevel.gen.cs
│ │ │ ├── AssignedToType.gen.cs
│ │ │ └── CommentsPayload.gen.cs
│ │ └── ServiceApiException.cs
│ └── issues.sln
└── accountadmin
│ ├── test
│ ├── Autodesk.Construction.AccountAdmin.Test.csproj
│ └── TestAccountAdminApi.cs
│ ├── source
│ ├── Autodesk.Construction.AccountAdmin.csproj
│ ├── Model
│ │ ├── Platform.gen.cs
│ │ ├── UserPatchStatus.gen.cs
│ │ ├── FilterUserProjectsAccessLevels.gen.cs
│ │ ├── StatusFilter.gen.cs
│ │ ├── ProductAccess.gen.cs
│ │ ├── AccessLevels.gen.cs
│ │ ├── Status.gen.cs
│ │ ├── FilterTextMatch.gen.cs
│ │ ├── Classification.gen.cs
│ │ └── BusinessUnits.gen.cs
│ └── ServiceApiException.cs
│ └── accountadmin.sln
├── samples
└── sample.csproj
├── Directory.Packages.props
├── CONTRIBUTING.md
└── .github
└── workflows
└── main.yml
/Directory.Build.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | net8.0
4 |
5 |
--------------------------------------------------------------------------------
/nuget.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/sdkmanager/src/IAuthenticationProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading.Tasks;
3 |
4 | namespace Autodesk.SDKManager
5 | {
6 | public interface IAuthenticationProvider
7 | {
8 | Task GetAccessToken(IEnumerable scopes = default);
9 | }
10 | }
--------------------------------------------------------------------------------
/sdkmanager/src/StaticAuthenticationProvider.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Threading.Tasks;
3 |
4 | namespace Autodesk.SDKManager
5 | {
6 | public class StaticAuthenticationProvider : IAuthenticationProvider
7 | {
8 | private string _accessToken;
9 |
10 | public StaticAuthenticationProvider(string accessToken)
11 | {
12 | _accessToken = accessToken;
13 | }
14 |
15 | public async Task GetAccessToken(IEnumerable scopes = default)
16 | {
17 | return _accessToken;
18 | }
19 | }
20 | }
--------------------------------------------------------------------------------
/webhooks/source/custom-code/utils.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Reflection;
5 | using System.Runtime.Serialization;
6 | using Autodesk.Webhooks.Model;
7 |
8 | namespace Autodesk.Webhooks.Model
9 | {
10 | public static class Utils
11 | {
12 | public static string GetEnumString(T enumValue) where T : Enum
13 | {
14 | var fieldInfo = typeof(T).GetField(enumValue.ToString());
15 | var attribute = fieldInfo?.GetCustomAttribute();
16 |
17 | return attribute?.Value ?? enumValue.ToString();
18 | }
19 |
20 | }
21 |
22 | }
--------------------------------------------------------------------------------
/oss/test/Autodesk.Oss.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | enable
5 | enable
6 | Autodesk.Oss.Test
7 | false
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/webhooks/test/Autodesk.Webhooks.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | enable
5 | Autodesk.Webhooks.Test
6 | enable
7 | false
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/modelderivative/test/Autodesk.ModelDerivative.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | Autodesk.ModelDerivativeApi.Test
4 | enable
5 | enable
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/datamanagement/test/Autodesk.DataManagement.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | enable
5 | enable
6 | Autodesk.DataManagement.Test
7 | false
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/authentication/test/Autodesk.Authentication.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 | enable
4 | enable
5 | Autodesk.Authentication.Test
6 | false
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/construction/issues/test/Autodesk.Construction.Issues.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | enable
5 | enable
6 | Autodesk.Construction.Issues.Test
7 | false
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/construction/accountadmin/test/Autodesk.Construction.AccountAdmin.Test.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | enable
5 | enable
6 | Autodesk.Construction.AccountAdmin.Test
7 | false
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/sdkmanager/src/BaseClient.cs:
--------------------------------------------------------------------------------
1 | namespace Autodesk.SDKManager
2 | {
3 | public class BaseClient
4 | {
5 | private IAuthenticationProvider _authenticationProvider;
6 |
7 | public IAuthenticationProvider AuthenticationProvider
8 | {
9 | get
10 | {
11 | return _authenticationProvider;
12 | }
13 | set
14 | {
15 | _authenticationProvider = value;
16 | }
17 | }
18 |
19 | public BaseClient(IAuthenticationProvider authenticationProvider)
20 | {
21 | if (authenticationProvider != null)
22 | {
23 | _authenticationProvider = authenticationProvider;
24 | }
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/samples/sample.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | enable
6 | enable
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/sdkmanager/Autodesk.Sdk.Manager.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | Autodesk Platform Services SDK Team
6 | Common SDK Manager to support the various APS SDK's.
7 |
8 | • Added missing namespace declarations.
9 |
10 | Autodesk Inc.
11 | Autodesk.SDKManager
12 | 1.1.3
13 | LICENSE.txt
14 | README.md
15 | https://github.com/autodesk-platform-services/aps-sdk-net.git
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/oss/source/Autodesk.Oss.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Data Management OSS API
8 |
9 | • Added XadsMeta properties to Upload function.
10 |
11 | Autodesk Inc.
12 | Autodesk.Oss
13 | 2.3.3
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/datamanagement/source/Autodesk.DataManagement.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Data Management API
8 | Added PathInProject property to ItemAttributes model to store the relative path.
9 | Autodesk Inc.
10 | Autodesk.DataManagement
11 | 2.1.3
12 | LICENSE.txt
13 | README.md
14 | https://github.com/autodesk-platform-services/aps-sdk-net.git
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/modelderivative/source/Autodesk.ModelDerivative.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Model Derivative API
8 |
9 | • Added region support for UK, Canada, Germany, India and Japan.
10 |
11 | Autodesk Inc.
12 | Autodesk.ModelDerivative
13 | 2.2.0
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/webhooks/source/Autodesk.Webhooks.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for WebHooks API
8 |
9 | • Added support for ACC Issues and BuildingConnected APIs to the System and Event enums.
10 |
11 | Autodesk Inc.
12 | Autodesk.Webhooks
13 | 3.3.0
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/authentication/source/Autodesk.Authentication.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Authentication API
8 |
9 | • Passes the codeVerifier argument for private clients in ThreeLeggedToken.
10 |
11 | Autodesk Inc.
12 | Autodesk.Authentication
13 | 2.0.1
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sdkmanager/src/ISDKManager.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public interface ISDKManager
25 | {
26 | }
27 | }
--------------------------------------------------------------------------------
/construction/issues/source/Autodesk.Construction.Issues.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Construction Issues API
8 |
9 | • Added support for auto routing endpoints when region is not specified.
10 |
11 | Autodesk Inc.
12 | Autodesk.Construction.Issues
13 | 4.0.0-beta2
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sdkmanager/src/IAuthClientConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public interface IAuthClientConfiguration
25 | {
26 | }
27 | }
--------------------------------------------------------------------------------
/sdkmanager/src/IResiliencyConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public interface IResiliencyConfiguration
25 | {
26 | }
27 | }
--------------------------------------------------------------------------------
/construction/accountadmin/source/Autodesk.Construction.AccountAdmin.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | true
5 | true
6 | Autodesk Platform Services SDK Team
7 | Client SDK for Construction Account Admin API
8 |
9 | • Added support for auto routing endpoints when region is not specified.
10 |
11 | Autodesk Inc.
12 | Autodesk.Construction.AccountAdmin
13 | 3.1.0-beta2
14 | LICENSE.txt
15 | README.md
16 | https://github.com/autodesk-platform-services/aps-sdk-net.git
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/sdkmanager/src/AuthClientConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public class AuthClientConfiguration : IAuthClientConfiguration
25 | {
26 | }
27 | }
--------------------------------------------------------------------------------
/Directory.Packages.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | true
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/sdkmanager/src/IAPSClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Autodesk.Forge.Core;
23 |
24 | namespace Autodesk.SDKManager
25 | {
26 | public interface IApsClient
27 | {
28 | ForgeService Service { get; }
29 | }
30 | }
--------------------------------------------------------------------------------
/sdkmanager/src/IAPSConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 |
24 | namespace Autodesk.SDKManager
25 | {
26 | public interface IApsConfiguration
27 | {
28 | Uri BaseAddress { get; set; }
29 | }
30 | }
--------------------------------------------------------------------------------
/sdkmanager/src/IAuthClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public interface IAuthClient
25 | {
26 | string GetAccessToken(string scope);
27 | string GetUpdatedAccessToken();
28 | }
29 | }
--------------------------------------------------------------------------------
/oss/source/custom-code/IFileTransferConfigurations.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.Oss
23 | {
24 | public interface IFileTransferConfigurations
25 | {
26 | int GetRetryCount();
27 | int GetMaxChunkCountAllowed();
28 | int GetMaxRetryOnTokenExpiry();
29 | int GetMaxRetryOnUrlExpiry();
30 | }
31 | }
32 |
--------------------------------------------------------------------------------
/sdkmanager/src/AuthClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 |
24 | namespace Autodesk.SDKManager
25 | {
26 | public class AuthClient : IAuthClient
27 | {
28 | public string GetAccessToken(string scopes)
29 | {
30 | throw new NotImplementedException();
31 | }
32 | public string GetUpdatedAccessToken()
33 | {
34 | throw new NotImplementedException();
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/sdkmanager/src/IBuilder.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Microsoft.Extensions.Logging;
23 |
24 | namespace Autodesk.SDKManager
25 | {
26 | public interface IBuilder
27 | {
28 | SdkManagerBuilder Add(IResiliencyConfiguration resiliencyConfiguration);
29 | SdkManagerBuilder Add(ILogger logger);
30 | SdkManagerBuilder Add(IAuthClient authClient);
31 | SdkManagerBuilder Add(IApsConfiguration apsConfiguration);
32 | SDKManager Build();
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/oss/source/S3ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 |
24 | namespace Autodesk.Oss
25 | {
26 | ///
27 | /// An object that is returned when an API call to the S3 service fails.
28 | ///
29 | public class S3ServiceApiException : ServiceApiException
30 | {
31 | public int ErrorCode {get; set;}
32 | public S3ServiceApiException(String message, int errorCode) : base(message)
33 | {
34 | this.ErrorCode = errorCode;
35 | }
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/oss/oss.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30114.105
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Oss", "source\Autodesk.Oss.csproj", "{75E40545-8714-4986-9E85-5197070DBB3F}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Oss.Test", "test\Autodesk.Oss.Test.csproj", "{6365EA56-4EF3-4EA8-9EFB-C1FECA8087E5}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {75E40545-8714-4986-9E85-5197070DBB3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {75E40545-8714-4986-9E85-5197070DBB3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {75E40545-8714-4986-9E85-5197070DBB3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {75E40545-8714-4986-9E85-5197070DBB3F}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {6365EA56-4EF3-4EA8-9EFB-C1FECA8087E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {6365EA56-4EF3-4EA8-9EFB-C1FECA8087E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {6365EA56-4EF3-4EA8-9EFB-C1FECA8087E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {6365EA56-4EF3-4EA8-9EFB-C1FECA8087E5}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/webhooks/webhooks.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30114.105
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Webhooks", "source\Autodesk.Webhooks.csproj", "{E898A6D2-071E-4D01-B212-A14EFD209A6D}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Webhooks.Test", "test\Autodesk.Webhooks.Test.csproj", "{16D9EE9B-2621-4DEC-A7BC-64986C5FC329}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {E898A6D2-071E-4D01-B212-A14EFD209A6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {E898A6D2-071E-4D01-B212-A14EFD209A6D}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {E898A6D2-071E-4D01-B212-A14EFD209A6D}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {E898A6D2-071E-4D01-B212-A14EFD209A6D}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {16D9EE9B-2621-4DEC-A7BC-64986C5FC329}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {16D9EE9B-2621-4DEC-A7BC-64986C5FC329}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {16D9EE9B-2621-4DEC-A7BC-64986C5FC329}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {16D9EE9B-2621-4DEC-A7BC-64986C5FC329}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/datamanagement/datamanagement.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.30114.105
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.DataManagement", "source\Autodesk.DataManagement.csproj", "{4E496045-3AB8-4048-9885-9D02A9DB9FA2}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.DataManagement.Test", "test\Autodesk.DataManagement.Test.csproj", "{DED1DC8F-3E99-4236-AC2C-E2E5A252A503}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {4E496045-3AB8-4048-9885-9D02A9DB9FA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {4E496045-3AB8-4048-9885-9D02A9DB9FA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {4E496045-3AB8-4048-9885-9D02A9DB9FA2}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {4E496045-3AB8-4048-9885-9D02A9DB9FA2}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {DED1DC8F-3E99-4236-AC2C-E2E5A252A503}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {DED1DC8F-3E99-4236-AC2C-E2E5A252A503}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {DED1DC8F-3E99-4236-AC2C-E2E5A252A503}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {DED1DC8F-3E99-4236-AC2C-E2E5A252A503}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/oss/source/FileTransferException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.Oss
26 | {
27 | ///
28 | /// Represents an exception that occurs during file transfer in the Upload and Download functions.
29 | ///
30 | public class FileTransferException : ServiceApiException
31 | {
32 | public FileTransferException(string message) : base(message) {}
33 | public FileTransferException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) {}
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/construction/issues/issues.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.31903.59
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Construction.Issues", "source\Autodesk.Construction.Issues.csproj", "{A37D607C-446C-4A9F-B240-538FA6C0A62D}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Construction.Issues.Test", "test\Autodesk.Construction.Issues.Test.csproj", "{1DBB7C89-4C18-4643-9897-8DEBE397A322}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {A37D607C-446C-4A9F-B240-538FA6C0A62D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {A37D607C-446C-4A9F-B240-538FA6C0A62D}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {A37D607C-446C-4A9F-B240-538FA6C0A62D}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {A37D607C-446C-4A9F-B240-538FA6C0A62D}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {1DBB7C89-4C18-4643-9897-8DEBE397A322}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {1DBB7C89-4C18-4643-9897-8DEBE397A322}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {1DBB7C89-4C18-4643-9897-8DEBE397A322}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {1DBB7C89-4C18-4643-9897-8DEBE397A322}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/authentication/authentication.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.31903.59
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Authentication.Test", "test\Autodesk.Authentication.Test.csproj", "{96DEC2DB-DC8D-4B40-8D6C-5BA308702C12}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Authentication", "source\Autodesk.Authentication.csproj", "{1CFB83E1-D54E-47EF-8E4A-85307A766059}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {96DEC2DB-DC8D-4B40-8D6C-5BA308702C12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {96DEC2DB-DC8D-4B40-8D6C-5BA308702C12}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {96DEC2DB-DC8D-4B40-8D6C-5BA308702C12}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {96DEC2DB-DC8D-4B40-8D6C-5BA308702C12}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {1CFB83E1-D54E-47EF-8E4A-85307A766059}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {1CFB83E1-D54E-47EF-8E4A-85307A766059}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {1CFB83E1-D54E-47EF-8E4A-85307A766059}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {1CFB83E1-D54E-47EF-8E4A-85307A766059}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/modelderivative/modelderivative.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.31903.59
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.ModelDerivative.Test", "test\Autodesk.ModelDerivative.Test.csproj", "{C70523C4-851D-4467-BF06-3C59DE0046CA}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.ModelDerivative", "source\Autodesk.ModelDerivative.csproj", "{0321639F-AC52-4EEF-BFC5-4FC308D9F348}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(SolutionProperties) = preSolution
16 | HideSolutionNode = FALSE
17 | EndGlobalSection
18 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
19 | {C70523C4-851D-4467-BF06-3C59DE0046CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20 | {C70523C4-851D-4467-BF06-3C59DE0046CA}.Debug|Any CPU.Build.0 = Debug|Any CPU
21 | {C70523C4-851D-4467-BF06-3C59DE0046CA}.Release|Any CPU.ActiveCfg = Release|Any CPU
22 | {C70523C4-851D-4467-BF06-3C59DE0046CA}.Release|Any CPU.Build.0 = Release|Any CPU
23 | {0321639F-AC52-4EEF-BFC5-4FC308D9F348}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24 | {0321639F-AC52-4EEF-BFC5-4FC308D9F348}.Debug|Any CPU.Build.0 = Debug|Any CPU
25 | {0321639F-AC52-4EEF-BFC5-4FC308D9F348}.Release|Any CPU.ActiveCfg = Release|Any CPU
26 | {0321639F-AC52-4EEF-BFC5-4FC308D9F348}.Release|Any CPU.Build.0 = Release|Any CPU
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/construction/accountadmin/accountadmin.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.13.35913.81 d17.13
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Construction.AccountAdmin.Test", "test\Autodesk.Construction.AccountAdmin.Test.csproj", "{B5CF67B7-61DF-4C10-9443-40F36F1F3BBB}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Autodesk.Construction.AccountAdmin", "source\Autodesk.Construction.AccountAdmin.csproj", "{EFA9B2AB-581B-9313-1A40-A41F7663E437}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {B5CF67B7-61DF-4C10-9443-40F36F1F3BBB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {B5CF67B7-61DF-4C10-9443-40F36F1F3BBB}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {B5CF67B7-61DF-4C10-9443-40F36F1F3BBB}.Release|Any CPU.ActiveCfg = Release|Any CPU
19 | {B5CF67B7-61DF-4C10-9443-40F36F1F3BBB}.Release|Any CPU.Build.0 = Release|Any CPU
20 | {EFA9B2AB-581B-9313-1A40-A41F7663E437}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {EFA9B2AB-581B-9313-1A40-A41F7663E437}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {EFA9B2AB-581B-9313-1A40-A41F7663E437}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {EFA9B2AB-581B-9313-1A40-A41F7663E437}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {A57C34B3-572B-42C3-BC97-6A0AD95C207D}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing to APS SDK
2 |
3 | We work hard to provide an excellent SDK for the Autodesk community, and we greatly appreciate your feedback and contributions. Please read through this document before submitting any issues or pull requests.
4 |
5 | For general questions (_how to_), please use the [APS Get Help](https://aps.autodesk.com/get-help) form. We strongly encourage using [StackOverflow](http://stackoverflow.com/tags/autodesk-platform-services).
6 |
7 | ## Before you start
8 |
9 | - **Search before you file a new Issue or Pull Request**. Add to tickets if you have new information about the issue.
10 | - **Keep it short but complete**. Make sure you include all the context needed to solve the problem.
11 |
12 | ## Issues
13 |
14 | - **Bug Report**: if you believe you encounter a problem using any of the APS SDKs, please create a new issue with enough information to reproduce the issue (e.g. code snippet that triggers the problem). Please review existing issues before starting a new.
15 |
16 | - **Feature Request**: please use the [APS Public Roadmap](https://aps.autodesk.com/aps-roadmap) instead.
17 |
18 | ## Pull Request
19 |
20 | Pull Requests are the best way to propose changes to the APS SDK code. Always use `main` branch as a starting point (we do our best to keep that up to date with published versions). Please use [fork & pull](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests#fork--pull).
21 |
22 | Please use a **Title** that summarizes the proposal, and a **Description** with a complete description of what it does and list of changes implemented. The APS team will triage, review, and if applicable, merge into the appropriate `dev` branch.
23 |
24 | All contributions will be licensed under the Apache 2.0 license.
25 |
26 |
--------------------------------------------------------------------------------
/construction/accountadmin/test/TestAccountAdminApi.cs:
--------------------------------------------------------------------------------
1 | using Autodesk.Construction.AccountAdmin.Model;
2 | using Autodesk.SDKManager;
3 | using Microsoft.VisualStudio.TestTools.UnitTesting;
4 |
5 | namespace Autodesk.Construction.AccountAdmin.Test;
6 |
7 | [TestClass]
8 | public class TestAccountAdminApi
9 | {
10 | private static AdminClient _adminClient = null!;
11 |
12 | string? token = Environment.GetEnvironmentVariable("token");
13 | string? accountId = Environment.GetEnvironmentVariable("account_id");
14 | string? userId = Environment.GetEnvironmentVariable("user_id");
15 |
16 | [ClassInitialize]
17 | public static void ClassInitialize(TestContext testContext)
18 | {
19 | var sdkManager = SdkManagerBuilder
20 | .Create()
21 | .Add(new ApsConfiguration())
22 | .Add(ResiliencyConfiguration.CreateDefault())
23 | .Build();
24 |
25 | _adminClient = new AdminClient(sdkManager);
26 | }
27 |
28 | [TestMethod]
29 | public async Task TestGetUserProjectsAsync()
30 | {
31 | UserProjectsPage userProjectsPage = await _adminClient.GetUserProjectsAsync(accessToken: token, accountId: accountId, userId: userId);
32 | Assert.IsInstanceOfType(userProjectsPage.Results, typeof(List));
33 | }
34 |
35 | [TestMethod]
36 | public async Task TestGetUserProductsAsync()
37 | {
38 | ProductsPage productsPage = await _adminClient.GetUserProductsAsync(accessToken: token, accountId: accountId, userId: userId);
39 | Assert.IsInstanceOfType(productsPage.Results, typeof(List));
40 | }
41 |
42 | [TestMethod]
43 | public async Task TestGetUserRolesAsync()
44 | {
45 | RolesPage rolesPage = await _adminClient.GetUserRolesAsync(accessToken: token, accountId: accountId, userId: userId);
46 | Assert.IsInstanceOfType(rolesPage.Results, typeof(List));
47 | }
48 | }
49 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/RefsData.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 |
37 | public interface IRefsData
38 | {
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/FolderRefsData.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 |
37 | public interface IFolderRefsData
38 | {
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/ListRefsIncluded.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | public interface IListRefsIncluded
37 | {
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/CommandPayloadData.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 |
37 | public interface ICommandPayloadData
38 | {
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/FolderContentsData.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 |
37 | public interface IFolderContentsData
38 | {
39 | }
40 |
41 | }
42 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/RelationshipRefsLinks.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | public interface IRelationshipRefsLinks
37 | {
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/RelationshipRefsIncluded.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | public interface IRelationshipRefsIncluded
37 | {
38 | }
39 |
40 | }
41 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/SpecificPropertiesPayloadQuery.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Specifies what objects to query. Contains the parameters to pass to the search service.
37 | ///
38 | ///
39 | ///
40 | ///
41 | ///
42 | ///
43 | ///
44 | ///
45 | public interface ISpecificPropertiesPayloadQuery
46 | {
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/authentication/source/ServiceCollectionExtensions.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Authentication
7 | *
8 | * OAuth2 token management APIs.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Autodesk.Forge.Core;
23 | using Microsoft.Extensions.Configuration;
24 | using Microsoft.Extensions.DependencyInjection;
25 | using Autodesk.Authentication.Http;
26 |
27 | namespace Autodesk.Authentication
28 | {
29 | public static class ServiceCollectionExtensions
30 | {
31 | ///
32 | /// Adds AuthenticationClient and configures it with the given configuration.
33 | ///
34 | ///
35 | ///
36 | ///
37 | public static IHttpClientBuilder AddAuthentication(this IServiceCollection services, IConfiguration configuration)
38 | {
39 | // services.Configure(configuration.GetSection("Forge").GetSection("Authentication"));
40 | services.AddTransient();
41 | services.AddTransient();
42 | // services.AddTransient();
43 | return services.AddForgeService(configuration);
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVF2Advanced.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for ``svf2`` output types. The available options depend on the input type.
37 | ///
38 | ///
39 | ///
40 | ///
41 | ///
42 | ///
43 | ///
44 | public interface IJobPayloadFormatSVF2Advanced
45 | {
46 |
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/sdkmanager/README.md:
--------------------------------------------------------------------------------
1 | # APS SDK for .NET
2 |
3 | 
4 |
5 | The **Autodesk Platform Services (APS) SDK for .NET** helps .NET developer create applications that leverage the various APS services: Model Derivative, Data Management, OSS, Webhooks. More services soon.
6 |
7 | ## Installation
8 | This package does not need to be installed directly. It will be installed as a dependency along with the APS SDK packages.
9 |
10 | ## Getting Help
11 |
12 | Please use any of the following channels for support. Github issues to track SDK specific issues and feature requests.
13 |
14 | - [Get Help](https://aps.autodesk.com/get-help) at the Developer Portal has everything APS related.
15 | - [Stackoverflow](https://stackoverflow.com/questions/ask?tags=autodesk-platform-services) remember to tag `autodesk-platform-services`
16 |
17 | ## Documentation, Tutorials & Samples
18 |
19 | The Developer Portal has everything APS:
20 |
21 | - [Documentation](https://aps.autodesk.com/developer/documentation) page for each service.
22 | - Visit [APS Tutorials](http://aps.autodesk.com/tutorials) and select .NET tutorials.
23 |
24 |
25 | ## Nuget Packages
26 |
27 | - [Authentication](https://www.nuget.org/packages/Autodesk.Authentication)
28 | - [Construction Account Admin](https://www.nuget.org/packages/Autodesk.Construction.AccountAdmin/1.0.0-beta1)
29 | - [Construction Issues](https://www.nuget.org/packages/Autodesk.Construction.Issues)
30 | - [Data Management](https://www.nuget.org/packages/Autodesk.DataManagement)
31 | - [Model Derivative](https://www.nuget.org/packages/Autodesk.ModelDerivative)
32 | - [OSS](https://www.nuget.org/packages/Autodesk.Oss)
33 | - [SDK Manager](https://www.nuget.org/packages/Autodesk.SDKManager)
34 | - [Webhooks](https://www.nuget.org/packages/Autodesk.Webhooks)
35 |
36 | #### Looking for Design Automation v3?
37 |
38 | The Design Automation .NET is maintained in a separate [repo](https://github.com/Autodesk-Forge/forge-api-dotnet-design.automation) and [nuget package](https://www.nuget.org/packages/Autodesk.Forge.DesignAutomation).
--------------------------------------------------------------------------------
/authentication/source/ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Authentication
7 | *
8 | * OAuth2 token management APIs.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.Authentication
26 | {
27 |
28 | ///
29 | /// An object that is returned when an API call fails.
30 | ///
31 | public abstract class ServiceApiException : HttpRequestException
32 | {
33 | public HttpResponseMessage HttpResponseMessage { get; set; }
34 |
35 | public ServiceApiException(string message) : base(message) { }
36 | public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception)
37 | {
38 | this.HttpResponseMessage = httpResponseMessage;
39 | }
40 | }
41 |
42 | ///
43 | /// An object that is returned when an API call to the Authentication service fails.
44 | ///
45 | public class AuthenticationApiException : ServiceApiException
46 | {
47 | public AuthenticationApiException(string message) : base(message) { }
48 | public AuthenticationApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) { }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/View.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Required options for SVF type. Possible values are `2d` and `3d`.
37 | ///
38 | ///Required options for SVF type. Possible values are `2d` and `3d`.
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum View
43 | {
44 |
45 | ///
46 | /// Enum _2d for value: 2d
47 | ///
48 | [EnumMember(Value = "2d")]
49 | _2d,
50 |
51 | ///
52 | /// Enum _3d for value: 3d
53 | ///
54 | [EnumMember(Value = "3d")]
55 | _3d
56 | }
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormat.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Options for the output. The available options depend on the output type.
37 | ///
38 | ///
39 | ///
40 | ///
41 | ///
42 | ///
43 | ///
44 | ///
45 | ///
46 | ///
47 | public interface IJobPayloadFormat
48 | {
49 | }
50 |
51 | }
52 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/Platform.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines platform
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum Platform
43 | {
44 |
45 | ///
46 | /// Enum Acc for value: acc
47 | ///
48 | [EnumMember(Value = "acc")]
49 | Acc,
50 |
51 | ///
52 | /// Enum Bim360 for value: bim360
53 | ///
54 | [EnumMember(Value = "bim360")]
55 | Bim360
56 | }
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/authentication/source/Model/TokenTypeHint.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Authentication
7 | *
8 | * OAuth2 token management APIs.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Authentication.Model
34 | {
35 | ///
36 | /// The type of token to revoke. Possible values are: `access_token` and `refresh_token`.
37 | ///
38 | ///The type of token to revoke. Possible values are: `access_token` and `refresh_token`.
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum TokenTypeHint
43 | {
44 |
45 | ///
46 | /// Enum Accesstoken for value: access_token
47 | ///
48 | [EnumMember(Value = "access_token")]
49 | AccessToken,
50 |
51 | ///
52 | /// Enum Refreshtoken for value: refresh_token
53 | ///
54 | [EnumMember(Value = "refresh_token")]
55 | RefreshToken
56 | }
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVFAdvanced.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for ``svf`` output types. The available options depend on the input type.
37 | ///
38 | ///
39 | ///
40 | ///
41 | ///
42 | ///
43 | ///
44 | public interface IJobPayloadFormatSVFAdvanced
45 | {
46 |
47 | }
48 |
49 | }
50 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/Role.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Specifies the type of a Model View.
37 | ///Possible values are: `2d`, `3d`.
38 | ///
39 | ///Specifies the type of a Model View.
40 | ///Possible values are: `2d`, `3d`.
41 |
42 | [JsonConverter(typeof(StringEnumConverter))]
43 |
44 | public enum Role
45 | {
46 |
47 | ///
48 | /// Enum _2d for value: 2d
49 | ///
50 | [EnumMember(Value = "2d")]
51 | _2d,
52 |
53 | ///
54 | /// Enum _3d for value: 3d
55 | ///
56 | [EnumMember(Value = "3d")]
57 | _3d
58 | }
59 |
60 | }
61 |
--------------------------------------------------------------------------------
/oss/source/ServiceCollectionExtensions.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Autodesk.Forge.Core;
23 | using Microsoft.Extensions.Configuration;
24 | using Microsoft.Extensions.DependencyInjection;
25 | using Autodesk.Oss.Http;
26 |
27 | namespace Autodesk.Oss
28 | {
29 | public static class ServiceCollectionExtensions
30 | {
31 | ///
32 | /// Adds OssClient and configures it with the given configuration.
33 | ///
34 | ///
35 | ///
36 | ///
37 | public static IHttpClientBuilder AddOss(this IServiceCollection services, IConfiguration configuration)
38 | {
39 | // services.Configure(configuration.GetSection("Forge").GetSection("Oss"));
40 | services.AddTransient();
41 | services.AddTransient();
42 | // services.AddTransient();
43 | return services.AddForgeService(configuration);
44 | }
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/oss/source/ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.Oss
26 | {
27 | ///
28 | /// An object that is returned when an API call fails.
29 | ///
30 | public abstract class ServiceApiException : HttpRequestException
31 | {
32 | public HttpResponseMessage HttpResponseMessage {get; set;}
33 |
34 | public ServiceApiException(string message) : base(message) {}
35 | public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception)
36 | {
37 | this.HttpResponseMessage = httpResponseMessage;
38 | }
39 | }
40 |
41 | ///
42 | /// An object that is returned when an API call to the Oss service fails.
43 | ///
44 | public class OssApiException : ServiceApiException
45 | {
46 | public OssApiException(string message) : base(message) {}
47 | public OssApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) {}
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/UserPatchStatus.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines userPatchStatus
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum UserPatchStatus
43 | {
44 |
45 | ///
46 | /// Enum Active for value: active
47 | ///
48 | [EnumMember(Value = "active")]
49 | Active,
50 |
51 | ///
52 | /// Enum Inactive for value: inactive
53 | ///
54 | [EnumMember(Value = "inactive")]
55 | Inactive
56 | }
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/sdkmanager/src/ResiliencyConfiguration.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.SDKManager
23 | {
24 | public class ResiliencyConfiguration : IResiliencyConfiguration
25 | {
26 | int _retryCount;
27 | int _backoffInterval;
28 | int _ciruitBreakerInterval;
29 |
30 | public int RetryCount { get => _retryCount; set => _retryCount = value; }
31 | public int BackoffInterval { get => _backoffInterval; set => _backoffInterval = value; }
32 | public int CiruitBreakerInterval { get => _ciruitBreakerInterval; set => _ciruitBreakerInterval = value; }
33 |
34 | public static ResiliencyConfiguration CreateDefault()
35 | {
36 | return new ResiliencyConfiguration()
37 | {
38 | RetryCount = 3,
39 | BackoffInterval = 10,
40 | CiruitBreakerInterval = 5
41 | };
42 | }
43 | public override string ToString()
44 | {
45 | return $"RetryCount:{RetryCount}, BackoffInterval: {BackoffInterval}, CiruitBreakerInterval:{CiruitBreakerInterval}";
46 | }
47 | }
48 | }
--------------------------------------------------------------------------------
/sdkmanager/src/APSClient.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Autodesk.Forge.Core;
23 | using Microsoft.Extensions.Logging;
24 | using Microsoft.Extensions.Logging.Abstractions;
25 |
26 | namespace Autodesk.SDKManager
27 | {
28 | public class ApsClient : IApsClient
29 | {
30 | ILogger _logger = NullLogger.Instance;
31 | private ForgeService _service;
32 | private IResiliencyConfiguration _resiliencyConfig;
33 | public ApsClient(IResiliencyConfiguration resiliencyConfig)
34 | {
35 | _service = ForgeService.CreateDefault();
36 | // TBD: Make resiliency config work with ForgeService.
37 | _resiliencyConfig = resiliencyConfig;
38 | _logger.LogInformation($"Initializing resiliency config: {_resiliencyConfig.ToString()}");
39 | }
40 |
41 | public ForgeService Service { get => _service;}
42 |
43 | public void Add(IResiliencyConfiguration resiliencyConfiguration)
44 | {
45 | _resiliencyConfig = resiliencyConfiguration;
46 | }
47 | public void Add(ILogger logger)
48 | {
49 | _logger = logger;
50 | }
51 | }
52 | }
--------------------------------------------------------------------------------
/modelderivative/source/ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.ModelDerivative
26 | {
27 | ///
28 | /// An object that is returned when an API call fails.
29 | ///
30 | public abstract class ServiceApiException : HttpRequestException
31 | {
32 | public HttpResponseMessage HttpResponseMessage { get; set; }
33 |
34 | public ServiceApiException(string message) : base(message) { }
35 | public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception)
36 | {
37 | this.HttpResponseMessage = httpResponseMessage;
38 | }
39 | }
40 |
41 | ///
42 | /// An object that is returned when an API call to the Model Derivative service fails.
43 | ///
44 | public class ModelDerivativeApiException : ServiceApiException
45 | {
46 | public ModelDerivativeApiException(string message) : base(message) { }
47 | public ModelDerivativeApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) { }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/FilterUserProjectsAccessLevels.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines accessLevels
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum FilterUserProjectsAccessLevels
43 | {
44 |
45 | ///
46 | /// Enum ProjectMember for value: projectMember
47 | ///
48 | [EnumMember(Value = "projectMember")]
49 | ProjectMember,
50 |
51 | ///
52 | /// Enum ProjectAdmin for value: projectAdmin
53 | ///
54 | [EnumMember(Value = "projectAdmin")]
55 | ProjectAdmin
56 | }
57 |
58 | }
59 |
--------------------------------------------------------------------------------
/authentication/source/Model/ResponseType.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Authentication
7 | *
8 | * OAuth2 token management APIs.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Authentication.Model
34 | {
35 | ///
36 | /// The type of response you want to receive. Possible values are:
37 | ///
38 | /// - `code` - Authorization code grant.
39 | /// - `id_token` - OpenID Connect ID token.
40 | ///
41 | ///The type of response you want to receive. Possible values are:
42 | ///
43 | /// - `code` - Authorization code grant.
44 | /// - `id_token` - OpenID Connect ID token.
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum ResponseType
49 | {
50 |
51 | ///
52 | /// Enum Code for value: code
53 | ///
54 | [EnumMember(Value = "code")]
55 | Code,
56 |
57 | ///
58 | /// Enum Idtoken for value: id_token
59 | ///
60 | [EnumMember(Value = "id_token")]
61 | IdToken
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/oss/source/custom-code/FileTransferConfigurations.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | namespace Autodesk.Oss
23 | {
24 | public class FileTransferConfigurations : IFileTransferConfigurations
25 | {
26 | int _retryCount;
27 | int _maxChunkCountAllowed;
28 | int _maxRetryOnTokenExpiry;
29 | int _maxRetryOnUrlExpiry;
30 |
31 | public FileTransferConfigurations(int retryCount, int maxChunkCountAllowed = 10000, int maxRetryOnTokenExpiry = 2, int maxRetryOnUrlExpiry = 2)
32 | {
33 | _retryCount = retryCount;
34 | _maxChunkCountAllowed = maxChunkCountAllowed;
35 | _maxRetryOnTokenExpiry = maxRetryOnTokenExpiry;
36 | _maxRetryOnUrlExpiry = maxRetryOnUrlExpiry;
37 | }
38 |
39 | public int GetRetryCount()
40 | {
41 | return _retryCount;
42 | }
43 |
44 | public int GetMaxChunkCountAllowed()
45 | {
46 | return _maxChunkCountAllowed;
47 | }
48 |
49 | public int GetMaxRetryOnTokenExpiry()
50 | {
51 | return _maxRetryOnTokenExpiry;
52 | }
53 |
54 | public int GetMaxRetryOnUrlExpiry()
55 | {
56 | return _maxRetryOnUrlExpiry;
57 | }
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/oss/source/custom-code/IOSSFileTransfer.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 | using System.Threading.Tasks;
25 | using System.Threading;
26 | using System.IO;
27 | namespace Autodesk.Oss
28 | {
29 | public interface IOSSFileTransfer
30 | {
31 |
32 | Task Upload(
33 | string bucketKey,
34 | string objectKey,
35 | Stream sourceToUpload,
36 | string accessToken,
37 | CancellationToken cancellationToken,
38 | string requestIdPrefix = "",
39 | IProgress progress = null,
40 | string xAdsMetaContentType = default(string),
41 | string xAdsMetaContentDisposition = default(string),
42 | string xAdsMetaContentEncoding = default(string),
43 | string xAdsMetaCacheControl = default(string),
44 | string xAdsUserDefinedMetadata = default(string));
45 |
46 | Task Download(
47 | string bucketKey,
48 | string objectKey,
49 | string accessToken,
50 | CancellationToken cancellationToken,
51 | string filePath = null,
52 | string requestIdPrefix = "",
53 | IProgress progress = null);
54 | }
55 | }
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/StatusFilter.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines statusFilter
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum StatusFilter
43 | {
44 |
45 | ///
46 | /// Enum Active for value: active
47 | ///
48 | [EnumMember(Value = "active")]
49 | Active,
50 |
51 | ///
52 | /// Enum Pending for value: pending
53 | ///
54 | [EnumMember(Value = "pending")]
55 | Pending,
56 |
57 | ///
58 | /// Enum Deleted for value: deleted
59 | ///
60 | [EnumMember(Value = "deleted")]
61 | Deleted
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.Construction.AccountAdmin
26 | {
27 | ///
28 | /// An object that is returned when an API call fails.
29 | ///
30 | public abstract class ServiceApiException : HttpRequestException
31 | {
32 | public HttpResponseMessage HttpResponseMessage {get; set;}
33 |
34 | public ServiceApiException(string message) : base(message) {}
35 | public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception)
36 | {
37 | this.HttpResponseMessage = httpResponseMessage;
38 | }
39 | }
40 |
41 | ///
42 | /// An object that is returned when an API call to the AccountAdmin service fails.
43 | ///
44 | public class ConstructionAccountAdminApiException : ServiceApiException
45 | {
46 | public ConstructionAccountAdminApiException(string message) : base(message) {}
47 | public ConstructionAccountAdminApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) {}
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/oss/source/Model/Access.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Oss.Model
34 | {
35 | ///
36 | /// Access for signed resource Possible values: read, write, readwrite Default value: read
37 | ///
38 | ///Access for signed resource Possible values: read, write, readwrite Default value: read
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum Access
43 | {
44 |
45 | ///
46 | /// Enum Read for value: Read
47 | ///
48 | [EnumMember(Value = "Read")]
49 | Read,
50 |
51 | ///
52 | /// Enum Write for value: Write
53 | ///
54 | [EnumMember(Value = "Write")]
55 | Write,
56 |
57 | ///
58 | /// Enum ReadWrite for value: ReadWrite
59 | ///
60 | [EnumMember(Value = "ReadWrite")]
61 | ReadWrite
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/ProductAccess.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines productAccess
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum ProductAccess
43 | {
44 |
45 | ///
46 | /// Enum Administrator for value: administrator
47 | ///
48 | [EnumMember(Value = "administrator")]
49 | Administrator,
50 |
51 | ///
52 | /// Enum Member for value: member
53 | ///
54 | [EnumMember(Value = "member")]
55 | Member,
56 |
57 | ///
58 | /// Enum None for value: none
59 | ///
60 | [EnumMember(Value = "none")]
61 | None
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeHub.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `hubs`.
38 | ///
39 | ///The type of the resource. Possible values are `hubs`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeHub
44 | {
45 |
46 | ///
47 | /// Enum Hubs for value: hubs
48 | ///
49 | [EnumMember(Value = "hubs")]
50 | Hubs
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/construction/issues/source/Model/PermissionLevel.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Issues
7 | *
8 | * An issue is an item that is created in ACC for tracking, managing and communicating tasks, problems and other points of concern through to resolution. You can manage different types of issues, such as design, safety, and commissioning. We currently support issues that are associated with a project.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.Issues.Model
34 | {
35 | ///
36 | /// Defines permission_level
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum PermissionLevel
43 | {
44 |
45 | ///
46 | /// Enum Create for value: create
47 | ///
48 | [EnumMember(Value = "create")]
49 | Create,
50 |
51 | ///
52 | /// Enum Read for value: read
53 | ///
54 | [EnumMember(Value = "read")]
55 | Read,
56 |
57 | ///
58 | /// Enum Write for value: write
59 | ///
60 | [EnumMember(Value = "write")]
61 | Write
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/JsonApiVersionValue.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The version of JSON API. Will always be `1.0`.
38 | ///
39 | ///The version of JSON API. Will always be `1.0`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum JsonApiVersionValue
44 | {
45 |
46 | ///
47 | /// Enum _10 for value: 1.0
48 | ///
49 | [EnumMember(Value = "1.0")]
50 | _10
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeItem.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `items`.
38 | ///
39 | ///The type of the resource. Possible values are `items`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeItem
44 | {
45 |
46 | ///
47 | /// Enum Items for value: items
48 | ///
49 | [EnumMember(Value = "items")]
50 | Items
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeLink.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `links`.
38 | ///
39 | ///The type of the resource. Possible values are `links`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeLink
44 | {
45 |
46 | ///
47 | /// Enum Links for value: links
48 | ///
49 | [EnumMember(Value = "links")]
50 | Links
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/construction/issues/source/Model/AssignedToType.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Issues
7 | *
8 | * An issue is an item that is created in ACC for tracking, managing and communicating tasks, problems and other points of concern through to resolution. You can manage different types of issues, such as design, safety, and commissioning. We currently support issues that are associated with a project.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.Issues.Model
34 | {
35 | ///
36 | /// Defines assignedToType
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum AssignedToType
43 | {
44 |
45 | ///
46 | /// Enum User for value: user
47 | ///
48 | [EnumMember(Value = "user")]
49 | User = 1,
50 |
51 | ///
52 | /// Enum Company for value: company
53 | ///
54 | [EnumMember(Value = "company")]
55 | Company = 2,
56 |
57 | ///
58 | /// Enum Role for value: role
59 | ///
60 | [EnumMember(Value = "role")]
61 | Role = 3
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/ReftypesXref.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of custom relationship. Will always be `xrefs`.
38 | ///
39 | ///The type of custom relationship. Will always be `xrefs`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum ReftypesXref
44 | {
45 |
46 | ///
47 | /// Enum Xrefs for value: xrefs
48 | ///
49 | [EnumMember(Value = "xrefs")]
50 | Xrefs
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeFolder.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `folders`.
38 | ///
39 | ///The type of the resource. Possible values are `folders`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeFolder
44 | {
45 |
46 | ///
47 | /// Enum Folders for value: folders
48 | ///
49 | [EnumMember(Value = "folders")]
50 | Folders
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeJob.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of this resource. Possible values are `jobs`.
38 | ///
39 | ///The type of this resource. Possible values are `jobs`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeJob
44 | {
45 |
46 | ///
47 | /// Enum Downloads for value: downloads
48 | ///
49 | [EnumMember(Value = "downloads")]
50 | Downloads
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeObject.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of this resource. Possible values are `objects`.
38 | ///
39 | ///The type of this resource. Possible values are `objects`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeObject
44 | {
45 |
46 | ///
47 | /// Enum Objects for value: objects
48 | ///
49 | [EnumMember(Value = "objects")]
50 | Objects
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/AccessLevels.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines accessLevels
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum AccessLevels
43 | {
44 |
45 | ///
46 | /// Enum AccountAdmin for value: accountAdmin
47 | ///
48 | [EnumMember(Value = "accountAdmin")]
49 | AccountAdmin,
50 |
51 | ///
52 | /// Enum ProjectAdmin for value: projectAdmin
53 | ///
54 | [EnumMember(Value = "projectAdmin")]
55 | ProjectAdmin,
56 |
57 | ///
58 | /// Enum Executive for value: executive
59 | ///
60 | [EnumMember(Value = "executive")]
61 | Executive
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/construction/issues/source/ServiceApiException.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Issues
7 | *
8 | * An issue is an item that is created in ACC for tracking, managing and communicating tasks, problems and other points of concern through to resolution. You can manage different types of issues, such as design, safety, and commissioning. We currently support issues that are associated with a project.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Net.Http;
24 |
25 | namespace Autodesk.Construction.Issues
26 | {
27 | ///
28 | /// An object that is returned when an API call fails.
29 | ///
30 | public abstract class ServiceApiException : HttpRequestException
31 | {
32 | public HttpResponseMessage HttpResponseMessage { get; set; }
33 |
34 | public ServiceApiException(string message) : base(message) { }
35 | public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception)
36 | {
37 | this.HttpResponseMessage = httpResponseMessage;
38 | }
39 | }
40 |
41 | ///
42 | /// An object that is returned when an API call to the Issues service fails.
43 | ///
44 | public class ConstructionissuesApiException : ServiceApiException
45 | {
46 | public ConstructionissuesApiException(string message) : base(message) { }
47 | public ConstructionissuesApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) { }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeCommands.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of this resource. Possible values are `commands`.
38 | ///
39 | ///The type of this resource. Possible values are `commands`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeCommands
44 | {
45 |
46 | ///
47 | /// Enum Commands for value: commands
48 | ///
49 | [EnumMember(Value = "commands")]
50 | Commands
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeProject.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `projects`.
38 | ///
39 | ///The type of the resource. Possible values are `projects`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeProject
44 | {
45 |
46 | ///
47 | /// Enum Projects for value: projects
48 | ///
49 | [EnumMember(Value = "projects")]
50 | Projects
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeVersion.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the resource. Possible values are `versions`.
38 | ///
39 | ///The type of the resource. Possible values are `versions`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeVersion
44 | {
45 |
46 | ///
47 | /// Enum Versions for value: versions
48 | ///
49 | [EnumMember(Value = "versions")]
50 | Versions
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeDownloads.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of this resource. Possible values are `downloads`.
38 | ///
39 | ///The type of this resource. Possible values are `downloads`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeDownloads
44 | {
45 |
46 | ///
47 | /// Enum Downloads for value: downloads
48 | ///
49 | [EnumMember(Value = "downloads")]
50 | Downloads
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/XAdsRole.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// The source of the thumbnail: Possible values are:
37 | ///
38 | ///- `rendered` - Generated pursuant to this API call
39 | ///- `extracted` - Obtained from the original design file'
40 | ///
41 | ///The source of the thumbnail: Possible values are:
42 | ///
43 | ///- `rendered` - Generated pursuant to this API call
44 | ///- `extracted` - Obtained from the original design file'
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum XAdsRole
49 | {
50 |
51 | ///
52 | /// Enum Rendered for value: rendered
53 | ///
54 | [EnumMember(Value = "rendered")]
55 | Rendered,
56 |
57 | ///
58 | /// Enum Extracted for value: extracted
59 | ///
60 | [EnumMember(Value = "extracted")]
61 | Extracted
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/ModelViews.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// An object that represents the successful response of a List Model Views operation.
37 | ///
38 | [DataContract]
39 | public partial class ModelViews
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public ModelViews()
45 | {
46 | }
47 |
48 | ///
49 | ///Gets or Sets Data
50 | ///
51 | [DataMember(Name="data", EmitDefaultValue=false)]
52 | public ModelViewsData Data { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/TypeDownloadformats.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of this resource. Possible values are `downloadFormats`.
38 | ///
39 | ///The type of this resource. Possible values are `downloadFormats`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum TypeDownloadformats
44 | {
45 |
46 | ///
47 | /// Enum DownloadFormats for value: downloadFormats
48 | ///
49 | [EnumMember(Value = "downloadFormats")]
50 | DownloadFormats
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/oss/source/Model/Reason.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Oss.Model
34 | {
35 | ///
36 | /// An object returned with an error describing the reason for failure.
37 | ///
38 | [DataContract]
39 | public partial class Reason
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public Reason()
45 | {
46 | }
47 |
48 | ///
49 | ///reason for failure
50 | ///
51 | ///
52 | ///reason for failure
53 | ///
54 | [DataMember(Name="reason", EmitDefaultValue=false)]
55 | public string _Reason { get; set; }
56 |
57 | ///
58 | /// Returns the string presentation of the object
59 | ///
60 | /// String presentation of the object
61 | public override string ToString()
62 | {
63 | return JsonConvert.SerializeObject(this, Formatting.Indented);
64 | }
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/sdkmanager/src/SDKManagerBuilder.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Microsoft.Extensions.Logging;
23 |
24 | namespace Autodesk.SDKManager
25 | {
26 | public class SdkManagerBuilder : IBuilder
27 | {
28 | public static SdkManagerBuilder Create()
29 | {
30 | return new SdkManagerBuilder();
31 | }
32 | public SdkManagerBuilder Add(IResiliencyConfiguration resiliencyConfiguration)
33 | {
34 | _resiliencyConfiguration = resiliencyConfiguration;
35 | return this;
36 | }
37 | public SdkManagerBuilder Add(ILogger logger)
38 | {
39 | _logger = logger;
40 | return this;
41 | }
42 | public SdkManagerBuilder Add(IAuthClient authClient)
43 | {
44 | _authClient = authClient;
45 | return this;
46 | }
47 | public SdkManagerBuilder Add(IApsConfiguration apsConfiguration)
48 | {
49 | _apsConfiguration = apsConfiguration;
50 | return this;
51 | }
52 | public SDKManager Build()
53 | {
54 | return new SDKManager(_apsConfiguration, _resiliencyConfiguration, _authClient, _logger);
55 | }
56 | private IResiliencyConfiguration _resiliencyConfiguration;
57 | private ILogger _logger;
58 | private IAuthClient _authClient;
59 | private IApsConfiguration _apsConfiguration;
60 | }
61 | }
--------------------------------------------------------------------------------
/authentication/source/Model/Jwks.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Authentication
7 | *
8 | * OAuth2 token management APIs.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Authentication.Model
34 | {
35 | ///
36 | /// Represents a successful response to a Get JWKS operation.
37 | ///
38 | [DataContract]
39 | public partial class Jwks
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public Jwks()
45 | {
46 | }
47 |
48 | ///
49 | ///An array of objects where each object represents a JSON Web Key Set (JWKS).
50 | ///
51 | ///
52 | ///An array of objects where each object represents a JSON Web Key Set (JWKS).
53 | ///
54 | [DataMember(Name="keys", EmitDefaultValue=false)]
55 | public List Keys { get; set; }
56 |
57 | ///
58 | /// Returns the string presentation of the object
59 | ///
60 | /// String presentation of the object
61 | public override string ToString()
62 | {
63 | return JsonConvert.SerializeObject(this, Formatting.Indented);
64 | }
65 | }
66 |
67 | }
68 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/Format.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Specifies the format of the file to create, when the specified output is STL. Possible values are:
37 | ///
38 | ///- `ascii` - Create derivative as an ASCII STL file.
39 | ///- `binary` - (Default) Create derivative as a binary STL file.
40 | ///
41 | ///Specifies the format of the file to create, when the specified output is STL. Possible values are:
42 | ///
43 | ///- `ascii` - Create derivative as an ASCII STL file.
44 | ///- `binary` - (Default) Create derivative as a binary STL file.
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum Format
49 | {
50 |
51 | ///
52 | /// Enum Binary for value: binary
53 | ///
54 | [EnumMember(Value = "binary")]
55 | Binary,
56 |
57 | ///
58 | /// Enum Ascii for value: ascii
59 | ///
60 | [EnumMember(Value = "ascii")]
61 | Ascii
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/ExtensionTypeCoreXref.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of the relationship. Will always be `xrefs:autodesk.core:Xref`.
38 | ///
39 | ///The type of the relationship. Will always be `xrefs:autodesk.core:Xref`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum ExtensionTypeCoreXref
44 | {
45 |
46 | ///
47 | /// Enum XrefsautodeskCoreXref for value: xrefs:autodesk.core:Xref
48 | ///
49 | [EnumMember(Value = "xrefs:autodesk.core:Xref")]
50 | XrefsautodeskCoreXref
51 | }
52 |
53 | }
54 |
--------------------------------------------------------------------------------
/modelderivative/source/ServiceCollectionExtensions.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Autodesk.Forge.Core;
23 | using Microsoft.Extensions.Configuration;
24 | using Microsoft.Extensions.DependencyInjection;
25 | using Autodesk.ModelDerivative.Http;
26 |
27 | namespace Autodesk.ModelDerivative
28 | {
29 | public static class ServiceCollectionExtensions
30 | {
31 | ///
32 | /// Adds ModelDerivativeClient and configures it with the given configuration.
33 | ///
34 | ///
35 | ///
36 | ///
37 | public static IHttpClientBuilder AddModelDerivative(this IServiceCollection services, IConfiguration configuration)
38 | {
39 | // services.Configure(configuration.GetSection("Forge").GetSection("ModelDerivative"));
40 | services.AddTransient();
41 | services.AddTransient();
42 | services.AddTransient();
43 | services.AddTransient();
44 | services.AddTransient();
45 | services.AddTransient();
46 | // services.AddTransient();
47 | return services.AddForgeService(configuration);
48 | }
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/Status.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines status
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum Status
43 | {
44 |
45 | ///
46 | /// Enum Active for value: active
47 | ///
48 | [EnumMember(Value = "active")]
49 | Active,
50 |
51 | ///
52 | /// Enum Pending for value: pending
53 | ///
54 | [EnumMember(Value = "pending")]
55 | Pending,
56 |
57 | ///
58 | /// Enum Archived for value: archived
59 | ///
60 | [EnumMember(Value = "archived")]
61 | Archived,
62 |
63 | ///
64 | /// Enum Suspended for value: suspended
65 | ///
66 | [EnumMember(Value = "suspended")]
67 | Suspended
68 | }
69 |
70 | }
71 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVFAdvancedVUE.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for VUE inputs.
37 | ///
38 | [DataContract]
39 | public partial class JobPayloadFormatSVFAdvancedVUE : IJobPayloadFormatSVFAdvanced
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public JobPayloadFormatSVFAdvancedVUE()
45 | {
46 | }
47 |
48 | ///
49 | ///Gets or Sets Hierarchy
50 | ///
51 | [DataMember(Name = "hierarchy", EmitDefaultValue = true)]
52 | public Hierarchy Hierarchy { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVFAdvancedDWG.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for DWG inputs.
37 | ///
38 | [DataContract]
39 | public partial class JobPayloadFormatSVFAdvancedDWG : IJobPayloadFormatSVFAdvanced
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public JobPayloadFormatSVFAdvancedDWG()
45 | {
46 | }
47 |
48 | ///
49 | ///Gets or Sets _2dviews
50 | ///
51 | [DataMember(Name="2dviews", EmitDefaultValue=true)]
52 | public Model2dView _2dviews { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVF2AdvancedDWG.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for DWG inputs.
37 | ///
38 | [DataContract]
39 | public partial class JobPayloadFormatSVF2AdvancedDWG : IJobPayloadFormatSVF2Advanced
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public JobPayloadFormatSVF2AdvancedDWG()
45 | {
46 | }
47 |
48 | ///
49 | ///Gets or Sets _2dviews
50 | ///
51 | [DataMember(Name="2dviews", EmitDefaultValue=true)]
52 | public Model2dView _2dviews { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/JobPayloadFormatSVF2AdvancedVUE.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Advanced options for VUE inputs.
37 | ///
38 | [DataContract]
39 | public partial class JobPayloadFormatSVF2AdvancedVUE : IJobPayloadFormatSVF2Advanced
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public JobPayloadFormatSVF2AdvancedVUE()
45 | {
46 | }
47 |
48 | ///
49 | ///Gets or Sets Hierarchy
50 | ///
51 | [DataMember(Name="hierarchy", EmitDefaultValue=true)]
52 | public Hierarchy Hierarchy { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/sdkmanager/src/SDKManager.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * Forge SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using Microsoft.Extensions.Logging;
23 | using Microsoft.Extensions.Logging.Abstractions;
24 |
25 | namespace Autodesk.SDKManager
26 | {
27 | public class SDKManager : ISDKManager
28 | {
29 | public SDKManager(IApsConfiguration apsConfiguration, IResiliencyConfiguration resiliencyConfiguration, IAuthClient authClient, ILogger logger )
30 | {
31 | // Default option is important for simplest case.
32 | _apsConfiguration = apsConfiguration ?? new ApsConfiguration();
33 | var currentResiliencyConfiguration = resiliencyConfiguration ?? ResiliencyConfiguration.CreateDefault();
34 |
35 | _aPSClient = new ApsClient(currentResiliencyConfiguration);
36 | _aPSClient.Service.Client.BaseAddress = _apsConfiguration.BaseAddress;
37 |
38 | _authClient = authClient; // There is no default auth client so far.
39 | _logger = logger ?? NullLogger.Instance;
40 | }
41 |
42 | public IApsClient ApsClient { get => _aPSClient; }
43 | public IAuthClient AuthClient { get => _authClient;}
44 | public ILogger Logger { get => _logger; }
45 | public IApsConfiguration ApsConfiguration { get => _apsConfiguration; set => _apsConfiguration = value; }
46 |
47 | ILogger _logger = NullLogger.Instance;
48 | IAuthClient _authClient;
49 | IApsConfiguration _apsConfiguration;
50 | IApsClient _aPSClient;
51 | }
52 | }
--------------------------------------------------------------------------------
/modelderivative/source/Model/SolidType.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// The solid body type to export as, when the output is IGES. Possible values are:
37 | ///
38 | ///- `solid` - (Default)
39 | ///- `surface`
40 | ///- `wireframe`
41 | ///
42 | ///The solid body type to export as, when the output is IGES. Possible values are:
43 | ///
44 | ///- `solid` - (Default)
45 | ///- `surface`
46 | ///- `wireframe`
47 |
48 | [JsonConverter(typeof(StringEnumConverter))]
49 |
50 | public enum SolidType
51 | {
52 |
53 | ///
54 | /// Enum Solid for value: solid
55 | ///
56 | [EnumMember(Value = "solid")]
57 | Solid,
58 |
59 | ///
60 | /// Enum Surface for value: surface
61 | ///
62 | [EnumMember(Value = "surface")]
63 | Surface,
64 |
65 | ///
66 | /// Enum Wireframe for value: wireframe
67 | ///
68 | [EnumMember(Value = "wireframe")]
69 | Wireframe
70 | }
71 |
72 | }
73 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/XAdsDerivativeFormat.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Specifies what Object IDs to return, if the design has legacy SVF derivatives generated by the BIM Docs service. Possible values are:
37 | ///
38 | ///- `latest` - (Default) Return SVF2 Object IDs.
39 | ///- `fallback` - Return SVF Object IDs.
40 | ///
41 | ///Specifies what Object IDs to return, if the design has legacy SVF derivatives generated by the BIM Docs service. Possible values are:
42 | ///
43 | ///- `latest` - (Default) Return SVF2 Object IDs.
44 | ///- `fallback` - Return SVF Object IDs.
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum XAdsDerivativeFormat
49 | {
50 |
51 | ///
52 | /// Enum Latest for value: latest
53 | ///
54 | [EnumMember(Value = "latest")]
55 | Latest,
56 |
57 | ///
58 | /// Enum Fallback for value: fallback
59 | ///
60 | [EnumMember(Value = "fallback")]
61 | Fallback
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/FilterTextMatch.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines filterTextMatch
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum FilterTextMatch
43 | {
44 |
45 | ///
46 | /// Enum Contains for value: contains
47 | ///
48 | [EnumMember(Value = "contains")]
49 | Contains,
50 |
51 | ///
52 | /// Enum StartsWith for value: startsWith
53 | ///
54 | [EnumMember(Value = "startsWith")]
55 | StartsWith,
56 |
57 | ///
58 | /// Enum EndsWith for value: endsWith
59 | ///
60 | [EnumMember(Value = "endsWith")]
61 | EndsWith,
62 |
63 | ///
64 | /// Enum Equals for value: equals
65 | ///
66 | [EnumMember(Value = "equals")]
67 | Equals
68 | }
69 |
70 | }
71 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/Classification.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Forge Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.AccountAdmin.Model
34 | {
35 | ///
36 | /// Defines classification
37 | ///
38 | ///
39 |
40 | [JsonConverter(typeof(StringEnumConverter))]
41 |
42 | public enum Classification
43 | {
44 |
45 | ///
46 | /// Enum Production for value: production
47 | ///
48 | [EnumMember(Value = "production")]
49 | Production,
50 |
51 | ///
52 | /// Enum Template for value: template
53 | ///
54 | [EnumMember(Value = "template")]
55 | Template,
56 |
57 | ///
58 | /// Enum Component for value: component
59 | ///
60 | [EnumMember(Value = "component")]
61 | Component,
62 |
63 | ///
64 | /// Enum Sample for value: sample
65 | ///
66 | [EnumMember(Value = "sample")]
67 | Sample
68 | }
69 |
70 | }
71 |
--------------------------------------------------------------------------------
/construction/issues/source/Model/CommentsPayload.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Issues
7 | *
8 | * An issue is an item that is created in ACC for tracking, managing and communicating tasks, problems and other points of concern through to resolution. You can manage different types of issues, such as design, safety, and commissioning. We currently support issues that are associated with a project.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Construction.Issues.Model
34 | {
35 | ///
36 | /// CommentsPayload
37 | ///
38 | [DataContract]
39 | public partial class CommentsPayload
40 | {
41 | ///
42 | /// Initializes a new instance of the class.
43 | ///
44 | public CommentsPayload()
45 | {
46 | }
47 |
48 | ///
49 | /// Gets or Sets Body
50 | ///
51 | [DataMember(Name = "body", EmitDefaultValue = false)]
52 | public string Body { get; set; }
53 |
54 | ///
55 | /// Returns the string presentation of the object
56 | ///
57 | /// String presentation of the object
58 | public override string ToString()
59 | {
60 | return JsonConvert.SerializeObject(this, Formatting.Indented);
61 | }
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/.github/workflows/main.yml:
--------------------------------------------------------------------------------
1 | name: Run Tests on Develop
2 |
3 | on:
4 | push:
5 | branches:
6 | - develop/harun
7 |
8 | jobs:
9 | run_tests:
10 | runs-on: ubuntu-latest
11 |
12 | steps:
13 | - name: Checkout code
14 | uses: actions/checkout@v2
15 |
16 | - name: Setup .NET
17 | uses: actions/setup-dotnet@v1
18 | with:
19 | dotnet-version: 6.0.100
20 |
21 | - name: Build
22 | run: |
23 | # Clean, restore, and build the .NET project
24 | dotnet clean
25 | dotnet restore
26 | dotnet build
27 |
28 | - name: Test Webhooks
29 | run: |
30 | # Run tests for the Webhooks component
31 | cd webhooks/test
32 | dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
33 | env:
34 | TWO_LEGGED_ACCESS_TOKEN: ${{ secrets.TWO_LEGGED_ACCESS_TOKEN }}
35 | CALLBACK_URL: ${{ secrets.CALLBACK_URL }}
36 | WORKFLOW_ID: ${{ secrets.WORKFLOW_ID }}
37 | HOOK_ID: ${{ secrets.HOOK_ID }}
38 |
39 | # - name: Test Data Management
40 | # run: |
41 | # # Run tests for the Data Management component
42 | # cd datamanagement/test
43 | # dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
44 | # env:
45 | # THREE_LEGGED_ACCESS_TOKEN: ${{ secrets.THREE_LEGGED_ACCESS_TOKEN }}
46 | # DOWNLOAD_ID: ${{ secrets.DOWNLOAD_ID }}
47 | # FOLDER_ID: ${{ secrets.FOLDER_ID }}
48 | # HUB_ID: ${{ secrets.HUB_ID }}
49 | # ITEM_ID: ${{ secrets.ITEM_ID }}
50 | # JOB_ID: ${{ secrets.JOB_ID }}
51 | # PROJECT_ID: ${{ secrets.PROJECT_ID }}
52 | # VERSION_ID: ${{ secrets.VERSION_ID }}
53 |
54 | # - name: Test OSS
55 | # run: |
56 | # # Run tests for the Object Storage Service (OSS)
57 | # cd oss/test
58 | # dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
59 |
60 | # - name: Test Model Derivative
61 | # run: |
62 | # # Run tests for the Model Derivative component
63 | # cd modelderivative/test
64 | # dotnet test --configuration Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover
65 |
66 | # - name: Upload Code Coverage Report to Codecov
67 | # uses: codecov/codecov-action@v2
68 | # with:
69 | # token: ${{ secrets.CODECOV_TOKEN }}
70 |
--------------------------------------------------------------------------------
/oss/source/Model/PermissionAccess.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * oss
7 | *
8 | * The Object Storage Service (OSS) allows your application to download and upload raw files (such as PDF, XLS, DWG, or RVT) that are managed by the Data service.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.Oss.Model
34 | {
35 | ///
36 | /// Specifies the level of permission the application has. Possible values are:
37 | ///
38 | ///- `full` - Unrestricted access to objects within the bucket.
39 | ///- `read_only` - Read only access to the objects within the bucket. Modification and deletion of objects is not allowed.
40 | ///
41 | ///Specifies the level of permission the application has. Possible values are:
42 | ///
43 | ///- `full` - Unrestricted access to objects within the bucket.
44 | ///- `read_only` - Read only access to the objects within the bucket. Modification and deletion of objects is not allowed.
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum PermissionAccess
49 | {
50 |
51 | ///
52 | /// Enum Full for value: full
53 | ///
54 | [EnumMember(Value = "full")]
55 | Full,
56 |
57 | ///
58 | /// Enum Read for value: read
59 | ///
60 | [EnumMember(Value = "read")]
61 | Read
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/construction/accountadmin/source/Model/BusinessUnits.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Construction.Account.Admin
7 | *
8 | * The Account Admin API automates creating and managing projects, assigning and managing project users, and managing member and partner company directories. You can also synchronize data with external systems.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.Construction.AccountAdmin.Model
35 | {
36 | ///
37 | /// BusinessUnits
38 | ///
39 | [DataContract]
40 | public partial class BusinessUnits
41 | {
42 | ///
43 | /// Initializes a new instance of the class.
44 | ///
45 | public BusinessUnits()
46 | {
47 | }
48 |
49 | ///
50 | ///Gets or Sets VarBusinessUnits
51 | ///
52 | [DataMember(Name="business_units", EmitDefaultValue=false)]
53 | public List VarBusinessUnits { get; set; }
54 |
55 | ///
56 | /// Returns the string presentation of the object
57 | ///
58 | /// String presentation of the object
59 | public override string ToString()
60 | {
61 | return JsonConvert.SerializeObject(this, Formatting.Indented);
62 | }
63 | }
64 |
65 | }
66 |
--------------------------------------------------------------------------------
/modelderivative/source/Model/ExportFileStructure.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The APS Platform contains an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Model Derivative
7 | *
8 | * Use the Model Derivative API to translate designs from one CAD format to another. You can also use this API to extract metadata from a model.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 | using System;
23 | using System.Linq;
24 | using System.IO;
25 | using System.Text;
26 | using System.Collections;
27 | using System.Collections.Generic;
28 | using System.Collections.ObjectModel;
29 | using System.Runtime.Serialization;
30 | using Newtonsoft.Json;
31 | using Newtonsoft.Json.Converters;
32 |
33 | namespace Autodesk.ModelDerivative.Model
34 | {
35 | ///
36 | /// Specifies the structure of the derivative, when the specified output is STL. Possible values are:
37 | ///
38 | ///- `single` (Default) Create one STL file for all the input files (assembly file).
39 | ///- `multiple`: Create a separate STL file for each object
40 | ///
41 | ///Specifies the structure of the derivative, when the specified output is STL. Possible values are:
42 | ///
43 | ///- `single` (Default) Create one STL file for all the input files (assembly file).
44 | ///- `multiple`: Create a separate STL file for each object
45 |
46 | [JsonConverter(typeof(StringEnumConverter))]
47 |
48 | public enum ExportFileStructure
49 | {
50 |
51 | ///
52 | /// Enum Single for value: single
53 | ///
54 | [EnumMember(Value = "single")]
55 | Single,
56 |
57 | ///
58 | /// Enum Multiple for value: multiple
59 | ///
60 | [EnumMember(Value = "multiple")]
61 | Multiple
62 | }
63 |
64 | }
65 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/FilterDirection.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// Filter by the direction of the reference. Possible values: `from` and `to`.
38 | ///
39 | ///Filter by the direction of the reference. Possible values: `from` and `to`.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum FilterDirection
44 | {
45 |
46 | ///
47 | /// Enum From for value: from
48 | ///
49 | [EnumMember(Value = "from")]
50 | From,
51 |
52 | ///
53 | /// Enum To for value: to
54 | ///
55 | [EnumMember(Value = "to")]
56 | To
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------
/datamanagement/source/Model/ProjectTypeBim360Acc.gen.cs:
--------------------------------------------------------------------------------
1 | /*
2 | * APS SDK
3 | *
4 | * The Autodesk Platform Services (formerly Forge Platform) contain an expanding collection of web service components that can be used with Autodesk cloud-based products or your own technologies. Take advantage of Autodesk’s expertise in design and engineering.
5 | *
6 | * Data Management
7 | *
8 | * The Data Management API provides a unified and consistent way to access data across BIM 360 Team, Fusion Team (formerly known as A360 Team), BIM 360 Docs, A360 Personal, and the Object Storage Service. With this API, you can accomplish a number of workflows, including accessing a Fusion model in Fusion Team and getting an ordered structure of items, IDs, and properties for generating a bill of materials in a 3rd-party process. Or, you might want to superimpose a Fusion model and a building model to use in the Viewer.
9 | *
10 | * Licensed under the Apache License, Version 2.0 (the "License");
11 | * you may not use this file except in compliance with the License.
12 | * You may obtain a copy of the License at
13 | *
14 | * http://www.apache.org/licenses/LICENSE-2.0
15 | *
16 | * Unless required by applicable law or agreed to in writing, software
17 | * distributed under the License is distributed on an "AS IS" BASIS,
18 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 | * See the License for the specific language governing permissions and
20 | * limitations under the License.
21 | */
22 |
23 | using System;
24 | using System.Linq;
25 | using System.IO;
26 | using System.Text;
27 | using System.Collections;
28 | using System.Collections.Generic;
29 | using System.Collections.ObjectModel;
30 | using System.Runtime.Serialization;
31 | using Newtonsoft.Json;
32 | using Newtonsoft.Json.Converters;
33 |
34 | namespace Autodesk.DataManagement.Model
35 | {
36 | ///
37 | /// The type of project. Only relevant for BIM 360 and ACC projects.
38 | ///
39 | ///The type of project. Only relevant for BIM 360 and ACC projects.
40 |
41 | [JsonConverter(typeof(StringEnumConverter))]
42 |
43 | public enum ProjectTypeBim360Acc
44 | {
45 |
46 | ///
47 | /// Enum BIM360 for value: BIM360
48 | ///
49 | [EnumMember(Value = "BIM360")]
50 | BIM360,
51 |
52 | ///
53 | /// Enum ACC for value: ACC
54 | ///
55 | [EnumMember(Value = "ACC")]
56 | ACC
57 | }
58 |
59 | }
60 |
--------------------------------------------------------------------------------