From eba4ce3ac2f44d1d99b43f323f2928d4ff61d559 Mon Sep 17 00:00:00 2001 From: srivastavarahull <139200493+srivastavarahull@users.noreply.github.com> Date: Wed, 5 Jun 2024 18:38:19 +0530 Subject: [PATCH 1/2] Added Regions enum support --- .../Http/IssueAttributeDefinitionsApi.gen.cs | 161 +++-- .../Http/IssueAttributeMappingsApi.gen.cs | 167 +++-- issues/source/Http/IssueCommentsApi.gen.cs | 200 ++++-- .../Http/IssueRootCauseCategoriesApi.gen.cs | 149 ++-- issues/source/Http/IssueTypesApi.gen.cs | 155 ++-- issues/source/Http/IssuesApi.gen.cs | 500 +++++++++---- issues/source/Http/IssuesProfileApi.gen.cs | 125 ++-- issues/source/Model/AssignedToType.gen.cs | 13 +- issues/source/Model/AttrDefinition.gen.cs | 16 +- .../source/Model/AttrDefinitionResults.gen.cs | 137 ++-- .../AttrDefinitionResultsMetadata.gen.cs | 8 +- .../AttrDefinitionResultsMetadataList.gen.cs | 12 +- ...efinitionResultsMetadataListOptions.gen.cs | 20 +- issues/source/Model/AttrMapping.gen.cs | 16 +- issues/source/Model/AttrMappingResults.gen.cs | 141 ++-- issues/source/Model/Comments.gen.cs | 16 +- issues/source/Model/CommentsPayload.gen.cs | 6 +- issues/source/Model/CommentsResults.gen.cs | 84 ++- issues/source/Model/CreatedComment.gen.cs | 86 ++- issues/source/Model/DataType.gen.cs | 21 +- issues/source/Model/Fields.gen.cs | 63 +- issues/source/Model/FiltercreatedBy.gen.cs | 6 +- issues/source/Model/Issue.gen.cs | 670 ++++++++++-------- .../source/Model/IssueCustomAttributes.gen.cs | 36 +- .../source/Model/IssueGpsCoordinates.gen.cs | 12 +- .../source/Model/IssueLinkedDocuments.gen.cs | 74 +- .../Model/IssueLinkedDocumentsDetails.gen.cs | 36 +- ...IssueLinkedDocumentsDetailsPosition.gen.cs | 28 +- ...IssueLinkedDocumentsDetailsViewable.gen.cs | 46 +- issues/source/Model/IssuePayload.gen.cs | 328 +++++---- .../Model/IssuePayloadCustomAttributes.gen.cs | 20 +- .../Model/IssuePayloadGpsCoordinates.gen.cs | 12 +- issues/source/Model/IssueRootCause.gen.cs | 16 +- .../source/Model/IssueRootCauseResults.gen.cs | 208 +++--- .../IssueRootCauseResultsRootCauses.gen.cs | 152 ++-- issues/source/Model/IssueType.gen.cs | 16 +- .../source/Model/IssueTypePagination.gen.cs | 28 +- issues/source/Model/IssueTypeResults.gen.cs | 124 ++-- .../Model/IssueTypeResultsSubtypes.gen.cs | 124 ++-- issues/source/Model/IssuesPage.gen.cs | 22 +- ...ion.gen.cs => IssuesPagePagination.gen.cs} | 32 +- ...dsRegion.gen.cs => PermissionLevel.gen.cs} | 31 +- .../{FilterdataType.gen.cs => Region.gen.cs} | 42 +- issues/source/Model/Results.gen.cs | 421 +++++++++++ .../Model/ResultsLinkedDocuments.gen.cs | 138 ++++ .../ResultsLinkedDocumentsDetails.gen.cs | 100 +++ issues/source/Model/SortBy.gen.cs | 41 +- issues/source/Model/Status.gen.cs | 24 +- issues/source/Model/User.gen.cs | 42 +- issues/source/Model/UserIssues.gen.cs | 12 +- issues/source/Model/UserIssuesFilter.gen.cs | 12 +- issues/source/Model/UserIssuesNew.gen.cs | 54 +- issues/source/ServiceApiException.cs | 8 +- .../source/ServiceCollectionExtensions.gen.cs | 14 +- issues/source/custom-code/IssuesClient.cs | 26 +- 55 files changed, 3400 insertions(+), 1651 deletions(-) rename issues/source/Model/{IssuesPagination.gen.cs => IssuesPagePagination.gen.cs} (72%) rename issues/source/Model/{XAdsRegion.gen.cs => PermissionLevel.gen.cs} (79%) rename issues/source/Model/{FilterdataType.gen.cs => Region.gen.cs} (59%) create mode 100644 issues/source/Model/Results.gen.cs create mode 100644 issues/source/Model/ResultsLinkedDocuments.gen.cs create mode 100644 issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs diff --git a/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs b/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs index a3e5e00..ab4dd72 100644 --- a/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs +++ b/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,13 +44,36 @@ public interface IIssueAttributeDefinitionsApi /// Your GET endpoint /// /// - /// Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type. + ///Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute definitions to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute definitions you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute definitions with the specified data type. Possible values: list (this corresponds to dropdown in the UI), text, paragraph, numeric. For example, filter[dataType]=text,numeric. (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetAttributeDefinitionsAsync (string projectId, XAdsRegion xAdsRegion, int? limit= default(int?), int? offset= default(int?), string filterCreatedAt= default(string), string filterUpdatedAt= default(string), string filterDeletedAt= default(string), List filterDataType= default(List), string accessToken = null, bool throwOnError = true); + /// + /// + /// + /// + /// (optional) + /// + /// + ///The number of custom attribute definitions to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional) + /// + /// + ///The number of custom attribute definitions you want to begin retrieving results from. (optional) + /// + /// + ///Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issue custom attribute definitions with the specified data type. Possible values: list (this corresponds to dropdown in the UI), text, paragraph, numeric. For example, filter[dataType]=text,numeric. (optional) + /// + /// Task of ApiResponse<AttrDefinition> + + System.Threading.Tasks.Task> GetAttributeDefinitionsAsync(string projectId, Region? xAdsRegion = null, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), List filterDataType = default(List), string accessToken = null, bool throwOnError = true); } /// @@ -72,27 +96,49 @@ public IssueAttributeDefinitionsApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -100,27 +146,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// Your GET endpoint /// /// - /// Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type. + ///Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute definitions to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute definitions you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute definitions with the specified data type. Possible values: list (this corresponds to dropdown in the UI), text, paragraph, numeric. For example, filter[dataType]=text,numeric. (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetAttributeDefinitionsAsync (string projectId,XAdsRegion xAdsRegion,int? limit= default(int?),int? offset= default(int?),string filterCreatedAt= default(string),string filterUpdatedAt= default(string),string filterDeletedAt= default(string),List filterDataType= default(List), string accessToken = null, bool throwOnError = true) + /// + /// + /// + /// + /// (optional) + /// + /// + ///The number of custom attribute definitions to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional) + /// + /// + ///The number of custom attribute definitions you want to begin retrieving results from. (optional) + /// + /// + ///Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issue custom attribute definitions with the specified data type. Possible values: list (this corresponds to dropdown in the UI), text, paragraph, numeric. For example, filter[dataType]=text,numeric. (optional) + /// + /// Task of ApiResponse<AttrDefinition>> + + public async System.Threading.Tasks.Task> GetAttributeDefinitionsAsync(string projectId, Region? xAdsRegion = null, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), List filterDataType = default(List), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetAttributeDefinitionsAsync "); using (var request = new HttpRequestMessage()) @@ -161,43 +230,43 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -209,9 +278,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssueAttributeMappingsApi.gen.cs b/issues/source/Http/IssueAttributeMappingsApi.gen.cs index fcc06f0..02cebd2 100644 --- a/issues/source/Http/IssueAttributeMappingsApi.gen.cs +++ b/issues/source/Http/IssueAttributeMappingsApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,13 +44,39 @@ public interface IIssueAttributeMappingsApi /// Your GET endpoint /// /// - /// Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types. + ///Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute mappings to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute mappings you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute mappings associated with the specified issue custom attribute definitions. Separate multiple values with commas. For example: filter[attributeDefinitionId]=18ee5858-cbf1-451a-a525-7c6ff8156775. (optional)/// Retrieves issue custom attribute mappings associated with the specified items (project, type, or subtype). Separate multiple values with commas. For example: filter[mappedItemId]=18ee5858-cbf1-451a-a525-7c6ff8156775. Note that this does not retrieve inherited custom attribute mappings or custom attribute mappings of descendants. (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetAttributeMappingsAsync (string projectId, XAdsRegion xAdsRegion, int? limit= default(int?), int? offset= default(int?), string filterCreatedAt= default(string), string filterUpdatedAt= default(string), string filterDeletedAt= default(string), string filterAttributeDefinitionId= default(string), string filterMappedItemId= default(string), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + ///The number of custom attribute mappings to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional) + /// + /// + ///The number of custom attribute mappings you want to begin retrieving results from. (optional) + /// + /// + ///Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issue custom attribute mappings associated with the specified issue custom attribute definitions. Separate multiple values with commas. For example: filter[attributeDefinitionId]=18ee5858-cbf1-451a-a525-7c6ff8156775. (optional) + /// + /// + ///Retrieves issue custom attribute mappings associated with the specified items (project, type, or subtype). Separate multiple values with commas. For example: filter[mappedItemId]=18ee5858-cbf1-451a-a525-7c6ff8156775. Note that this does not retrieve inherited custom attribute mappings or custom attribute mappings of descendants. (optional) + /// + /// Task of ApiResponse<AttrMapping> + + System.Threading.Tasks.Task> GetAttributeMappingsAsync(string projectId, Region? xAdsRegion = null, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), string filterAttributeDefinitionId = default(string), string filterMappedItemId = default(string), string accessToken = null, bool throwOnError = true); } /// @@ -72,27 +99,49 @@ public IssueAttributeMappingsApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -100,27 +149,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// Your GET endpoint /// /// - /// Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types. + ///Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute mappings to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute mappings you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute mappings associated with the specified issue custom attribute definitions. Separate multiple values with commas. For example: filter[attributeDefinitionId]=18ee5858-cbf1-451a-a525-7c6ff8156775. (optional)/// Retrieves issue custom attribute mappings associated with the specified items (project, type, or subtype). Separate multiple values with commas. For example: filter[mappedItemId]=18ee5858-cbf1-451a-a525-7c6ff8156775. Note that this does not retrieve inherited custom attribute mappings or custom attribute mappings of descendants. (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetAttributeMappingsAsync (string projectId,XAdsRegion xAdsRegion,int? limit= default(int?),int? offset= default(int?),string filterCreatedAt= default(string),string filterUpdatedAt= default(string),string filterDeletedAt= default(string),string filterAttributeDefinitionId= default(string),string filterMappedItemId= default(string), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + ///The number of custom attribute mappings to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional) + /// + /// + ///The number of custom attribute mappings you want to begin retrieving results from. (optional) + /// + /// + ///Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issue custom attribute mappings associated with the specified issue custom attribute definitions. Separate multiple values with commas. For example: filter[attributeDefinitionId]=18ee5858-cbf1-451a-a525-7c6ff8156775. (optional) + /// + /// + ///Retrieves issue custom attribute mappings associated with the specified items (project, type, or subtype). Separate multiple values with commas. For example: filter[mappedItemId]=18ee5858-cbf1-451a-a525-7c6ff8156775. Note that this does not retrieve inherited custom attribute mappings or custom attribute mappings of descendants. (optional) + /// + /// Task of ApiResponse<AttrMapping>> + + public async System.Threading.Tasks.Task> GetAttributeMappingsAsync(string projectId, Region? xAdsRegion = null, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), string filterAttributeDefinitionId = default(string), string filterMappedItemId = default(string), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetAttributeMappingsAsync "); using (var request = new HttpRequestMessage()) @@ -162,43 +237,43 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -210,9 +285,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssueCommentsApi.gen.cs b/issues/source/Http/IssueCommentsApi.gen.cs index 34f8ce3..3f11553 100644 --- a/issues/source/Http/IssueCommentsApi.gen.cs +++ b/issues/source/Http/IssueCommentsApi.gen.cs @@ -43,24 +43,52 @@ public interface IIssueCommentsApi /// /// /// - /// Creates a new comment under a specific issue. + ///Creates a new comment under a specific issue. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> CreateCommentsAsync (string projectId, string issueId, XAdsRegion xAdsRegion, CommentsPayload commentsPayload= default(CommentsPayload), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<CreatedComment> + + System.Threading.Tasks.Task> CreateCommentsAsync(string projectId, string issueId, Region? xAdsRegion = null, CommentsPayload commentsPayload = default(CommentsPayload), string accessToken = null, bool throwOnError = true); /// /// Your GET endpoint /// /// - /// Get all the comments for a specific issue. + ///Get all the comments for a specific issue. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetCommentsAsync (string projectId, string issueId, XAdsRegion xAdsRegion, string limit= default(string), string offset= default(string), List sortBy= default(List), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination). (optional) + /// + /// + ///Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) + /// + /// Task of ApiResponse<Comments> + + System.Threading.Tasks.Task> GetCommentsAsync(string projectId, string issueId, Region? xAdsRegion = null, string limit = default(string), string offset = default(string), List sortBy = default(List), string accessToken = null, bool throwOnError = true); } /// @@ -83,27 +111,27 @@ public IssueCommentsApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -111,27 +139,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// /// /// - /// Creates a new comment under a specific issue. + ///Creates a new comment under a specific issue. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> CreateCommentsAsync (string projectId,string issueId,XAdsRegion xAdsRegion,CommentsPayload commentsPayload= default(CommentsPayload), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<CreatedComment>> + + public async System.Threading.Tasks.Task> CreateCommentsAsync(string projectId, string issueId, Region? xAdsRegion = null, CommentsPayload commentsPayload = default(CommentsPayload), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into CreateCommentsAsync "); using (var request = new HttpRequestMessage()) @@ -167,8 +206,8 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } @@ -176,35 +215,35 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) request.Content = Marshalling.Serialize(commentsPayload); // http body (model) parameter - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("POST"); @@ -216,9 +255,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) @@ -235,13 +276,30 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) /// Your GET endpoint /// /// - /// Get all the comments for a specific issue. + ///Get all the comments for a specific issue. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetCommentsAsync (string projectId,string issueId,XAdsRegion xAdsRegion,string limit= default(string),string offset= default(string),List sortBy= default(List), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination). (optional) + /// + /// + ///Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) + /// + /// Task of ApiResponse<Comments>> + + public async System.Threading.Tasks.Task> GetCommentsAsync(string projectId, string issueId, Region? xAdsRegion = null, string limit = default(string), string offset = default(string), List sortBy = default(List), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetCommentsAsync "); using (var request = new HttpRequestMessage()) @@ -260,43 +318,43 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -308,9 +366,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs b/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs index 600a817..11d9db8 100644 --- a/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs +++ b/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,13 +44,30 @@ public interface IIssueRootCauseCategoriesApi /// Your GET endpoint /// /// - /// Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination. + ///Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add ‘include=rootcauses’ to add the root causes for each category. (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination) (optional)/// Retrieves root cause categories updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetRootCauseCategoriesAsync (string projectId,XAdsRegion xAdsRegion, string include= default(string), int? limit= default(int?), int? offset= default(int?), string filterUpdatedAt= default(string), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + ///Add ‘include=rootcauses’ to add the root causes for each category. (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination) (optional) + /// + /// + ///Retrieves root cause categories updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// Task of ApiResponse<IssueRootCause> + + System.Threading.Tasks.Task> GetRootCauseCategoriesAsync(string projectId, Region? xAdsRegion = null, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), string accessToken = null, bool throwOnError = true); } /// @@ -72,27 +90,49 @@ public IssueRootCauseCategoriesApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -100,27 +140,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// Your GET endpoint /// /// - /// Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination. + ///Retrieves a list of supported root cause categories and root causes that you can allocate to an issue. For example, communication and coordination. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add ‘include=rootcauses’ to add the root causes for each category. (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination) (optional)/// Retrieves root cause categories updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetRootCauseCategoriesAsync (string projectId, XAdsRegion xAdsRegion,string include= default(string),int? limit= default(int?),int? offset= default(int?),string filterUpdatedAt= default(string), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + ///Add ‘include=rootcauses’ to add the root causes for each category. (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination) (optional) + /// + /// + ///Retrieves root cause categories updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// Task of ApiResponse<IssueRootCause>> + + public async System.Threading.Tasks.Task> GetRootCauseCategoriesAsync(string projectId, Region? xAdsRegion = null, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetRootCauseCategoriesAsync "); using (var request = new HttpRequestMessage()) @@ -159,43 +216,43 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -207,9 +264,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssueTypesApi.gen.cs b/issues/source/Http/IssueTypesApi.gen.cs index dd5a351..86575ae 100644 --- a/issues/source/Http/IssueTypesApi.gen.cs +++ b/issues/source/Http/IssueTypesApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,13 +44,33 @@ public interface IIssueTypesApi /// Your GET endpoint /// /// - /// Retrieves a project’s categories and types. + ///Retrieves a project’s categories and types. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Use include=subtypes to include the types (subtypes) for each category (type). (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Retrieves types that were last updated at the specified date and time, in in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter types by status e.g. filter[isActive]=true will only return active types. Default value: undefined (meaning both active & inactive issue type categories will return). (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetIssuesTypesAsync (string projectId, XAdsRegion xAdsRegion, string include= default(string), int? limit= default(int?), int? offset= default(int?), string filterUpdatedAt= default(string), bool? filterIsActive= default(bool?), string accessToken = null, bool throwOnError = true); + /// + /// + /// + /// + ///Use include=subtypes to include the types (subtypes) for each category (type). (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination). (optional) + /// + /// + ///Retrieves types that were last updated at the specified date and time, in in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter types by status e.g. filter[isActive]=true will only return active types. Default value: undefined (meaning both active & inactive issue type categories will return). (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<IssueType> + + System.Threading.Tasks.Task> GetIssuesTypesAsync(string projectId, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), bool? filterIsActive = default(bool?), Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true); } /// @@ -72,27 +93,49 @@ public IssueTypesApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -100,27 +143,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// Your GET endpoint /// /// - /// Retrieves a project’s categories and types. + ///Retrieves a project’s categories and types. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Use include=subtypes to include the types (subtypes) for each category (type). (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Retrieves types that were last updated at the specified date and time, in in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter types by status e.g. filter[isActive]=true will only return active types. Default value: undefined (meaning both active & inactive issue type categories will return). (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetIssuesTypesAsync (string projectId,XAdsRegion xAdsRegion,string include= default(string),int? limit= default(int?),int? offset= default(int?),string filterUpdatedAt= default(string),bool? filterIsActive= default(bool?), string accessToken = null, bool throwOnError = true) + /// + /// + /// + /// + ///Use include=subtypes to include the types (subtypes) for each category (type). (optional) + /// + /// + ///Add limit=20 to limit the results count (together with the offset to support pagination). (optional) + /// + /// + ///Add offset=20 to get partial results (together with the limit to support pagination). (optional) + /// + /// + ///Retrieves types that were last updated at the specified date and time, in in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter types by status e.g. filter[isActive]=true will only return active types. Default value: undefined (meaning both active & inactive issue type categories will return). (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<IssueType>> + + public async System.Threading.Tasks.Task> GetIssuesTypesAsync(string projectId, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), bool? filterIsActive = default(bool?), Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetIssuesTypesAsync "); using (var request = new HttpRequestMessage()) @@ -160,43 +223,43 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -208,9 +271,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssuesApi.gen.cs b/issues/source/Http/IssuesApi.gen.cs index c516978..8c8da70 100644 --- a/issues/source/Http/IssuesApi.gen.cs +++ b/issues/source/Http/IssuesApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,46 +44,160 @@ public interface IIssuesApi /// /// /// - /// Adds an issue to a project. + ///Adds an issue to a project. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> CreateIssueAsync (string projectId, XAdsRegion xAdsRegion, IssuePayload issuePayload= default(IssuePayload), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue> + + System.Threading.Tasks.Task> CreateIssueAsync(string projectId, Region? xAdsRegion = null, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true); /// /// Your GET endpoint /// /// - /// Retrieves detailed information about a single issue. For general information about all the issues in a project. + ///Retrieves detailed information about a single issue. For general information about all the issues in a project. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA` - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetIssueDetailsAsync (string projectId, string issueId, XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue> + + System.Threading.Tasks.Task> GetIssueDetailsAsync(string projectId, string issueId, Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true); /// /// Your GET endpoint /// /// - /// Retrieves information about all the issues in a project, including details about their associated comments and attachments. + ///Retrieves information about all the issues in a project, including details about their associated comments and attachments. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Filter issues by the unique issue ID. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the category of the issue. Note that the API name for category is type. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of the issue. Note that the API name for type is subtype. Separate multiple values with commas. (optional)/// Filter issues by their status. Separate multiple values with commas. (optional)/// Retrieves pushpin issues associated with the specified files. We support all file types that are compatible with the Files tool. You need to specify the URL-encoded file item IDs. (optional)/// Filter issues by due date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by start date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas (optional)/// Filter issues by the unique identifier of the user who created the issue. Separate multiple values with commas. (optional)/// Filter issues updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who updated the issue. Separate multiple values with commas. (optional)/// Filter issues by the unique Autodesk ID of the User/Company/Role identifier of the current assignee of this issue. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of root cause for the issue. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified location but not the location’s sublocations. To also retrieve issues that relate to the locations’s sublocations use the sublocationId filter. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified unique LBS (Location Breakdown Structure) identifier, as well as issues associated with the sub locations of the LBS identifier. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who closed the issue. Separate multiple values with commas. For Example: A3RGM375QTZ7. (optional)/// Filter issues closed at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues using ‘search’ criteria. this will filter both title and issues display ID. For example, use filter[search]=300 (optional)/// Filter issues by the chronological user-friendly identifier. Separate multiple values with commas. (optional)/// Filter issues by the type of the current assignee of this issue. Separate multiple values with commas. Possible values: Possible values: user, company, role, null. For Example: user. (optional)/// Filter issues by the custom attributes. Each custom attribute filter should be defined by it’s uuid. For example: filter[customAttributes][f227d940-ae9b-4722-9297-389f4411f010]=1,2,3. Separate multiple values with commas. (optional)/// Only return valid issues (=no empty type/subtype). Default value: undefined (meaning will return both valid & invalid issues). (optional)/// Return specified number of issues. Acceptable values are 1-100. Default value: 100. (optional)/// Return issues starting from the specified offset number. Default value: 0. (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional)/// Return only specific fields in issue object. Separate multiple values with commas. (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetIssuesAsync (string projectId, XAdsRegion xAdsRegion, List filterId= default(List), List filterIssueTypeId= default(List), List filterIssueSubtypeId= default(List), string filterStatus= default(string), List filterLinkedDocumentUrn= default(List), string filterDueDate= default(string), string filterStartDate= default(string), string filterCreatedAt= default(string), FiltercreatedBy filterCreatedBy= default(FiltercreatedBy), string filterUpdatedAt= default(string), List filterUpdatedBy= default(List), List filterAssignedTo= default(List), List filterRootCauseId= default(List), List filterLocationId= default(List), List filterSubLocationId= default(List), List filterClosedBy= default(List), string filterClosedAt= default(string), string filterSearch= default(string), int? filterDisplayId= default(int?), string filterAssignedToType= default(string), List filterCustomAttributes= default(List), bool? filterValid= default(bool?), int? limit= default(int?), int? offset= default(int?), List sortBy= default(List), List fields= default(List), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + ///Filter issues by the unique issue ID. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the category of the issue. Note that the API name for category is type. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the type of the issue. Note that the API name for type is subtype. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by their status. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves pushpin issues associated with the specified files. We support all file types that are compatible with the Files tool. You need to specify the URL-encoded file item IDs. (optional) + /// + /// + /// (optional) + /// + /// + ///Filter issues by due date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by start date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas (optional) + /// + /// + ///Filter issues by the unique identifier of the user who created the issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the user who updated the issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique Autodesk ID of the User/Company/Role identifier of the current assignee of this issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the type of root cause for the issue. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issues associated with the specified location but not the location’s sublocations. To also retrieve issues that relate to the locations’s sublocations use the sublocationId filter. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issues associated with the specified unique LBS (Location Breakdown Structure) identifier, as well as issues associated with the sub locations of the LBS identifier. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the user who closed the issue. Separate multiple values with commas. For Example: A3RGM375QTZ7. (optional) + /// + /// + ///Filter issues closed at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues using ‘search’ criteria. this will filter both title and issues display ID. For example, use filter[search]=300 (optional) + /// + /// + ///Filter issues by the chronological user-friendly identifier. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the type of the current assignee of this issue. Separate multiple values with commas. Possible values: Possible values: user, company, role, null. For Example: user. (optional) + /// + /// + ///Filter issues by the custom attributes. Each custom attribute filter should be defined by it’s uuid. For example: filter[customAttributes][f227d940-ae9b-4722-9297-389f4411f010]=1,2,3. Separate multiple values with commas. (optional) + /// + /// + ///Only return valid issues (=no empty type/subtype). Default value: undefined (meaning will return both valid & invalid issues). (optional) + /// + /// + ///Return specified number of issues. Acceptable values are 1-100. Default value: 100. (optional) + /// + /// + ///Return issues starting from the specified offset number. Default value: 0. (optional) + /// + /// + ///Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) + /// + /// + ///Return only specific fields in issue object. Separate multiple values with commas. (optional) + /// + /// Task of ApiResponse<IssuesPage> + + System.Threading.Tasks.Task> GetIssuesAsync(string projectId, List filterId = default(List), List filterIssueTypeId = default(List), List filterIssueSubtypeId = default(List), string filterStatus = default(string), List filterLinkedDocumentUrn = default(List), Region? xAdsRegion = null, string filterDueDate = default(string), string filterStartDate = default(string), string filterCreatedAt = default(string), FiltercreatedBy filterCreatedBy = default(FiltercreatedBy), string filterUpdatedAt = default(string), List filterUpdatedBy = default(List), List filterAssignedTo = default(List), List filterRootCauseId = default(List), List filterLocationId = default(List), List filterSubLocationId = default(List), List filterClosedBy = default(List), string filterClosedAt = default(string), string filterSearch = default(string), int? filterDisplayId = default(int?), string filterAssignedToType = default(string), List filterCustomAttributes = default(List), bool? filterValid = default(bool?), int? limit = default(int?), int? offset = default(int?), List sortBy = default(List), List fields = default(List), string accessToken = null, bool throwOnError = true); /// /// /// /// - /// Updates an issue. To verify whether a user can update issues for a specific project, call GET users/me. To verify which attributes the user can update, call GET issues/:id and check the permittedAttributes and permittedStatuses lists. + ///Updates an issue. + /// + ///To verify whether a user can update issues for a specific project, call GET users/me. + /// + ///To verify which attributes the user can update, call GET issues/:id and check the permittedAttributes and permittedStatuses lists. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - System.Threading.Tasks.Task> PatchIssueDetailsAsync (string projectId, string issueId, XAdsRegion xAdsRegion, IssuePayload issuePayload= default(IssuePayload), string accessToken = null, bool throwOnError = true); + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue> + + System.Threading.Tasks.Task> PatchIssueDetailsAsync(string projectId, string issueId, Region? xAdsRegion = null, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true); } /// @@ -105,55 +220,78 @@ public IssuesApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { + dictionary.Add(name, value); } } } private void SetHeader(string baseName, object value, HttpRequestMessage req) { - if(value is DateTime) + if (value is DateTime) + { + if ((DateTime)value != DateTime.MinValue) { - if((DateTime)value != DateTime.MinValue) + req.Headers.TryAddWithoutValidation(baseName, LocalMarshalling.ParameterToString(value)); // header parameter + } + } + else + { + if (value != null) + { + if (!string.Equals(baseName, "Content-Range")) { req.Headers.TryAddWithoutValidation(baseName, LocalMarshalling.ParameterToString(value)); // header parameter } - } - else - { - if (value != null) + else { - if(!string.Equals(baseName, "Content-Range")) - { - req.Headers.TryAddWithoutValidation(baseName, LocalMarshalling.ParameterToString(value)); // header parameter - } - else - { - req.Content.Headers.Add(baseName, LocalMarshalling.ParameterToString(value)); - } + req.Content.Headers.Add(baseName, LocalMarshalling.ParameterToString(value)); } } + } } @@ -161,19 +299,27 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) /// Gets or sets the ApsConfiguration object /// /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// /// /// - /// Adds an issue to a project. + ///Adds an issue to a project. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> CreateIssueAsync (string projectId,XAdsRegion xAdsRegion,IssuePayload issuePayload= default(IssuePayload), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue>> + + public async System.Threading.Tasks.Task> CreateIssueAsync(string projectId, Region? xAdsRegion = null, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into CreateIssueAsync "); using (var request = new HttpRequestMessage()) @@ -188,8 +334,8 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } @@ -197,35 +343,35 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) request.Content = Marshalling.Serialize(issuePayload); // http body (model) parameter - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("POST"); @@ -237,9 +383,11 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) @@ -256,13 +404,21 @@ private void SetHeader(string baseName, object value, HttpRequestMessage req) /// Your GET endpoint /// /// - /// Retrieves detailed information about a single issue. For general information about all the issues in a project. + ///Retrieves detailed information about a single issue. For general information about all the issues in a project. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA` - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetIssueDetailsAsync (string projectId,string issueId,XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue>> + + public async System.Threading.Tasks.Task> GetIssueDetailsAsync(string projectId, string issueId, Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetIssueDetailsAsync "); using (var request = new HttpRequestMessage()) @@ -278,43 +434,43 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -326,9 +482,11 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) @@ -345,13 +503,96 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn /// Your GET endpoint /// /// - /// Retrieves information about all the issues in a project, including details about their associated comments and attachments. + ///Retrieves information about all the issues in a project, including details about their associated comments and attachments. /// /// Thrown when fails to make API call - /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Filter issues by the unique issue ID. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the category of the issue. Note that the API name for category is type. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of the issue. Note that the API name for type is subtype. Separate multiple values with commas. (optional)/// Filter issues by their status. Separate multiple values with commas. (optional)/// Retrieves pushpin issues associated with the specified files. We support all file types that are compatible with the Files tool. You need to specify the URL-encoded file item IDs. (optional)/// Filter issues by due date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by start date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas (optional)/// Filter issues by the unique identifier of the user who created the issue. Separate multiple values with commas. (optional)/// Filter issues updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who updated the issue. Separate multiple values with commas. (optional)/// Filter issues by the unique Autodesk ID of the User/Company/Role identifier of the current assignee of this issue. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of root cause for the issue. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified location but not the location’s sublocations. To also retrieve issues that relate to the locations’s sublocations use the sublocationId filter. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified unique LBS (Location Breakdown Structure) identifier, as well as issues associated with the sub locations of the LBS identifier. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who closed the issue. Separate multiple values with commas. For Example: A3RGM375QTZ7. (optional)/// Filter issues closed at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues using ‘search’ criteria. this will filter both title and issues display ID. For example, use filter[search]=300 (optional)/// Filter issues by the chronological user-friendly identifier. Separate multiple values with commas. (optional)/// Filter issues by the type of the current assignee of this issue. Separate multiple values with commas. Possible values: Possible values: user, company, role, null. For Example: user. (optional)/// Filter issues by the custom attributes. Each custom attribute filter should be defined by it’s uuid. For example: filter[customAttributes][f227d940-ae9b-4722-9297-389f4411f010]=1,2,3. Separate multiple values with commas. (optional)/// Only return valid issues (=no empty type/subtype). Default value: undefined (meaning will return both valid & invalid issues). (optional)/// Return specified number of issues. Acceptable values are 1-100. Default value: 100. (optional)/// Return issues starting from the specified offset number. Default value: 0. (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional)/// Return only specific fields in issue object. Separate multiple values with commas. (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetIssuesAsync (string projectId,XAdsRegion xAdsRegion,List filterId= default(List),List filterIssueTypeId= default(List),List filterIssueSubtypeId= default(List),string filterStatus= default(string),List filterLinkedDocumentUrn= default(List),string filterDueDate= default(string),string filterStartDate= default(string),string filterCreatedAt= default(string),FiltercreatedBy filterCreatedBy= default(FiltercreatedBy),string filterUpdatedAt= default(string),List filterUpdatedBy= default(List),List filterAssignedTo= default(List),List filterRootCauseId= default(List),List filterLocationId= default(List),List filterSubLocationId= default(List),List filterClosedBy= default(List),string filterClosedAt= default(string),string filterSearch= default(string),int? filterDisplayId= default(int?),string filterAssignedToType= default(string),List filterCustomAttributes= default(List),bool? filterValid= default(bool?),int? limit= default(int?),int? offset= default(int?),List sortBy= default(List),List fields= default(List), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + ///Filter issues by the unique issue ID. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the category of the issue. Note that the API name for category is type. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the type of the issue. Note that the API name for type is subtype. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by their status. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves pushpin issues associated with the specified files. We support all file types that are compatible with the Files tool. You need to specify the URL-encoded file item IDs. (optional) + /// + /// + /// (optional) + /// + /// + ///Filter issues by due date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by start date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas (optional) + /// + /// + ///Filter issues by the unique identifier of the user who created the issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the user who updated the issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique Autodesk ID of the User/Company/Role identifier of the current assignee of this issue. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the type of root cause for the issue. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issues associated with the specified location but not the location’s sublocations. To also retrieve issues that relate to the locations’s sublocations use the sublocationId filter. Separate multiple values with commas. (optional) + /// + /// + ///Retrieves issues associated with the specified unique LBS (Location Breakdown Structure) identifier, as well as issues associated with the sub locations of the LBS identifier. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the unique identifier of the user who closed the issue. Separate multiple values with commas. For Example: A3RGM375QTZ7. (optional) + /// + /// + ///Filter issues closed at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues using ‘search’ criteria. this will filter both title and issues display ID. For example, use filter[search]=300 (optional) + /// + /// + ///Filter issues by the chronological user-friendly identifier. Separate multiple values with commas. (optional) + /// + /// + ///Filter issues by the type of the current assignee of this issue. Separate multiple values with commas. Possible values: Possible values: user, company, role, null. For Example: user. (optional) + /// + /// + ///Filter issues by the custom attributes. Each custom attribute filter should be defined by it’s uuid. For example: filter[customAttributes][f227d940-ae9b-4722-9297-389f4411f010]=1,2,3. Separate multiple values with commas. (optional) + /// + /// + ///Only return valid issues (=no empty type/subtype). Default value: undefined (meaning will return both valid & invalid issues). (optional) + /// + /// + ///Return specified number of issues. Acceptable values are 1-100. Default value: 100. (optional) + /// + /// + ///Return issues starting from the specified offset number. Default value: 0. (optional) + /// + /// + ///Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) + /// + /// + ///Return only specific fields in issue object. Separate multiple values with commas. (optional) + /// + /// Task of ApiResponse<IssuesPage>> + + public async System.Threading.Tasks.Task> GetIssuesAsync(string projectId, List filterId = default(List), List filterIssueTypeId = default(List), List filterIssueSubtypeId = default(List), string filterStatus = default(string), List filterLinkedDocumentUrn = default(List), Region? xAdsRegion = null, string filterDueDate = default(string), string filterStartDate = default(string), string filterCreatedAt = default(string), FiltercreatedBy filterCreatedBy = default(FiltercreatedBy), string filterUpdatedAt = default(string), List filterUpdatedBy = default(List), List filterAssignedTo = default(List), List filterRootCauseId = default(List), List filterLocationId = default(List), List filterSubLocationId = default(List), List filterClosedBy = default(List), string filterClosedAt = default(string), string filterSearch = default(string), int? filterDisplayId = default(int?), string filterAssignedToType = default(string), List filterCustomAttributes = default(List), bool? filterValid = default(bool?), int? limit = default(int?), int? offset = default(int?), List sortBy = default(List), List fields = default(List), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetIssuesAsync "); using (var request = new HttpRequestMessage()) @@ -392,43 +633,43 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -440,9 +681,11 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) @@ -459,13 +702,28 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn /// /// /// - /// Updates an issue. To verify whether a user can update issues for a specific project, call GET users/me. To verify which attributes the user can update, call GET issues/:id and check the permittedAttributes and permittedStatuses lists. + ///Updates an issue. + /// + ///To verify whether a user can update issues for a specific project, call GET users/me. + /// + ///To verify which attributes the user can update, call GET issues/:id and check the permittedAttributes and permittedStatuses lists. /// /// Thrown when fails to make API call - /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> PatchIssueDetailsAsync (string projectId,string issueId,XAdsRegion xAdsRegion,IssuePayload issuePayload= default(IssuePayload), string accessToken = null, bool throwOnError = true) + /// + ///The ID of the project. + /// + /// + ///The unique identifier of the issue. + /// + /// + /// (optional) + /// + /// + /// (optional) + /// + /// Task of ApiResponse<Issue>> + + public async System.Threading.Tasks.Task> PatchIssueDetailsAsync(string projectId, string issueId, Region? xAdsRegion = null, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into PatchIssueDetailsAsync "); using (var request = new HttpRequestMessage()) @@ -481,8 +739,8 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } @@ -490,35 +748,35 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn request.Content = Marshalling.Serialize(issuePayload); // http body (model) parameter - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("PATCH"); @@ -530,9 +788,11 @@ public async System.Threading.Tasks.Task> GetIssueDetailsAsyn { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Http/IssuesProfileApi.gen.cs b/issues/source/Http/IssuesProfileApi.gen.cs index ca620ad..bdd2e8a 100644 --- a/issues/source/Http/IssuesProfileApi.gen.cs +++ b/issues/source/Http/IssuesProfileApi.gen.cs @@ -31,6 +31,7 @@ using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Autodesk.SDKManager; +using System.Collections; namespace Autodesk.Construction.Issues.Http { @@ -43,13 +44,18 @@ public interface IIssuesProfileApi /// Your GET endpoint /// /// - /// Returns the current user permissions. + ///Returns the current user permissions. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA` - /// Task of ApiResponse - - System.Threading.Tasks.Task> GetUserProfileAsync (string projectId, XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true); + /// + /// + /// + /// + /// (optional) + /// + /// Task of ApiResponse<User> + + System.Threading.Tasks.Task> GetUserProfileAsync(string projectId, Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true); } /// @@ -72,27 +78,49 @@ public IssuesProfileApi(SDKManager.SDKManager sdkManager) } private void SetQueryParameter(string name, object value, Dictionary dictionary) { - if(value is Enum) + if (value is Enum) { var type = value.GetType(); var memberInfos = type.GetMember(value.ToString()); var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); - if(valueAttributes.Length > 0) + if (valueAttributes.Length > 0) { dictionary.Add(name, ((EnumMemberAttribute)valueAttributes[0]).Value); } } - else if(value is int) + else if (value is int) { - if((int)value > 0) + if ((int)value > 0) { dictionary.Add(name, value); } } + else if (value is IList) + { + if (value is List) + { + value = String.Join(",",(List)value); + dictionary.Add(name, value); + } + else + { + Listnewlist = new List(); + foreach ( var x in (IList)value) + { + var type = x.GetType(); + var memberInfos = type.GetMember(x.ToString()); + var enumValueMemberInfo = memberInfos.FirstOrDefault(m => m.DeclaringType == type); + var valueAttributes = enumValueMemberInfo.GetCustomAttributes(typeof(EnumMemberAttribute), false); + newlist.Add(((EnumMemberAttribute)valueAttributes[0]).Value); + } + string joinedString = String.Join(",", newlist); + dictionary.Add(name, joinedString); + } + } else { - if(value != null) + if (value != null) { dictionary.Add(name, value); } @@ -100,27 +128,27 @@ private void SetQueryParameter(string name, object value, Dictionary /// An instance of the ForgeService - public ForgeService Service {get; set;} + public ForgeService Service { get; set; } /// /// Your GET endpoint /// /// - /// Returns the current user permissions. + ///Returns the current user permissions. /// /// Thrown when fails to make API call - /// /// The region where the bucket residesAcceptable values: `US`, `EMEA` - /// Task of ApiResponse - - public async System.Threading.Tasks.Task> GetUserProfileAsync (string projectId,XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true) + /// + /// + /// + /// + /// (optional) + /// + /// Task of ApiResponse<User>> + + public async System.Threading.Tasks.Task> GetUserProfileAsync(string projectId, Region? xAdsRegion = null, string accessToken = null, bool throwOnError = true) { logger.LogInformation("Entered into GetUserProfileAsync "); using (var request = new HttpRequestMessage()) @@ -155,43 +188,43 @@ public async System.Threading.Tasks.Task> GetUserProfileAsync ); request.Headers.TryAddWithoutValidation("Accept", "application/json"); - request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/0.0.1"); - if(!string.IsNullOrEmpty(accessToken)) + request.Headers.TryAddWithoutValidation("User-Agent", "APS SDK/CONSTRUCTION.ISSUES/C#/1.0.0-beta1"); + if (!string.IsNullOrEmpty(accessToken)) { request.Headers.TryAddWithoutValidation("Authorization", $"Bearer {accessToken}"); } - SetHeader("x-ads-region", (xAdsRegion.ToString().ToLowerInvariant()), request); + SetHeader("x-ads-region", xAdsRegion, request); // tell the underlying pipeline what scope we'd like to use // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } // if (scopes == null) // { - // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); + // TBD:Naren FORCE-4027 - If accessToken is null, acquire auth token using auth SDK, with defined scope. + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), ""); // } // else // { - // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); + // request.Properties.Add(ForgeApsConfiguration.ScopeKey.ToString(), scopes); // } request.Method = new HttpMethod("GET"); @@ -203,9 +236,11 @@ public async System.Threading.Tasks.Task> GetUserProfileAsync { try { - await response.EnsureSuccessStatusCodeAsync(); - } catch (HttpRequestException ex) { - throw new ConstructionissuesApiException(ex.Message, response, ex); + await response.EnsureSuccessStatusCodeAsync(); + } + catch (HttpRequestException ex) + { + throw new ConstructionissuesApiException(ex.Message, response, ex); } } else if (!response.IsSuccessStatusCode) diff --git a/issues/source/Model/AssignedToType.gen.cs b/issues/source/Model/AssignedToType.gen.cs index dea184d..843e67b 100644 --- a/issues/source/Model/AssignedToType.gen.cs +++ b/issues/source/Model/AssignedToType.gen.cs @@ -35,30 +35,31 @@ namespace Autodesk.Construction.Issues.Model /// /// Defines assignedToType /// - + /// + [JsonConverter(typeof(StringEnumConverter))] - + public enum AssignedToType { - + /// /// Enum User for value: user /// [EnumMember(Value = "user")] User, - + /// /// Enum Company for value: company /// [EnumMember(Value = " company")] Company, - + /// /// Enum Role for value: role /// [EnumMember(Value = " role")] Role, - + /// /// Enum Null for value: null /// diff --git a/issues/source/Model/AttrDefinition.gen.cs b/issues/source/Model/AttrDefinition.gen.cs index 7d99744..8eb89cb 100644 --- a/issues/source/Model/AttrDefinition.gen.cs +++ b/issues/source/Model/AttrDefinition.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object. /// [DataContract] - public partial class AttrDefinition + public partial class AttrDefinition { /// /// Initializes a new instance of the class. @@ -44,18 +44,20 @@ public partial class AttrDefinition public AttrDefinition() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] + [DataMember(Name = "pagination", EmitDefaultValue = false)] public IssueTypePagination Pagination { get; set; } /// - /// A list of issue attribute mappings. + ///A list of issue attribute mappings. /// - /// A list of issue attribute mappings. - [DataMember(Name="results", EmitDefaultValue=false)] + /// + ///A list of issue attribute mappings. + /// + [DataMember(Name = "results", EmitDefaultValue = false)] public List Results { get; set; } /// diff --git a/issues/source/Model/AttrDefinitionResults.gen.cs b/issues/source/Model/AttrDefinitionResults.gen.cs index 105e6a9..d9b3740 100644 --- a/issues/source/Model/AttrDefinitionResults.gen.cs +++ b/issues/source/Model/AttrDefinitionResults.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// AttrDefinitionResults /// [DataContract] - public partial class AttrDefinitionResults + public partial class AttrDefinitionResults { /// /// Initializes a new instance of the class. @@ -44,128 +44,149 @@ public partial class AttrDefinitionResults public AttrDefinitionResults() { } - - /// - /// The ID of the custom attribute. - /// - /// The ID of the custom attribute. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } /// - /// The ID of the custom attribute definition. + ///The ID of the custom attribute. /// - /// The ID of the custom attribute definition. - [DataMember(Name="attributeDefinitionId", EmitDefaultValue=false)] - public string AttributeDefinitionId { get; set; } + /// + ///The ID of the custom attribute. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="containerId", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "containerId", EmitDefaultValue = false)] public string ContainerId { get; set; } /// - /// Gets or Sets MappedItemType + ///Gets or Sets MappedItemType /// - [DataMember(Name="mappedItemType", EmitDefaultValue=false)] + [DataMember(Name = "mappedItemType", EmitDefaultValue = false)] public string MappedItemType { get; set; } /// - /// The ID of the item (type, or subtype) the custom attribute is mapped to. + ///The ID of the item (type, or subtype) the custom attribute is mapped to. /// - /// The ID of the item (type, or subtype) the custom attribute is mapped to. - [DataMember(Name="mappedItemId", EmitDefaultValue=false)] + /// + ///The ID of the item (type, or subtype) the custom attribute is mapped to. + /// + [DataMember(Name = "mappedItemId", EmitDefaultValue = false)] public string MappedItemId { get; set; } /// - /// The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. + ///The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. /// - /// The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. - [DataMember(Name="order", EmitDefaultValue=false)] + /// + ///The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. + /// + [DataMember(Name = "order", EmitDefaultValue = false)] public int? Order { get; set; } /// - /// Gets or Sets DataType + ///Gets or Sets DataType /// - [DataMember(Name="dataType", EmitDefaultValue=false)] - public string DataType { get; set; } + [DataMember(Name = "dataType", EmitDefaultValue = true)] + public DataType DataType { get; set; } /// - /// Gets or Sets Metadata + ///Gets or Sets Metadata /// - [DataMember(Name="metadata", EmitDefaultValue=false)] + [DataMember(Name = "metadata", EmitDefaultValue = false)] public AttrDefinitionResultsMetadata Metadata { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The Autodesk ID of the user who created the custom attribute. + ///The Autodesk ID of the user who created the custom attribute. /// - /// The Autodesk ID of the user who created the custom attribute. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who created the custom attribute. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// The Autodesk ID of the user who last updated the custom attribute. + ///The Autodesk ID of the user who last updated the custom attribute. /// - /// The Autodesk ID of the user who last updated the custom attribute. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who last updated the custom attribute. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] public string UpdatedBy { get; set; } /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// - /// The Autodesk ID of the user who deleted the custom attribute. + ///The Autodesk ID of the user who deleted the custom attribute. /// - /// The Autodesk ID of the user who deleted the custom attribute. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] public string DeletedBy { get; set; } /// - /// The title of the custom attribute. + ///The title of the custom attribute. /// - /// The title of the custom attribute. - [DataMember(Name="title", EmitDefaultValue=false)] + /// + ///The title of the custom attribute. + /// + [DataMember(Name = "title", EmitDefaultValue = false)] public string Title { get; set; } /// - /// The description of the custom attribute. + ///The description of the custom attribute. /// - /// The description of the custom attribute. - [DataMember(Name="description", EmitDefaultValue=false)] + /// + ///The description of the custom attribute. + /// + [DataMember(Name = "description", EmitDefaultValue = false)] public string Description { get; set; } /// diff --git a/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs index 6f7d249..165dfce 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The metadata object; only relevant for list custom attributes. /// [DataContract] - public partial class AttrDefinitionResultsMetadata + public partial class AttrDefinitionResultsMetadata { /// /// Initializes a new instance of the class. @@ -44,11 +44,11 @@ public partial class AttrDefinitionResultsMetadata public AttrDefinitionResultsMetadata() { } - + /// - /// Gets or Sets List + ///Gets or Sets List /// - [DataMember(Name="list", EmitDefaultValue=false)] + [DataMember(Name = "list", EmitDefaultValue = false)] public AttrDefinitionResultsMetadataList List { get; set; } /// diff --git a/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs index 63ae7ff..540a61e 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The list object. /// [DataContract] - public partial class AttrDefinitionResultsMetadataList + public partial class AttrDefinitionResultsMetadataList { /// /// Initializes a new instance of the class. @@ -44,12 +44,14 @@ public partial class AttrDefinitionResultsMetadataList public AttrDefinitionResultsMetadataList() { } - + /// - /// The options object. + ///The options object. /// - /// The options object. - [DataMember(Name="options", EmitDefaultValue=false)] + /// + ///The options object. + /// + [DataMember(Name = "options", EmitDefaultValue = false)] public List Options { get; set; } /// diff --git a/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs index d133935..5e1d169 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// AttrDefinitionResultsMetadataListOptions /// [DataContract] - public partial class AttrDefinitionResultsMetadataListOptions + public partial class AttrDefinitionResultsMetadataListOptions { /// /// Initializes a new instance of the class. @@ -44,19 +44,23 @@ public partial class AttrDefinitionResultsMetadataListOptions public AttrDefinitionResultsMetadataListOptions() { } - + /// - /// The id of the list option. + ///The id of the list option. /// - /// The id of the list option. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The id of the list option. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// The value of the list item. + ///The value of the list item. /// - /// The value of the list item. - [DataMember(Name="value", EmitDefaultValue=false)] + /// + ///The value of the list item. + /// + [DataMember(Name = "value", EmitDefaultValue = false)] public string Value { get; set; } /// diff --git a/issues/source/Model/AttrMapping.gen.cs b/issues/source/Model/AttrMapping.gen.cs index 4157394..2672aee 100644 --- a/issues/source/Model/AttrMapping.gen.cs +++ b/issues/source/Model/AttrMapping.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object. /// [DataContract] - public partial class AttrMapping + public partial class AttrMapping { /// /// Initializes a new instance of the class. @@ -44,18 +44,20 @@ public partial class AttrMapping public AttrMapping() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] + [DataMember(Name = "pagination", EmitDefaultValue = false)] public IssueTypePagination Pagination { get; set; } /// - /// A list of issue attribute mappings. + ///A list of issue attribute mappings. /// - /// A list of issue attribute mappings. - [DataMember(Name="results", EmitDefaultValue=false)] + /// + ///A list of issue attribute mappings. + /// + [DataMember(Name = "results", EmitDefaultValue = false)] public List Results { get; set; } /// diff --git a/issues/source/Model/AttrMappingResults.gen.cs b/issues/source/Model/AttrMappingResults.gen.cs index 3e7f050..8ae41d4 100644 --- a/issues/source/Model/AttrMappingResults.gen.cs +++ b/issues/source/Model/AttrMappingResults.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// AttrMappingResults /// [DataContract] - public partial class AttrMappingResults + public partial class AttrMappingResults { /// /// Initializes a new instance of the class. @@ -44,121 +44,146 @@ public partial class AttrMappingResults public AttrMappingResults() { } - + /// - /// The ID of the custom attribute. + ///The ID of the custom attribute. /// - /// The ID of the custom attribute. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The ID of the custom attribute. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// Not relevant + ///The ID of the custom attribute definition. /// - /// Not relevant - [DataMember(Name="containerId", EmitDefaultValue=false)] + /// + ///The ID of the custom attribute definition. + /// + [DataMember(Name = "attributeDefinitionId", EmitDefaultValue = false)] + public string AttributeDefinitionId { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "containerId", EmitDefaultValue = false)] public string ContainerId { get; set; } /// - /// The title of the custom attribute. + ///The title of the custom attribute. /// - /// The title of the custom attribute. - [DataMember(Name="title", EmitDefaultValue=false)] + /// + ///The title of the custom attribute. + /// + [DataMember(Name = "title", EmitDefaultValue = false)] public string Title { get; set; } /// - /// Gets or Sets MappedItemType + ///Gets or Sets MappedItemType /// - [DataMember(Name="mappedItemType", EmitDefaultValue=false)] + [DataMember(Name = "mappedItemType", EmitDefaultValue = false)] public string MappedItemType { get; set; } /// - /// The ID of the item (type, or subtype) the custom attribute is mapped to. + ///The ID of the item (type, or subtype) the custom attribute is mapped to. /// - /// The ID of the item (type, or subtype) the custom attribute is mapped to. - [DataMember(Name="mappedItemId", EmitDefaultValue=false)] + /// + ///The ID of the item (type, or subtype) the custom attribute is mapped to. + /// + [DataMember(Name = "mappedItemId", EmitDefaultValue = false)] public string MappedItemId { get; set; } /// - /// The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. + ///The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. /// - /// The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. - [DataMember(Name="order", EmitDefaultValue=false)] + /// + ///The order that the custom attributes were mapped to the item (type, subtype). This is only relevant to non-inherited mappings. + /// + [DataMember(Name = "order", EmitDefaultValue = false)] public int? Order { get; set; } /// - /// Gets or Sets DataType - /// - [DataMember(Name="dataType", EmitDefaultValue=false)] - public string DataType { get; set; } - - /// - /// Gets or Sets Metadata - /// - [DataMember(Name="metadata", EmitDefaultValue=false)] - public AttrDefinitionResultsMetadata Metadata { get; set; } - - /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The Autodesk ID of the user who created the custom attribute. + ///The Autodesk ID of the user who created the custom attribute. /// - /// The Autodesk ID of the user who created the custom attribute. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who created the custom attribute. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// The Autodesk ID of the user who last updated the custom attribute. + ///The Autodesk ID of the user who last updated the custom attribute. /// - /// The Autodesk ID of the user who last updated the custom attribute. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who last updated the custom attribute. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] public string UpdatedBy { get; set; } /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// - /// The Autodesk ID of the user who deleted the custom attribute. + ///The Autodesk ID of the user who deleted the custom attribute. /// - /// The Autodesk ID of the user who deleted the custom attribute. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] public string DeletedBy { get; set; } /// - /// The description of the custom attribute. + ///The description of the custom attribute. /// - /// The description of the custom attribute. - [DataMember(Name="description", EmitDefaultValue=false)] + /// + ///The description of the custom attribute. + /// + [DataMember(Name = "description", EmitDefaultValue = false)] public string Description { get; set; } /// diff --git a/issues/source/Model/Comments.gen.cs b/issues/source/Model/Comments.gen.cs index 2061296..28cd994 100644 --- a/issues/source/Model/Comments.gen.cs +++ b/issues/source/Model/Comments.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object. /// [DataContract] - public partial class Comments + public partial class Comments { /// /// Initializes a new instance of the class. @@ -44,18 +44,20 @@ public partial class Comments public Comments() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] + [DataMember(Name = "pagination", EmitDefaultValue = false)] public IssueTypePagination Pagination { get; set; } /// - /// The ID of the custom attribute. + ///The ID of the custom attribute. /// - /// The ID of the custom attribute. - [DataMember(Name="results", EmitDefaultValue=false)] + /// + ///The ID of the custom attribute. + /// + [DataMember(Name = "results", EmitDefaultValue = false)] public List Results { get; set; } /// diff --git a/issues/source/Model/CommentsPayload.gen.cs b/issues/source/Model/CommentsPayload.gen.cs index 265b802..8b05d1f 100644 --- a/issues/source/Model/CommentsPayload.gen.cs +++ b/issues/source/Model/CommentsPayload.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// CommentsPayload /// [DataContract] - public partial class CommentsPayload + public partial class CommentsPayload { /// /// Initializes a new instance of the class. @@ -44,11 +44,11 @@ public partial class CommentsPayload public CommentsPayload() { } - + /// /// Gets or Sets Body /// - [DataMember(Name="body", EmitDefaultValue=false)] + [DataMember(Name = "body", EmitDefaultValue = false)] public string Body { get; set; } /// diff --git a/issues/source/Model/CommentsResults.gen.cs b/issues/source/Model/CommentsResults.gen.cs index 4684dd2..8a6168e 100644 --- a/issues/source/Model/CommentsResults.gen.cs +++ b/issues/source/Model/CommentsResults.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// CommentsResults /// [DataContract] - public partial class CommentsResults + public partial class CommentsResults { /// /// Initializes a new instance of the class. @@ -44,75 +44,97 @@ public partial class CommentsResults public CommentsResults() { } - + /// /// The comment ID. /// - /// The comment ID. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The comment ID. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// The comment content. A \\n indicates a new line, e.g.: Hey\\nAharon will be a 2 lines comment. Max length: 10000 + ///The comment content. A \n indicates a new line, e.g.: Hey\nAharon will be a 2 lines comment. + ///Max length: 10000 /// - /// The comment content. A \\n indicates a new line, e.g.: Hey\\nAharon will be a 2 lines comment. Max length: 10000 - [DataMember(Name="body", EmitDefaultValue=false)] + /// + ///The comment content. A \n indicates a new line, e.g.: Hey\nAharon will be a 2 lines comment. + ///Max length: 10000 + /// + [DataMember(Name = "body", EmitDefaultValue = false)] public string Body { get; set; } /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The Autodesk ID of the user who created the comment. + ///The Autodesk ID of the user who created the comment. /// - /// The Autodesk ID of the user who created the comment. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who created the comment. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="clientCreatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "clientCreatedAt", EmitDefaultValue = false)] public string ClientCreatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="clientUpdatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "clientUpdatedAt", EmitDefaultValue = false)] public string ClientUpdatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// diff --git a/issues/source/Model/CreatedComment.gen.cs b/issues/source/Model/CreatedComment.gen.cs index cc7bd91..8f5db22 100644 --- a/issues/source/Model/CreatedComment.gen.cs +++ b/issues/source/Model/CreatedComment.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// CreatedComment /// [DataContract] - public partial class CreatedComment + public partial class CreatedComment { /// /// Initializes a new instance of the class. @@ -44,75 +44,97 @@ public partial class CreatedComment public CreatedComment() { } - + /// - /// The comment ID. + ///The comment ID. /// - /// The comment ID. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The comment ID. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// The comment content. A \\n indicates a new line, e.g.: Hey\\nAharon will be a 2 lines comment. Max length: 10000 + ///The comment content. A \n indicates a new line, e.g.: Hey\nAharon will be a 2 lines comment. + ///Max length: 10000 /// - /// The comment content. A \\n indicates a new line, e.g.: Hey\\nAharon will be a 2 lines comment. Max length: 10000 - [DataMember(Name="body", EmitDefaultValue=false)] + /// + ///The comment content. A \n indicates a new line, e.g.: Hey\nAharon will be a 2 lines comment. + ///Max length: 10000 + /// + [DataMember(Name = "body", EmitDefaultValue = false)] public string Body { get; set; } /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The Autodesk ID of the user who created the comment. + ///The Autodesk ID of the user who created the comment. /// - /// The Autodesk ID of the user who created the comment. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who created the comment. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="clientCreatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "clientCreatedAt", EmitDefaultValue = false)] public string ClientCreatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="clientUpdatedAt", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "clientUpdatedAt", EmitDefaultValue = false)] public string ClientUpdatedAt { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// diff --git a/issues/source/Model/DataType.gen.cs b/issues/source/Model/DataType.gen.cs index 97da8ed..7148720 100644 --- a/issues/source/Model/DataType.gen.cs +++ b/issues/source/Model/DataType.gen.cs @@ -33,36 +33,37 @@ namespace Autodesk.Construction.Issues.Model { /// - /// Defines dataType + /// Retrieves issue custom attribute definitions with the specified data type /// - + ///Retrieves issue custom attribute definitions with the specified data type + [JsonConverter(typeof(StringEnumConverter))] - + public enum DataType { - + /// /// Enum List for value: list /// [EnumMember(Value = "list")] List, - + /// /// Enum Text for value: text /// - [EnumMember(Value = " text")] + [EnumMember(Value = "text")] Text, - + /// /// Enum Paragraph for value: paragraph /// - [EnumMember(Value = " paragraph")] + [EnumMember(Value = "paragraph")] Paragraph, - + /// /// Enum Numeric for value: numeric /// - [EnumMember(Value = " numeric")] + [EnumMember(Value = "numeric")] Numeric } diff --git a/issues/source/Model/Fields.gen.cs b/issues/source/Model/Fields.gen.cs index 671a03e..d303226 100644 --- a/issues/source/Model/Fields.gen.cs +++ b/issues/source/Model/Fields.gen.cs @@ -35,180 +35,181 @@ namespace Autodesk.Construction.Issues.Model /// /// Defines fields /// - + /// + [JsonConverter(typeof(StringEnumConverter))] - + public enum Fields { - + /// /// Enum Id for value: id /// [EnumMember(Value = "id")] Id, - + /// /// Enum DisplayId for value: displayId /// [EnumMember(Value = "displayId")] DisplayId, - + /// /// Enum Title for value: title /// [EnumMember(Value = "title")] Title, - + /// /// Enum Description for value: description /// [EnumMember(Value = "description")] Description, - + /// /// Enum IssueTypeId for value: issueTypeId /// [EnumMember(Value = "issueTypeId")] IssueTypeId, - + /// /// Enum IssueSubtypeId for value: issueSubtypeId /// [EnumMember(Value = "issueSubtypeId")] IssueSubtypeId, - + /// /// Enum Status for value: status /// [EnumMember(Value = "status")] Status, - + /// /// Enum AssignedTo for value: assignedTo /// [EnumMember(Value = "assignedTo")] AssignedTo, - + /// /// Enum AssignedToType for value: assignedToType /// [EnumMember(Value = "assignedToType")] AssignedToType, - + /// /// Enum DueDate for value: dueDate /// [EnumMember(Value = "dueDate")] DueDate, - + /// /// Enum StartDate for value: startDate /// [EnumMember(Value = "startDate")] StartDate, - + /// /// Enum LocationId for value: locationId /// [EnumMember(Value = "locationId")] LocationId, - + /// /// Enum LocationDetails for value: locationDetails /// [EnumMember(Value = "locationDetails")] LocationDetails, - + /// /// Enum RootCauseTitle for value: rootCauseTitle /// [EnumMember(Value = "rootCauseTitle")] RootCauseTitle, - + /// /// Enum RootCauseId for value: rootCauseId /// [EnumMember(Value = "rootCauseId")] RootCauseId, - + /// /// Enum PermittedStatuses for value: permittedStatuses /// [EnumMember(Value = "permittedStatuses")] PermittedStatuses, - + /// /// Enum PermittedAttributes for value: permittedAttributes /// [EnumMember(Value = "permittedAttributes")] PermittedAttributes, - + /// /// Enum PermittedActions for value: permittedActions /// [EnumMember(Value = "permittedActions")] PermittedActions, - + /// /// Enum Published for value: published /// [EnumMember(Value = "published")] Published, - + /// /// Enum CommentCount for value: commentCount /// [EnumMember(Value = "commentCount")] CommentCount, - + /// /// Enum OpenedBy for value: openedBy /// [EnumMember(Value = "openedBy")] OpenedBy, - + /// /// Enum OpenedAt for value: openedAt /// [EnumMember(Value = "openedAt")] OpenedAt, - + /// /// Enum ClosedBy for value: closedBy /// [EnumMember(Value = "closedBy")] ClosedBy, - + /// /// Enum ClosedAt for value: closedAt /// [EnumMember(Value = "closedAt")] ClosedAt, - + /// /// Enum CreatedBy for value: createdBy /// [EnumMember(Value = "createdBy")] CreatedBy, - + /// /// Enum CreatedAt for value: createdAt /// [EnumMember(Value = "createdAt")] CreatedAt, - + /// /// Enum UpdatedBy for value: updatedBy /// [EnumMember(Value = "updatedBy")] UpdatedBy, - + /// /// Enum UpdatedAt for value: updatedAt /// [EnumMember(Value = "updatedAt")] UpdatedAt, - + /// /// Enum CustomAttributes for value: customAttributes /// diff --git a/issues/source/Model/FiltercreatedBy.gen.cs b/issues/source/Model/FiltercreatedBy.gen.cs index 6b3e27b..ca1882c 100644 --- a/issues/source/Model/FiltercreatedBy.gen.cs +++ b/issues/source/Model/FiltercreatedBy.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// FiltercreatedBy /// [DataContract] - public partial class FiltercreatedBy + public partial class FiltercreatedBy { /// /// Initializes a new instance of the class. @@ -44,11 +44,11 @@ public partial class FiltercreatedBy public FiltercreatedBy() { } - + /// /// Gets or Sets Id /// - [DataMember(Name="id", EmitDefaultValue=false)] + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// diff --git a/issues/source/Model/Issue.gen.cs b/issues/source/Model/Issue.gen.cs index 40f9be5..2d64b0e 100644 --- a/issues/source/Model/Issue.gen.cs +++ b/issues/source/Model/Issue.gen.cs @@ -32,298 +32,390 @@ namespace Autodesk.Construction.Issues.Model { - /// - /// Issue - /// - [DataContract] - public partial class Issue - { /// - /// Initializes a new instance of the class. + /// Issue /// - public Issue() + [DataContract] + public partial class Issue { + /// + /// Initializes a new instance of the class. + /// + public Issue() + { + } + + /// + ///The unique identifier of the issue. + /// + /// + ///The unique identifier of the issue. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "containerId", EmitDefaultValue = false)] + public string ContainerId { get; set; } + + /// + ///States whether the issue was deleted. Default value: false. + /// + /// + ///States whether the issue was deleted. Default value: false. + /// + [DataMember(Name = "deleted", EmitDefaultValue = false)] + public bool? Deleted { get; set; } + + /// + ///The chronological user-friendly identifier of the issue. + /// + /// + ///The chronological user-friendly identifier of the issue. + /// + [DataMember(Name = "displayId", EmitDefaultValue = false)] + public int? DisplayId { get; set; } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] + public string Title { get; set; } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "description", EmitDefaultValue = false)] + public string Description { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "snapshotUrn", EmitDefaultValue = false)] + public string SnapshotUrn { get; set; } + + /// + ///The unique identifier of the type of the issue. + /// + /// + ///The unique identifier of the type of the issue. + /// + [DataMember(Name = "issueTypeId", EmitDefaultValue = false)] + public string IssueTypeId { get; set; } + + /// + ///The unique identifier of the subtype of the issue. + /// + /// + ///The unique identifier of the subtype of the issue. + /// + [DataMember(Name = "issueSubtypeId", EmitDefaultValue = false)] + public string IssueSubtypeId { get; set; } + + /// + ///Gets or Sets Status + /// + [DataMember(Name = "status", EmitDefaultValue = false)] + public string Status { get; set; } + + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + [DataMember(Name = "assignedTo", EmitDefaultValue = false)] + public string AssignedTo { get; set; } + + /// + ///The type of the current assignee of this issue. Possible values: user, company, role, null. Note that if you select a type, you also need to select the assignee ID (assignedTo). + /// + /// + ///The type of the current assignee of this issue. Possible values: user, company, role, null. Note that if you select a type, you also need to select the assignee ID (assignedTo). + /// + [DataMember(Name = "assignedToType", EmitDefaultValue = false)] + public string AssignedToType { get; set; } + + /// + ///The due date of the issue, in ISO8601 format. + /// + /// + ///The due date of the issue, in ISO8601 format. + /// + [DataMember(Name = "dueDate", EmitDefaultValue = false)] + public string DueDate { get; set; } + + /// + ///The start date of the issue, in ISO8601 format. + /// + /// + ///The start date of the issue, in ISO8601 format. + /// + [DataMember(Name = "startDate", EmitDefaultValue = false)] + public string StartDate { get; set; } + + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + [DataMember(Name = "locationId", EmitDefaultValue = false)] + public string LocationId { get; set; } + + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + [DataMember(Name = "locationDetails", EmitDefaultValue = false)] + public string LocationDetails { get; set; } + + /// + ///Information about the files associated with issues (pushpins). + /// + /// + ///Information about the files associated with issues (pushpins). + /// + [DataMember(Name = "linkedDocuments", EmitDefaultValue = false)] + public List LinkedDocuments { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "links", EmitDefaultValue = false)] + public List Links { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "ownerId", EmitDefaultValue = false)] + public string OwnerId { get; set; } + + /// + ///The unique identifier of the type of root cause for the issue. + /// + /// + ///The unique identifier of the type of root cause for the issue. + /// + [DataMember(Name = "rootCauseId", EmitDefaultValue = false)] + public string RootCauseId { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "officialResponse", EmitDefaultValue = false)] + public Object OfficialResponse { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "issueTemplateId", EmitDefaultValue = false)] + public string IssueTemplateId { get; set; } + + /// + ///A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. + ///Possible Values: open, pending, in_review, closed. + /// + /// + ///A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. + ///Possible Values: open, pending, in_review, closed. + /// + [DataMember(Name = "permittedStatuses", EmitDefaultValue = false)] + public List PermittedStatuses { get; set; } + + /// + ///A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + /// + /// + ///A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] + public List PermittedAttributes { get; set; } + + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + [DataMember(Name = "published", EmitDefaultValue = false)] + public bool? Published { get; set; } + + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] + public Object PermittedActions { get; set; } + + /// + ///The number of comments in this issue. + /// + /// + ///The number of comments in this issue. + /// + [DataMember(Name = "commentCount", EmitDefaultValue = false)] + public int? CommentCount { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "attachmentCount", EmitDefaultValue = false)] + public int? AttachmentCount { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "openedBy", EmitDefaultValue = false)] + public string OpenedBy { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "openedAt", EmitDefaultValue = false)] + public string OpenedAt { get; set; } + + /// + ///The unique identifier of the user who closed the issue. + /// + /// + ///The unique identifier of the user who closed the issue. + /// + [DataMember(Name = "closedBy", EmitDefaultValue = false)] + public string ClosedBy { get; set; } + + /// + ///The date and time the issue was closed, in ISO8601 format. + /// + /// + ///The date and time the issue was closed, in ISO8601 format. + /// + [DataMember(Name = "closedAt", EmitDefaultValue = false)] + public string ClosedAt { get; set; } + + /// + ///The unique identifier of the user who created the issue + /// + /// + ///The unique identifier of the user who created the issue + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] + public string CreatedBy { get; set; } + + /// + ///The date and time the issue was created, in ISO8601 format. + /// + /// + ///The date and time the issue was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] + public string CreatedAt { get; set; } + + /// + ///The unique identifier of the user who updated the issue. + /// + /// + ///The unique identifier of the user who updated the issue. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] + public string UpdatedBy { get; set; } + + /// + ///The date and time the issue was updated, in ISO8601 format. + /// + /// + ///The date and time the issue was updated, in ISO8601 format. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] + public string UpdatedAt { get; set; } + + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + [DataMember(Name = "watchers", EmitDefaultValue = false)] + public List Watchers { get; set; } + + /// + ///A list of custom attributes of the specific issue. + /// + /// + ///A list of custom attributes of the specific issue. + /// + [DataMember(Name = "customAttributes", EmitDefaultValue = false)] + public List CustomAttributes { get; set; } + + /// + ///Gets or Sets GpsCoordinates + /// + [DataMember(Name = "gpsCoordinates", EmitDefaultValue = false)] + public IssueGpsCoordinates GpsCoordinates { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } } - - /// - /// The unique identifier of the issue. - /// - /// The unique identifier of the issue. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="containerId", EmitDefaultValue=false)] - public string ContainerId { get; set; } - - /// - /// States whether the issue was deleted. Default value: false. - /// - /// States whether the issue was deleted. Default value: false. - [DataMember(Name="deleted", EmitDefaultValue=false)] - public bool? Deleted { get; set; } - - /// - /// The chronological user-friendly identifier of the issue. - /// - /// The chronological user-friendly identifier of the issue. - [DataMember(Name="displayId", EmitDefaultValue=false)] - public int? DisplayId { get; set; } - - /// - /// The description and purpose of the issue. Max length: 10000 - /// - /// The description and purpose of the issue. Max length: 10000 - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } - - /// - /// The description and purpose of the issue. Max length: 10000 - /// - /// The description and purpose of the issue. Max length: 10000 - [DataMember(Name="description", EmitDefaultValue=false)] - public string Description { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="snapshotUrn", EmitDefaultValue=false)] - public string SnapshotUrn { get; set; } - - /// - /// The unique identifier of the type of the issue. - /// - /// The unique identifier of the type of the issue. - [DataMember(Name="issueTypeId", EmitDefaultValue=false)] - public string IssueTypeId { get; set; } - - /// - /// The unique identifier of the subtype of the issue. - /// - /// The unique identifier of the subtype of the issue. - [DataMember(Name="issueSubtypeId", EmitDefaultValue=false)] - public string IssueSubtypeId { get; set; } - - /// - /// Gets or Sets Status - /// - [DataMember(Name="status", EmitDefaultValue=false)] - public string Status { get; set; } - - /// - /// The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). - /// - /// The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). - [DataMember(Name="assignedTo", EmitDefaultValue=false)] - public string AssignedTo { get; set; } - - /// - /// The type of the current assignee of this issue. Possible values: user, company, role, null. Note that if you select a type, you also need to select the assignee ID (assignedTo). - /// - /// The type of the current assignee of this issue. Possible values: user, company, role, null. Note that if you select a type, you also need to select the assignee ID (assignedTo). - [DataMember(Name="assignedToType", EmitDefaultValue=false)] - public string AssignedToType { get; set; } - - /// - /// The due date of the issue, in ISO8601 format. - /// - /// The due date of the issue, in ISO8601 format. - [DataMember(Name="dueDate", EmitDefaultValue=false)] - public string DueDate { get; set; } - - /// - /// The start date of the issue, in ISO8601 format. - /// - /// The start date of the issue, in ISO8601 format. - [DataMember(Name="startDate", EmitDefaultValue=false)] - public string StartDate { get; set; } - - /// - /// The unique LBS (Location Breakdown Structure) identifier that relates to the issue. - /// - /// The unique LBS (Location Breakdown Structure) identifier that relates to the issue. - [DataMember(Name="locationId", EmitDefaultValue=false)] - public string LocationId { get; set; } - - /// - /// The location as plain text that relates to the issue. Max length: 8300 - /// - /// The location as plain text that relates to the issue. Max length: 8300 - [DataMember(Name="locationDetails", EmitDefaultValue=false)] - public string LocationDetails { get; set; } - - /// - /// Information about the files associated with issues (pushpins). - /// - /// Information about the files associated with issues (pushpins). - [DataMember(Name="linkedDocuments", EmitDefaultValue=false)] - public List LinkedDocuments { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="links", EmitDefaultValue=false)] - public List Links { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="ownerId", EmitDefaultValue=false)] - public string OwnerId { get; set; } - - /// - /// The unique identifier of the type of root cause for the issue. - /// - /// The unique identifier of the type of root cause for the issue. - [DataMember(Name="rootCauseId", EmitDefaultValue=false)] - public string RootCauseId { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="officialResponse", EmitDefaultValue=false)] - public Object OfficialResponse { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="issueTemplateId", EmitDefaultValue=false)] - public string IssueTemplateId { get; set; } - - /// - /// A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. Possible Values: open, pending, in_review, closed. - /// - /// A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. Possible Values: open, pending, in_review, closed. - [DataMember(Name="permittedStatuses", EmitDefaultValue=false)] - public List PermittedStatuses { get; set; } - - /// - /// A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. - /// - /// A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] - public List PermittedAttributes { get; set; } - - /// - /// States whether the issue is published. Default value: false (e.g. unpublished). - /// - /// States whether the issue is published. Default value: false (e.g. unpublished). - [DataMember(Name="published", EmitDefaultValue=false)] - public bool? Published { get; set; } - - /// - /// The list of actions permitted for the user for this issue in its current state. Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. The following values are not relevant: add_attachment, remove_attachment. - /// - /// The list of actions permitted for the user for this issue in its current state. Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. The following values are not relevant: add_attachment, remove_attachment. - [DataMember(Name="permittedActions", EmitDefaultValue=false)] - public Object PermittedActions { get; set; } - - /// - /// The number of comments in this issue. - /// - /// The number of comments in this issue. - [DataMember(Name="commentCount", EmitDefaultValue=false)] - public int? CommentCount { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="attachmentCount", EmitDefaultValue=false)] - public int? AttachmentCount { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="openedBy", EmitDefaultValue=false)] - public string OpenedBy { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="openedAt", EmitDefaultValue=false)] - public string OpenedAt { get; set; } - - /// - /// The unique identifier of the user who closed the issue. - /// - /// The unique identifier of the user who closed the issue. - [DataMember(Name="closedBy", EmitDefaultValue=false)] - public string ClosedBy { get; set; } - - /// - /// The date and time the issue was closed, in ISO8601 format. - /// - /// The date and time the issue was closed, in ISO8601 format. - [DataMember(Name="closedAt", EmitDefaultValue=false)] - public string ClosedAt { get; set; } - - /// - /// The unique identifier of the user who created the issue - /// - /// The unique identifier of the user who created the issue - [DataMember(Name="createdBy", EmitDefaultValue=false)] - public string CreatedBy { get; set; } - - /// - /// The date and time the issue was created, in ISO8601 format. - /// - /// The date and time the issue was created, in ISO8601 format. - [DataMember(Name="createdAt", EmitDefaultValue=false)] - public string CreatedAt { get; set; } - - /// - /// The unique identifier of the user who updated the issue. - /// - /// The unique identifier of the user who updated the issue. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] - public string UpdatedBy { get; set; } - - /// - /// The date and time the issue was updated, in ISO8601 format. - /// - /// The date and time the issue was updated, in ISO8601 format. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] - public string UpdatedAt { get; set; } - - /// - /// The Autodesk ID of the member you want to assign as a watcher for the issue. - /// - /// The Autodesk ID of the member you want to assign as a watcher for the issue. - [DataMember(Name="watchers", EmitDefaultValue=false)] - public List Watchers { get; set; } - - /// - /// A list of custom attributes of the specific issue. - /// - /// A list of custom attributes of the specific issue. - [DataMember(Name="customAttributes", EmitDefaultValue=false)] - public List CustomAttributes { get; set; } - - /// - /// Gets or Sets GpsCoordinates - /// - [DataMember(Name="gpsCoordinates", EmitDefaultValue=false)] - public IssueGpsCoordinates GpsCoordinates { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - } } diff --git a/issues/source/Model/IssueCustomAttributes.gen.cs b/issues/source/Model/IssueCustomAttributes.gen.cs index d60dd4a..91f1a90 100644 --- a/issues/source/Model/IssueCustomAttributes.gen.cs +++ b/issues/source/Model/IssueCustomAttributes.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssueCustomAttributes /// [DataContract] - public partial class IssueCustomAttributes + public partial class IssueCustomAttributes { /// /// Initializes a new instance of the class. @@ -44,33 +44,41 @@ public partial class IssueCustomAttributes public IssueCustomAttributes() { } - + /// - /// The unique identifier of the custom attribute. + ///The unique identifier of the custom attribute. /// - /// The unique identifier of the custom attribute. - [DataMember(Name="attributeDefinitionId", EmitDefaultValue=false)] + /// + ///The unique identifier of the custom attribute. + /// + [DataMember(Name = "attributeDefinitionId", EmitDefaultValue = false)] public string AttributeDefinitionId { get; set; } /// - /// Custom attribute value. Possible value types: string, number, null. + ///Custom attribute value. Possible value types: string, number, null. /// - /// Custom attribute value. Possible value types: string, number, null. - [DataMember(Name="value", EmitDefaultValue=false)] + /// + ///Custom attribute value. Possible value types: string, number, null. + /// + [DataMember(Name = "value", EmitDefaultValue = false)] public Object Value { get; set; } /// - /// The type of attribute. Possible values: numeric, paragraph, list (this corresponds to dropdown in the UI), text. + ///The type of attribute. Possible values: numeric, paragraph, list (this corresponds to dropdown in the UI), text. /// - /// The type of attribute. Possible values: numeric, paragraph, list (this corresponds to dropdown in the UI), text. - [DataMember(Name="type", EmitDefaultValue=false)] + /// + ///The type of attribute. Possible values: numeric, paragraph, list (this corresponds to dropdown in the UI), text. + /// + [DataMember(Name = "type", EmitDefaultValue = false)] public string Type { get; set; } /// - /// Free text description of the attribute. + ///Free text description of the attribute. /// - /// Free text description of the attribute. - [DataMember(Name="title", EmitDefaultValue=false)] + /// + ///Free text description of the attribute. + /// + [DataMember(Name = "title", EmitDefaultValue = false)] public string Title { get; set; } /// diff --git a/issues/source/Model/IssueGpsCoordinates.gen.cs b/issues/source/Model/IssueGpsCoordinates.gen.cs index 9bd3523..d82a9a3 100644 --- a/issues/source/Model/IssueGpsCoordinates.gen.cs +++ b/issues/source/Model/IssueGpsCoordinates.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// A GPS Coordinate which represents the geo location of the issue. /// [DataContract] - public partial class IssueGpsCoordinates + public partial class IssueGpsCoordinates { /// /// Initializes a new instance of the class. @@ -44,17 +44,17 @@ public partial class IssueGpsCoordinates public IssueGpsCoordinates() { } - + /// - /// Gets or Sets Latitude + ///Gets or Sets Latitude /// - [DataMember(Name="latitude", EmitDefaultValue=false)] + [DataMember(Name = "latitude", EmitDefaultValue = false)] public decimal? Latitude { get; set; } /// - /// Gets or Sets Longitude + ///Gets or Sets Longitude /// - [DataMember(Name="longitude", EmitDefaultValue=false)] + [DataMember(Name = "longitude", EmitDefaultValue = false)] public decimal? Longitude { get; set; } /// diff --git a/issues/source/Model/IssueLinkedDocuments.gen.cs b/issues/source/Model/IssueLinkedDocuments.gen.cs index 9db9c42..af9e1c5 100644 --- a/issues/source/Model/IssueLinkedDocuments.gen.cs +++ b/issues/source/Model/IssueLinkedDocuments.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssueLinkedDocuments /// [DataContract] - public partial class IssueLinkedDocuments + public partial class IssueLinkedDocuments { /// /// Initializes a new instance of the class. @@ -44,67 +44,85 @@ public partial class IssueLinkedDocuments public IssueLinkedDocuments() { } - + /// - /// The type of file. Possible values: TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) + ///The type of file. Possible values: + ///TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) /// - /// The type of file. Possible values: TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) - [DataMember(Name="type", EmitDefaultValue=false)] + /// + ///The type of file. Possible values: + ///TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) + /// + [DataMember(Name = "type", EmitDefaultValue = false)] public string Type { get; set; } /// - /// The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. + ///The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. /// - /// The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. - [DataMember(Name="urn", EmitDefaultValue=false)] + /// + ///The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. + /// + [DataMember(Name = "urn", EmitDefaultValue = false)] public string Urn { get; set; } /// - /// The Autodesk ID of the user who created the pushpin issue. + ///The Autodesk ID of the user who created the pushpin issue. /// - /// The Autodesk ID of the user who created the pushpin issue. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who created the pushpin issue. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// The date and time the pushpin was created, in ISO8601 format. + ///The date and time the pushpin was created, in ISO8601 format. /// - /// The date and time the pushpin was created, in ISO8601 format. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the pushpin was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. + ///The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. /// - /// The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. - [DataMember(Name="createdAtVersion", EmitDefaultValue=false)] + /// + ///The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. + /// + [DataMember(Name = "createdAtVersion", EmitDefaultValue = false)] public int? CreatedAtVersion { get; set; } /// - /// The Autodesk ID of the user who closed the pushpin issue. + ///The Autodesk ID of the user who closed the pushpin issue. /// - /// The Autodesk ID of the user who closed the pushpin issue. - [DataMember(Name="closedBy", EmitDefaultValue=false)] + /// + ///The Autodesk ID of the user who closed the pushpin issue. + /// + [DataMember(Name = "closedBy", EmitDefaultValue = false)] public string ClosedBy { get; set; } /// - /// The date and time the pushpin issue was closed, in ISO8601 format. + ///The date and time the pushpin issue was closed, in ISO8601 format. /// - /// The date and time the pushpin issue was closed, in ISO8601 format. - [DataMember(Name="closedAt", EmitDefaultValue=false)] + /// + ///The date and time the pushpin issue was closed, in ISO8601 format. + /// + [DataMember(Name = "closedAt", EmitDefaultValue = false)] public string ClosedAt { get; set; } /// - /// The version of the file when the pushpin issue was closed. + ///The version of the file when the pushpin issue was closed. /// - /// The version of the file when the pushpin issue was closed. - [DataMember(Name="closedAtVersion", EmitDefaultValue=false)] + /// + ///The version of the file when the pushpin issue was closed. + /// + [DataMember(Name = "closedAtVersion", EmitDefaultValue = false)] public int? ClosedAtVersion { get; set; } /// - /// Gets or Sets Details + ///Gets or Sets Details /// - [DataMember(Name="details", EmitDefaultValue=false)] + [DataMember(Name = "details", EmitDefaultValue = false)] public IssueLinkedDocumentsDetails Details { get; set; } /// diff --git a/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs index fc38410..26dd227 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// Information about the individual viewable. /// [DataContract] - public partial class IssueLinkedDocumentsDetails + public partial class IssueLinkedDocumentsDetails { /// /// Initializes a new instance of the class. @@ -44,38 +44,44 @@ public partial class IssueLinkedDocumentsDetails public IssueLinkedDocumentsDetails() { } - + /// - /// Gets or Sets Viewable + ///Gets or Sets Viewable /// - [DataMember(Name="viewable", EmitDefaultValue=false)] + [DataMember(Name = "viewable", EmitDefaultValue = false)] public IssueLinkedDocumentsDetailsViewable Viewable { get; set; } /// - /// Gets or Sets Position + ///Gets or Sets Position /// - [DataMember(Name="position", EmitDefaultValue=false)] + [DataMember(Name = "position", EmitDefaultValue = false)] public IssueLinkedDocumentsDetailsPosition Position { get; set; } /// - /// The ID of the element the pushpin is associated with in the viewable. + ///The ID of the element the pushpin is associated with in the viewable. /// - /// The ID of the element the pushpin is associated with in the viewable. - [DataMember(Name="objectId", EmitDefaultValue=false)] + /// + ///The ID of the element the pushpin is associated with in the viewable. + /// + [DataMember(Name = "objectId", EmitDefaultValue = false)] public int? ObjectId { get; set; } /// - /// An external identifier of the element the pushpin is associated with in the viewable. + ///An external identifier of the element the pushpin is associated with in the viewable. /// - /// An external identifier of the element the pushpin is associated with in the viewable. - [DataMember(Name="externalId", EmitDefaultValue=false)] + /// + ///An external identifier of the element the pushpin is associated with in the viewable. + /// + [DataMember(Name = "externalId", EmitDefaultValue = false)] public string ExternalId { get; set; } /// - /// The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. + ///The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. /// - /// The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. - [DataMember(Name="viewerState", EmitDefaultValue=false)] + /// + ///The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. + /// + [DataMember(Name = "viewerState", EmitDefaultValue = false)] public Object ViewerState { get; set; } /// diff --git a/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs index 583c768..2c309cf 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The position of the pushpin in the viewable. /// [DataContract] - public partial class IssueLinkedDocumentsDetailsPosition + public partial class IssueLinkedDocumentsDetailsPosition { /// /// Initializes a new instance of the class. @@ -44,26 +44,32 @@ public partial class IssueLinkedDocumentsDetailsPosition public IssueLinkedDocumentsDetailsPosition() { } - + /// - /// The x-value of the position in the viewable. + ///The x-value of the position in the viewable. /// - /// The x-value of the position in the viewable. - [DataMember(Name="x", EmitDefaultValue=false)] + /// + ///The x-value of the position in the viewable. + /// + [DataMember(Name = "x", EmitDefaultValue = false)] public int? X { get; set; } /// - /// The y-value of the position in the viewable. + ///The y-value of the position in the viewable. /// - /// The y-value of the position in the viewable. - [DataMember(Name="y", EmitDefaultValue=false)] + /// + ///The y-value of the position in the viewable. + /// + [DataMember(Name = "y", EmitDefaultValue = false)] public int? Y { get; set; } /// - /// The z-value of the position in the viewable. + ///The z-value of the position in the viewable. /// - /// The z-value of the position in the viewable. - [DataMember(Name="z", EmitDefaultValue=false)] + /// + ///The z-value of the position in the viewable. + /// + [DataMember(Name = "z", EmitDefaultValue = false)] public int? Z { get; set; } /// diff --git a/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs index be8d37f..311cbd2 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The individual viewable associated with the issue (pushpin). This is relevant for both individual 2D sheets and views within a 3D model, and individual PDF sheets within a multi-sheet PDF file. It is only relevant if the issue is associated with a file. /// [DataContract] - public partial class IssueLinkedDocumentsDetailsViewable + public partial class IssueLinkedDocumentsDetailsViewable { /// /// Initializes a new instance of the class. @@ -44,40 +44,52 @@ public partial class IssueLinkedDocumentsDetailsViewable public IssueLinkedDocumentsDetailsViewable() { } - + /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// The ID of the viewable (guid). + ///The ID of the viewable (guid). /// - /// The ID of the viewable (guid). - [DataMember(Name="guid", EmitDefaultValue=false)] + /// + ///The ID of the viewable (guid). + /// + [DataMember(Name = "guid", EmitDefaultValue = false)] public string Guid { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="viewableId", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "viewableId", EmitDefaultValue = false)] public string ViewableId { get; set; } /// - /// The name of the viewable. Max length: 1000 + ///The name of the viewable. + ///Max length: 1000 /// - /// The name of the viewable. Max length: 1000 - [DataMember(Name="name", EmitDefaultValue=false)] + /// + ///The name of the viewable. + ///Max length: 1000 + /// + [DataMember(Name = "name", EmitDefaultValue = false)] public string Name { get; set; } /// - /// True if it is a 3D viewable false if it is a 2D viewable + ///True if it is a 3D viewable false if it is a 2D viewable /// - /// True if it is a 3D viewable false if it is a 2D viewable - [DataMember(Name="is3D", EmitDefaultValue=false)] + /// + ///True if it is a 3D viewable false if it is a 2D viewable + /// + [DataMember(Name = "is3D", EmitDefaultValue = false)] public bool? Is3D { get; set; } /// diff --git a/issues/source/Model/IssuePayload.gen.cs b/issues/source/Model/IssuePayload.gen.cs index 309b311..3087e8d 100644 --- a/issues/source/Model/IssuePayload.gen.cs +++ b/issues/source/Model/IssuePayload.gen.cs @@ -32,150 +32,196 @@ namespace Autodesk.Construction.Issues.Model { - /// - /// IssuePayload - /// - [DataContract] - public partial class IssuePayload - { /// - /// Initializes a new instance of the class. + /// IssuePayload /// - public IssuePayload() + [DataContract] + public partial class IssuePayload { + /// + /// Initializes a new instance of the class. + /// + public IssuePayload() + { + } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] + public string Title { get; set; } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "description", EmitDefaultValue = false)] + public string Description { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "snapshotUrn", EmitDefaultValue = false)] + public string SnapshotUrn { get; set; } + + /// + ///The unique identifier of the subtype of the issue. + /// + /// + ///The unique identifier of the subtype of the issue. + /// + [DataMember(Name = "issueSubtypeId", EmitDefaultValue = false)] + public string IssueSubtypeId { get; set; } + + /// + ///Gets or Sets Status + /// + [DataMember(Name = "status", EmitDefaultValue = true)] + public Status Status { get; set; } + + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + [DataMember(Name = "assignedTo", EmitDefaultValue = false)] + public string AssignedTo { get; set; } + + /// + ///Gets or Sets AssignedToType + /// + [DataMember(Name = "assignedToType", EmitDefaultValue = true)] + public AssignedToType AssignedToType { get; set; } + + /// + ///The due date of the issue, in ISO8601 format. + /// + /// + ///The due date of the issue, in ISO8601 format. + /// + [DataMember(Name = "dueDate", EmitDefaultValue = false)] + public string DueDate { get; set; } + + /// + ///The start date of the issue, in ISO8601 format. + /// + /// + ///The start date of the issue, in ISO8601 format. + /// + [DataMember(Name = "startDate", EmitDefaultValue = false)] + public string StartDate { get; set; } + + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + [DataMember(Name = "locationId", EmitDefaultValue = false)] + public string LocationId { get; set; } + + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + [DataMember(Name = "locationDetails", EmitDefaultValue = false)] + public string LocationDetails { get; set; } + + /// + ///The unique identifier of the type of root cause for the issue. + /// + /// + ///The unique identifier of the type of root cause for the issue. + /// + [DataMember(Name = "rootCauseId", EmitDefaultValue = false)] + public string RootCauseId { get; set; } + + /// + ///The unique identifier of the type of root cause for the issue. + /// + /// + ///The unique identifier of the type of root cause for the issue. + /// + [DataMember(Name = "issueTemplateId", EmitDefaultValue = false)] + public string IssueTemplateId { get; set; } + + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + [DataMember(Name = "published", EmitDefaultValue = false)] + public bool? Published { get; set; } + + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] + public Object PermittedActions { get; set; } + + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + [DataMember(Name = "watchers", EmitDefaultValue = false)] + public List Watchers { get; set; } + + /// + ///A list of custom attributes of the specific issue. + /// + /// + ///A list of custom attributes of the specific issue. + /// + [DataMember(Name = "customAttributes", EmitDefaultValue = false)] + public List CustomAttributes { get; set; } + + /// + ///Gets or Sets GpsCoordinates + /// + [DataMember(Name = "gpsCoordinates", EmitDefaultValue = false)] + public IssuePayloadGpsCoordinates GpsCoordinates { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } } - - /// - /// The description and purpose of the issue. Max length: 10000 - /// - /// The description and purpose of the issue. Max length: 10000 - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } - - /// - /// The description and purpose of the issue. Max length: 10000 - /// - /// The description and purpose of the issue. Max length: 10000 - [DataMember(Name="description", EmitDefaultValue=false)] - public string Description { get; set; } - - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="snapshotUrn", EmitDefaultValue=false)] - public string SnapshotUrn { get; set; } - - /// - /// The unique identifier of the subtype of the issue. - /// - /// The unique identifier of the subtype of the issue. - [DataMember(Name="issueSubtypeId", EmitDefaultValue=false)] - public string IssueSubtypeId { get; set; } - - /// - /// Gets or Sets Status - /// - [DataMember(Name="status", EmitDefaultValue=true)] - public Status Status { get; set; } - - /// - /// The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). - /// - /// The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). - [DataMember(Name="assignedTo", EmitDefaultValue=false)] - public string AssignedTo { get; set; } - - /// - /// Gets or Sets AssignedToType - /// - [DataMember(Name="assignedToType", EmitDefaultValue=true)] - public AssignedToType AssignedToType { get; set; } - - /// - /// The due date of the issue, in ISO8601 format. - /// - /// The due date of the issue, in ISO8601 format. - [DataMember(Name="dueDate", EmitDefaultValue=false)] - public string DueDate { get; set; } - - /// - /// The start date of the issue, in ISO8601 format. - /// - /// The start date of the issue, in ISO8601 format. - [DataMember(Name="startDate", EmitDefaultValue=false)] - public string StartDate { get; set; } - - /// - /// The unique LBS (Location Breakdown Structure) identifier that relates to the issue. - /// - /// The unique LBS (Location Breakdown Structure) identifier that relates to the issue. - [DataMember(Name="locationId", EmitDefaultValue=false)] - public string LocationId { get; set; } - - /// - /// The location as plain text that relates to the issue. Max length: 8300 - /// - /// The location as plain text that relates to the issue. Max length: 8300 - [DataMember(Name="locationDetails", EmitDefaultValue=false)] - public string LocationDetails { get; set; } - - /// - /// The unique identifier of the type of root cause for the issue. - /// - /// The unique identifier of the type of root cause for the issue. - [DataMember(Name="rootCauseId", EmitDefaultValue=false)] - public string RootCauseId { get; set; } - - /// - /// The unique identifier of the type of root cause for the issue. - /// - /// The unique identifier of the type of root cause for the issue. - [DataMember(Name="issueTemplateId", EmitDefaultValue=false)] - public string IssueTemplateId { get; set; } - - /// - /// States whether the issue is published. Default value: false (e.g. unpublished). - /// - /// States whether the issue is published. Default value: false (e.g. unpublished). - [DataMember(Name="published", EmitDefaultValue=false)] - public bool? Published { get; set; } - - /// - /// The list of actions permitted for the user for this issue in its current state. Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. The following values are not relevant: add_attachment, remove_attachment. - /// - /// The list of actions permitted for the user for this issue in its current state. Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. The following values are not relevant: add_attachment, remove_attachment. - [DataMember(Name="permittedActions", EmitDefaultValue=false)] - public Object PermittedActions { get; set; } - - /// - /// The Autodesk ID of the member you want to assign as a watcher for the issue. - /// - /// The Autodesk ID of the member you want to assign as a watcher for the issue. - [DataMember(Name="watchers", EmitDefaultValue=false)] - public List Watchers { get; set; } - - /// - /// A list of custom attributes of the specific issue. - /// - /// A list of custom attributes of the specific issue. - [DataMember(Name="customAttributes", EmitDefaultValue=false)] - public List CustomAttributes { get; set; } - - /// - /// Gets or Sets GpsCoordinates - /// - [DataMember(Name="gpsCoordinates", EmitDefaultValue=false)] - public IssuePayloadGpsCoordinates GpsCoordinates { get; set; } - - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); - } - } } diff --git a/issues/source/Model/IssuePayloadCustomAttributes.gen.cs b/issues/source/Model/IssuePayloadCustomAttributes.gen.cs index 2b3bd5d..b4e276a 100644 --- a/issues/source/Model/IssuePayloadCustomAttributes.gen.cs +++ b/issues/source/Model/IssuePayloadCustomAttributes.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssuePayloadCustomAttributes /// [DataContract] - public partial class IssuePayloadCustomAttributes + public partial class IssuePayloadCustomAttributes { /// /// Initializes a new instance of the class. @@ -44,19 +44,23 @@ public partial class IssuePayloadCustomAttributes public IssuePayloadCustomAttributes() { } - + /// - /// The unique identifier of the custom attribute. + ///The unique identifier of the custom attribute. /// - /// The unique identifier of the custom attribute. - [DataMember(Name="attributeDefinitionId", EmitDefaultValue=false)] + /// + ///The unique identifier of the custom attribute. + /// + [DataMember(Name = "attributeDefinitionId", EmitDefaultValue = false)] public string AttributeDefinitionId { get; set; } /// - /// Custom attribute value. Possible value types: string, number, null. + ///Custom attribute value. Possible value types: string, number, null. /// - /// Custom attribute value. Possible value types: string, number, null. - [DataMember(Name="value", EmitDefaultValue=false)] + /// + ///Custom attribute value. Possible value types: string, number, null. + /// + [DataMember(Name = "value", EmitDefaultValue = false)] public Object Value { get; set; } /// diff --git a/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs b/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs index 3140543..de0f911 100644 --- a/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs +++ b/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// A GPS Coordinate which represents the geo location of the issue. /// [DataContract] - public partial class IssuePayloadGpsCoordinates + public partial class IssuePayloadGpsCoordinates { /// /// Initializes a new instance of the class. @@ -44,17 +44,17 @@ public partial class IssuePayloadGpsCoordinates public IssuePayloadGpsCoordinates() { } - + /// - /// Gets or Sets Latitude + ///Gets or Sets Latitude /// - [DataMember(Name="latitude", EmitDefaultValue=false)] + [DataMember(Name = "latitude", EmitDefaultValue = false)] public decimal? Latitude { get; set; } /// - /// Gets or Sets Longitude + ///Gets or Sets Longitude /// - [DataMember(Name="longitude", EmitDefaultValue=false)] + [DataMember(Name = "longitude", EmitDefaultValue = false)] public decimal? Longitude { get; set; } /// diff --git a/issues/source/Model/IssueRootCause.gen.cs b/issues/source/Model/IssueRootCause.gen.cs index 4caf525..ec5a8ae 100644 --- a/issues/source/Model/IssueRootCause.gen.cs +++ b/issues/source/Model/IssueRootCause.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object. /// [DataContract] - public partial class IssueRootCause + public partial class IssueRootCause { /// /// Initializes a new instance of the class. @@ -44,18 +44,20 @@ public partial class IssueRootCause public IssueRootCause() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] + [DataMember(Name = "pagination", EmitDefaultValue = false)] public IssueTypePagination Pagination { get; set; } /// - /// A list of issue root cause categories. + ///A list of issue root cause categories. /// - /// A list of issue root cause categories. - [DataMember(Name="results", EmitDefaultValue=false)] + /// + ///A list of issue root cause categories. + /// + [DataMember(Name = "results", EmitDefaultValue = false)] public List Results { get; set; } /// diff --git a/issues/source/Model/IssueRootCauseResults.gen.cs b/issues/source/Model/IssueRootCauseResults.gen.cs index 19c7cd9..b02d807 100644 --- a/issues/source/Model/IssueRootCauseResults.gen.cs +++ b/issues/source/Model/IssueRootCauseResults.gen.cs @@ -32,111 +32,139 @@ namespace Autodesk.Construction.Issues.Model { - /// - /// IssueRootCauseResults - /// - [DataContract] - public partial class IssueRootCauseResults - { /// - /// Initializes a new instance of the class. + /// IssueRootCauseResults /// - public IssueRootCauseResults() + [DataContract] + public partial class IssueRootCauseResults { - } - - /// - /// The ID of the issue root cause category. - /// - /// The ID of the issue root cause category. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } + /// + /// Initializes a new instance of the class. + /// + public IssueRootCauseResults() + { + } - /// - /// The title of the custom attribute. Max length: 100 - /// - /// The title of the custom attribute. Max length: 100 - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } + /// + ///The ID of the issue root cause category. + /// + /// + ///The ID of the issue root cause category. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } - /// - /// The description of the custom attribute. Max length: 500 - /// - /// The description of the custom attribute. Max length: 500 - [DataMember(Name="isActive", EmitDefaultValue=false)] - public bool? IsActive { get; set; } + /// + ///The title of the custom attribute. + ///Max length: 100 + /// + /// + ///The title of the custom attribute. + ///Max length: 100 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] + public string Title { get; set; } - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] - public List PermittedActions { get; set; } + /// + ///The description of the custom attribute. + ///Max length: 500 + /// + /// + ///The description of the custom attribute. + ///Max length: 500 + /// + [DataMember(Name = "isActive", EmitDefaultValue = false)] + public bool? IsActive { get; set; } - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] - public List PermittedAttributes { get; set; } + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] + public List PermittedActions { get; set; } - /// - /// The metadata object; only relevant for list custom attributes. - /// - /// The metadata object; only relevant for list custom attributes. - [DataMember(Name="rootCauses", EmitDefaultValue=false)] - public List RootCauses { get; set; } + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] + public List PermittedAttributes { get; set; } - /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - /// - /// The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="createdAt", EmitDefaultValue=false)] - public string CreatedAt { get; set; } + /// + ///The metadata object; only relevant for list custom attributes. + /// + /// + ///The metadata object; only relevant for list custom attributes. + /// + [DataMember(Name = "rootCauses", EmitDefaultValue = false)] + public List RootCauses { get; set; } - /// - /// The Autodesk ID of the user who created the custom attribute. - /// - /// The Autodesk ID of the user who created the custom attribute. - [DataMember(Name="createdBy", EmitDefaultValue=false)] - public string CreatedBy { get; set; } + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + /// + ///The date and time the custom attribute was created, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] + public string CreatedAt { get; set; } - /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. - /// - /// The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] - public string UpdatedAt { get; set; } + /// + ///The Autodesk ID of the user who created the custom attribute. + /// + /// + ///The Autodesk ID of the user who created the custom attribute. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] + public string CreatedBy { get; set; } - /// - /// The Autodesk ID of the user who last updated the custom attribute. - /// - /// The Autodesk ID of the user who last updated the custom attribute. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] - public string UpdatedBy { get; set; } + /// + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + /// + ///The last date and time the custom attribute was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] + public string UpdatedAt { get; set; } - /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] - public string DeletedAt { get; set; } + /// + ///The Autodesk ID of the user who last updated the custom attribute. + /// + /// + ///The Autodesk ID of the user who last updated the custom attribute. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] + public string UpdatedBy { get; set; } - /// - /// The Autodesk ID of the user who deleted the custom attribute. - /// - /// The Autodesk ID of the user who deleted the custom attribute. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] - public string DeletedBy { get; set; } + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] + public string DeletedAt { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] + public string DeletedBy { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } } - } } diff --git a/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs b/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs index d2100f2..cfb23dd 100644 --- a/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs +++ b/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs @@ -32,83 +32,103 @@ namespace Autodesk.Construction.Issues.Model { - /// - /// IssueRootCauseResultsRootCauses - /// - [DataContract] - public partial class IssueRootCauseResultsRootCauses - { /// - /// Initializes a new instance of the class. + /// IssueRootCauseResultsRootCauses /// - public IssueRootCauseResultsRootCauses() + [DataContract] + public partial class IssueRootCauseResultsRootCauses { - } - - /// - /// The ID of the issue root cause. - /// - /// The ID of the issue root cause. - [DataMember(Name="id", EmitDefaultValue=false)] - public string Id { get; set; } + /// + /// Initializes a new instance of the class. + /// + public IssueRootCauseResultsRootCauses() + { + } - /// - /// The ID of the parent issue root cause category. - /// - /// The ID of the parent issue root cause category. - [DataMember(Name="rootCauseCategoryId", EmitDefaultValue=false)] - public string RootCauseCategoryId { get; set; } + /// + ///The ID of the issue root cause. + /// + /// + ///The ID of the issue root cause. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } - /// - /// The title of the issue root cause. Max length: 100 - /// - /// The title of the issue root cause. Max length: 100 - [DataMember(Name="title", EmitDefaultValue=false)] - public string Title { get; set; } + /// + ///The ID of the parent issue root cause category. + /// + /// + ///The ID of the parent issue root cause category. + /// + [DataMember(Name = "rootCauseCategoryId", EmitDefaultValue = false)] + public string RootCauseCategoryId { get; set; } - /// - /// The description of the custom attribute. Max length: 500 - /// - /// The description of the custom attribute. Max length: 500 - [DataMember(Name="isActive", EmitDefaultValue=false)] - public bool? IsActive { get; set; } + /// + ///The title of the issue root cause. + ///Max length: 100 + /// + /// + ///The title of the issue root cause. + ///Max length: 100 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] + public string Title { get; set; } - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] - public List PermittedActions { get; set; } + /// + ///The description of the custom attribute. + ///Max length: 500 + /// + /// + ///The description of the custom attribute. + ///Max length: 500 + /// + [DataMember(Name = "isActive", EmitDefaultValue = false)] + public bool? IsActive { get; set; } - /// - /// Not relevant - /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] - public List PermittedAttributes { get; set; } + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] + public List PermittedActions { get; set; } - /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - /// - /// The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] - public string DeletedAt { get; set; } + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] + public List PermittedAttributes { get; set; } - /// - /// The Autodesk ID of the user who deleted the custom attribute. - /// - /// The Autodesk ID of the user who deleted the custom attribute. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] - public string DeletedBy { get; set; } + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + /// + ///The date and time the custom attribute was deleted, in the following format: YYYY-MM-DDThh:mm:ss.sz. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] + public string DeletedAt { get; set; } - /// - /// Returns the string presentation of the object - /// - /// String presentation of the object - public override string ToString() - { - return JsonConvert.SerializeObject(this, Formatting.Indented); + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + /// + ///The Autodesk ID of the user who deleted the custom attribute. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] + public string DeletedBy { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } } - } } diff --git a/issues/source/Model/IssueType.gen.cs b/issues/source/Model/IssueType.gen.cs index faa4a66..352b295 100644 --- a/issues/source/Model/IssueType.gen.cs +++ b/issues/source/Model/IssueType.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssueType /// [DataContract] - public partial class IssueType + public partial class IssueType { /// /// Initializes a new instance of the class. @@ -44,18 +44,20 @@ public partial class IssueType public IssueType() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] + [DataMember(Name = "pagination", EmitDefaultValue = false)] public IssueTypePagination Pagination { get; set; } /// - /// A list of issue type categories. + ///A list of issue type categories. /// - /// A list of issue type categories. - [DataMember(Name="results", EmitDefaultValue=false)] + /// + ///A list of issue type categories. + /// + [DataMember(Name = "results", EmitDefaultValue = false)] public List Results { get; set; } /// diff --git a/issues/source/Model/IssueTypePagination.gen.cs b/issues/source/Model/IssueTypePagination.gen.cs index 89d4cb1..865e58e 100644 --- a/issues/source/Model/IssueTypePagination.gen.cs +++ b/issues/source/Model/IssueTypePagination.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object. /// [DataContract] - public partial class IssueTypePagination + public partial class IssueTypePagination { /// /// Initializes a new instance of the class. @@ -44,26 +44,32 @@ public partial class IssueTypePagination public IssueTypePagination() { } - + /// - /// The number of items per page. + ///The number of items per page. /// - /// The number of items per page. - [DataMember(Name="limit", EmitDefaultValue=false)] + /// + ///The number of items per page. + /// + [DataMember(Name = "limit", EmitDefaultValue = false)] public int? Limit { get; set; } /// - /// The page number that the results begin from. + ///The page number that the results begin from. /// - /// The page number that the results begin from. - [DataMember(Name="offset", EmitDefaultValue=false)] + /// + ///The page number that the results begin from. + /// + [DataMember(Name = "offset", EmitDefaultValue = false)] public int? Offset { get; set; } /// - /// The number of items in the response. + ///The number of items in the response. /// - /// The number of items in the response. - [DataMember(Name="totalResults", EmitDefaultValue=false)] + /// + ///The number of items in the response. + /// + [DataMember(Name = "totalResults", EmitDefaultValue = false)] public int? TotalResults { get; set; } /// diff --git a/issues/source/Model/IssueTypeResults.gen.cs b/issues/source/Model/IssueTypeResults.gen.cs index 39beca4..8323e9d 100644 --- a/issues/source/Model/IssueTypeResults.gen.cs +++ b/issues/source/Model/IssueTypeResults.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssueTypeResults /// [DataContract] - public partial class IssueTypeResults + public partial class IssueTypeResults { /// /// Initializes a new instance of the class. @@ -44,110 +44,140 @@ public partial class IssueTypeResults public IssueTypeResults() { } - + /// - /// The ID of the issue type. + ///The ID of the issue type. /// - /// The ID of the issue type. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The ID of the issue type. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="containerId", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "containerId", EmitDefaultValue = false)] public string ContainerId { get; set; } /// - /// Max length: 250 + ///Max length: 250 /// - /// Max length: 250 - [DataMember(Name="title", EmitDefaultValue=false)] + /// + ///Max length: 250 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] public string Title { get; set; } /// - /// States whether the issue type is active. + ///States whether the issue type is active. /// - /// States whether the issue type is active. - [DataMember(Name="isActive", EmitDefaultValue=false)] + /// + ///States whether the issue type is active. + /// + [DataMember(Name = "isActive", EmitDefaultValue = false)] public bool? IsActive { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="orderIndex", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "orderIndex", EmitDefaultValue = false)] public int? OrderIndex { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// - /// A list of subtypes of the specific issue type. + ///A list of subtypes of the specific issue type. /// - /// A list of subtypes of the specific issue type. - [DataMember(Name="subtypes", EmitDefaultValue=false)] + /// + ///A list of subtypes of the specific issue type. + /// + [DataMember(Name = "subtypes", EmitDefaultValue = false)] public List Subtypes { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="statusSet", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "statusSet", EmitDefaultValue = false)] public string StatusSet { get; set; } /// - /// The unique identifier of the user who created the issue type. + ///The unique identifier of the user who created the issue type. /// - /// The unique identifier of the user who created the issue type. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who created the issue type. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// The date and time the issue was created, in ISO8601 format. + ///The date and time the issue was created, in ISO8601 format. /// - /// The date and time the issue was created, in ISO8601 format. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the issue was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The unique identifier of the user who updated the issue type. + ///The unique identifier of the user who updated the issue type. /// - /// The unique identifier of the user who updated the issue type. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who updated the issue type. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] public string UpdatedBy { get; set; } /// - /// The date and time the issue type was updated, in ISO8601 format. + ///The date and time the issue type was updated, in ISO8601 format. /// - /// The date and time the issue type was updated, in ISO8601 format. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///The date and time the issue type was updated, in ISO8601 format. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// The unique identifier of the user who deleted the issue type. + ///The unique identifier of the user who deleted the issue type. /// - /// The unique identifier of the user who deleted the issue type. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who deleted the issue type. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] public string DeletedBy { get; set; } /// - /// The date and time the issue type was deleted, in ISO8601 format. + ///The date and time the issue type was deleted, in ISO8601 format. /// - /// The date and time the issue type was deleted, in ISO8601 format. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///The date and time the issue type was deleted, in ISO8601 format. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// diff --git a/issues/source/Model/IssueTypeResultsSubtypes.gen.cs b/issues/source/Model/IssueTypeResultsSubtypes.gen.cs index a6189fa..bed1aff 100644 --- a/issues/source/Model/IssueTypeResultsSubtypes.gen.cs +++ b/issues/source/Model/IssueTypeResultsSubtypes.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// IssueTypeResultsSubtypes /// [DataContract] - public partial class IssueTypeResultsSubtypes + public partial class IssueTypeResultsSubtypes { /// /// Initializes a new instance of the class. @@ -44,110 +44,140 @@ public partial class IssueTypeResultsSubtypes public IssueTypeResultsSubtypes() { } - + /// - /// The ID of the issue subtype. + ///The ID of the issue subtype. /// - /// The ID of the issue subtype. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///The ID of the issue subtype. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// The ID of the parent issue type. + ///The ID of the parent issue type. /// - /// The ID of the parent issue type. - [DataMember(Name="issueTypeId", EmitDefaultValue=false)] + /// + ///The ID of the parent issue type. + /// + [DataMember(Name = "issueTypeId", EmitDefaultValue = false)] public string IssueTypeId { get; set; } /// - /// Max length: 250 + ///Max length: 250 /// - /// Max length: 250 - [DataMember(Name="title", EmitDefaultValue=false)] + /// + ///Max length: 250 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] public string Title { get; set; } /// - /// 3 chars pin label. + ///3 chars pin label. /// - /// 3 chars pin label. - [DataMember(Name="code", EmitDefaultValue=false)] + /// + ///3 chars pin label. + /// + [DataMember(Name = "code", EmitDefaultValue = false)] public string Code { get; set; } /// - /// States whether the issue type is active. + ///States whether the issue type is active. /// - /// States whether the issue type is active. - [DataMember(Name="isActive", EmitDefaultValue=false)] + /// + ///States whether the issue type is active. + /// + [DataMember(Name = "isActive", EmitDefaultValue = false)] public bool? IsActive { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="orderIndex", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "orderIndex", EmitDefaultValue = false)] public int? OrderIndex { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="isReadOnly", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "isReadOnly", EmitDefaultValue = false)] public bool? IsReadOnly { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// - /// The unique identifier of the user who created the issue type. + ///The unique identifier of the user who created the issue type. /// - /// The unique identifier of the user who created the issue type. - [DataMember(Name="createdBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who created the issue type. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] public string CreatedBy { get; set; } /// - /// The date and time the issue was created, in ISO8601 format. + ///The date and time the issue was created, in ISO8601 format. /// - /// The date and time the issue was created, in ISO8601 format. - [DataMember(Name="createdAt", EmitDefaultValue=false)] + /// + ///The date and time the issue was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] public string CreatedAt { get; set; } /// - /// The unique identifier of the user who updated the issue type. + ///The unique identifier of the user who updated the issue type. /// - /// The unique identifier of the user who updated the issue type. - [DataMember(Name="updatedBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who updated the issue type. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] public string UpdatedBy { get; set; } /// - /// The date and time the issue type was updated, in ISO8601 format. + ///The date and time the issue type was updated, in ISO8601 format. /// - /// The date and time the issue type was updated, in ISO8601 format. - [DataMember(Name="updatedAt", EmitDefaultValue=false)] + /// + ///The date and time the issue type was updated, in ISO8601 format. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] public string UpdatedAt { get; set; } /// - /// The unique identifier of the user who deleted the issue type. + ///The unique identifier of the user who deleted the issue type. /// - /// The unique identifier of the user who deleted the issue type. - [DataMember(Name="deletedBy", EmitDefaultValue=false)] + /// + ///The unique identifier of the user who deleted the issue type. + /// + [DataMember(Name = "deletedBy", EmitDefaultValue = false)] public string DeletedBy { get; set; } /// - /// The date and time the issue type was deleted, in ISO8601 format. + ///The date and time the issue type was deleted, in ISO8601 format. /// - /// The date and time the issue type was deleted, in ISO8601 format. - [DataMember(Name="deletedAt", EmitDefaultValue=false)] + /// + ///The date and time the issue type was deleted, in ISO8601 format. + /// + [DataMember(Name = "deletedAt", EmitDefaultValue = false)] public string DeletedAt { get; set; } /// diff --git a/issues/source/Model/IssuesPage.gen.cs b/issues/source/Model/IssuesPage.gen.cs index 53370c2..efbd927 100644 --- a/issues/source/Model/IssuesPage.gen.cs +++ b/issues/source/Model/IssuesPage.gen.cs @@ -33,30 +33,32 @@ namespace Autodesk.Construction.Issues.Model { /// - /// Issues + /// IssuesPage /// [DataContract] public partial class IssuesPage { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// public IssuesPage() { } - + /// - /// Gets or Sets Pagination + ///Gets or Sets Pagination /// - [DataMember(Name="pagination", EmitDefaultValue=false)] - public IssuesPagination Pagination { get; set; } + [DataMember(Name = "pagination", EmitDefaultValue = false)] + public IssuesPagePagination Pagination { get; set; } /// - /// The list of issues in the current page + ///The list of issues in the current page /// - /// The list of issues in the current page - [DataMember(Name="results", EmitDefaultValue=false)] - public List Results { get; set; } + /// + ///The list of issues in the current page + /// + [DataMember(Name = "results", EmitDefaultValue = false)] + public List Results { get; set; } /// /// Returns the string presentation of the object diff --git a/issues/source/Model/IssuesPagination.gen.cs b/issues/source/Model/IssuesPagePagination.gen.cs similarity index 72% rename from issues/source/Model/IssuesPagination.gen.cs rename to issues/source/Model/IssuesPagePagination.gen.cs index d4bcf52..644ba8a 100644 --- a/issues/source/Model/IssuesPagination.gen.cs +++ b/issues/source/Model/IssuesPagePagination.gen.cs @@ -36,34 +36,40 @@ namespace Autodesk.Construction.Issues.Model /// The pagination object defining the limit, offset, total number of issues, next and previous URL /// [DataContract] - public partial class IssuesPagination + public partial class IssuesPagePagination { /// - /// Initializes a new instance of the class. + /// Initializes a new instance of the class. /// - public IssuesPagination() + public IssuesPagePagination() { } - + /// - /// The maximum number of issues to be returned in each page. + ///The maximum number of issues to be returned in each page. /// - /// The maximum number of issues to be returned in each page. - [DataMember(Name="limit", EmitDefaultValue=false)] + /// + ///The maximum number of issues to be returned in each page. + /// + [DataMember(Name = "limit", EmitDefaultValue = false)] public int? Limit { get; set; } /// - /// The offset defining the start position from where the issues are returned + ///The offset defining the start position from where the issues are returned /// - /// The offset defining the start position from where the issues are returned - [DataMember(Name="offset", EmitDefaultValue=false)] + /// + ///The offset defining the start position from where the issues are returned + /// + [DataMember(Name = "offset", EmitDefaultValue = false)] public int? Offset { get; set; } /// - /// The total number of issues including the ones of the current page + ///The total number of issues including the ones of the current page /// - /// The total number of issues including the ones of the current page - [DataMember(Name="totalResults", EmitDefaultValue=false)] + /// + ///The total number of issues including the ones of the current page + /// + [DataMember(Name = "totalResults", EmitDefaultValue = false)] public int? TotalResults { get; set; } /// diff --git a/issues/source/Model/XAdsRegion.gen.cs b/issues/source/Model/PermissionLevel.gen.cs similarity index 79% rename from issues/source/Model/XAdsRegion.gen.cs rename to issues/source/Model/PermissionLevel.gen.cs index af773ce..5d46ffa 100644 --- a/issues/source/Model/XAdsRegion.gen.cs +++ b/issues/source/Model/PermissionLevel.gen.cs @@ -33,25 +33,32 @@ namespace Autodesk.Construction.Issues.Model { /// - /// Defines x-ads-region + /// Defines permission_level /// - + /// + [JsonConverter(typeof(StringEnumConverter))] - - public enum XAdsRegion + + public enum PermissionLevel { - + /// - /// Enum US for value: US + /// Enum Create for value: create /// - [EnumMember(Value = "US")] - US, - + [EnumMember(Value = "create")] + Create, + + /// + /// Enum Read for value: read + /// + [EnumMember(Value = "read")] + Read, + /// - /// Enum EMEA for value: EMEA + /// Enum Write for value: write /// - [EnumMember(Value = "EMEA")] - EMEA + [EnumMember(Value = "write")] + Write } } diff --git a/issues/source/Model/FilterdataType.gen.cs b/issues/source/Model/Region.gen.cs similarity index 59% rename from issues/source/Model/FilterdataType.gen.cs rename to issues/source/Model/Region.gen.cs index ac79da8..d6fe063 100644 --- a/issues/source/Model/FilterdataType.gen.cs +++ b/issues/source/Model/Region.gen.cs @@ -33,32 +33,40 @@ namespace Autodesk.Construction.Issues.Model { /// - /// Retrieves issue custom attribute definitions with the specified data type + /// Specifies where the bucket containing the object is stored. Possible values are: + /// - `US` - (Default) Data center for the US region. + /// - `EMEA` - Data center for the European Union, Middle East, and Africa. + /// - `APAC` - (Beta) Data center for Australia. + ///**Note:** Beta features are subject to change. Please do not use in production environments. /// - /// Retrieves issue custom attribute definitions with the specified data type - + ///Specifies where the bucket containing the object is stored. Possible values are: + /// - `US` - (Default) Data center for the US region. + /// - `EMEA` - Data center for the European Union, Middle East, and Africa. + /// - `APAC` - (Beta) Data center for Australia. + ///**Note:** Beta features are subject to change. Please do not use in production environments. + [JsonConverter(typeof(StringEnumConverter))] - - public enum FilterdataType + + public enum Region { - + /// - /// Enum Text for value: text + /// Enum US for value: US /// - [EnumMember(Value = "text")] - Text, - + [EnumMember(Value = "US")] + US, + /// - /// Enum Paragraph for value: paragraph + /// Enum EMEA for value: EMEA /// - [EnumMember(Value = "paragraph")] - Paragraph, - + [EnumMember(Value = "EMEA")] + EMEA, + /// - /// Enum Numeric for value: numeric + /// Enum APAC for value: APAC /// - [EnumMember(Value = "numeric")] - Numeric + [EnumMember(Value = "APAC")] + APAC } } diff --git a/issues/source/Model/Results.gen.cs b/issues/source/Model/Results.gen.cs new file mode 100644 index 0000000..91bcadb --- /dev/null +++ b/issues/source/Model/Results.gen.cs @@ -0,0 +1,421 @@ +/* + * APS SDK + * + * 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. + * + * Construction.Issues + * + * 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. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + +namespace Autodesk.Construction.Issues.Model +{ + /// + /// Results + /// + [DataContract] + public partial class Results + { + /// + /// Initializes a new instance of the class. + /// + public Results() + { + } + + /// + ///The unique identifier of the issue. + /// + /// + ///The unique identifier of the issue. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] + public string Id { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "containerId", EmitDefaultValue = false)] + public string ContainerId { get; set; } + + /// + ///States whether the issue was deleted. Default value: false. + /// + /// + ///States whether the issue was deleted. Default value: false. + /// + [DataMember(Name = "deleted", EmitDefaultValue = false)] + public bool? Deleted { get; set; } + + /// + ///The chronological user-friendly identifier of the issue. + /// + /// + ///The chronological user-friendly identifier of the issue. + /// + [DataMember(Name = "displayId", EmitDefaultValue = false)] + public int? DisplayId { get; set; } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "title", EmitDefaultValue = false)] + public string Title { get; set; } + + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + /// + ///The description and purpose of the issue. + ///Max length: 10000 + /// + [DataMember(Name = "description", EmitDefaultValue = false)] + public string Description { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "snapshotUrn", EmitDefaultValue = false)] + public string SnapshotUrn { get; set; } + + /// + ///The unique identifier of the type of the issue. + /// + /// + ///The unique identifier of the type of the issue. + /// + [DataMember(Name = "issueTypeId", EmitDefaultValue = false)] + public string IssueTypeId { get; set; } + + /// + ///The unique identifier of the subtype of the issue. + /// + /// + ///The unique identifier of the subtype of the issue. + /// + [DataMember(Name = "issueSubtypeId", EmitDefaultValue = false)] + public string IssueSubtypeId { get; set; } + + /// + ///The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. + /// + /// + ///The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. + /// + [DataMember(Name = "status", EmitDefaultValue = false)] + public string Status { get; set; } + + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + /// + ///The Autodesk ID of the member, role, or company you want to assign to the issue. Note that if you select an assignee ID, you also need to select a type (assignedToType). + /// + [DataMember(Name = "assignedTo", EmitDefaultValue = false)] + public string AssignedTo { get; set; } + + /// + ///Gets or Sets AssignedToType + /// + [DataMember(Name = "assignedToType", EmitDefaultValue = true)] + public AssignedToType AssignedToType { get; set; } + + /// + ///The due date of the issue, in ISO8601 format. + /// + /// + ///The due date of the issue, in ISO8601 format. + /// + [DataMember(Name = "dueDate", EmitDefaultValue = false)] + public string DueDate { get; set; } + + /// + ///The start date of the issue, in ISO8601 format. + /// + /// + ///The start date of the issue, in ISO8601 format. + /// + [DataMember(Name = "startDate", EmitDefaultValue = false)] + public string StartDate { get; set; } + + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + /// + ///The unique LBS (Location Breakdown Structure) identifier that relates to the issue. + /// + [DataMember(Name = "locationId", EmitDefaultValue = false)] + public string LocationId { get; set; } + + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + /// + ///The location as plain text that relates to the issue. + ///Max length: 8300 + /// + [DataMember(Name = "locationDetails", EmitDefaultValue = false)] + public string LocationDetails { get; set; } + + /// + ///Information about the files associated with issues (pushpins). + /// + /// + ///Information about the files associated with issues (pushpins). + /// + [DataMember(Name = "linkedDocuments", EmitDefaultValue = false)] + public List LinkedDocuments { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "links", EmitDefaultValue = false)] + public List Links { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "ownerId", EmitDefaultValue = false)] + public string OwnerId { get; set; } + + /// + ///The unique identifier of the type of root cause for the issue. + /// + /// + ///The unique identifier of the type of root cause for the issue. + /// + [DataMember(Name = "rootCauseId", EmitDefaultValue = false)] + public string RootCauseId { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "officialResponse", EmitDefaultValue = false)] + public Object OfficialResponse { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "issueTemplateId", EmitDefaultValue = false)] + public string IssueTemplateId { get; set; } + + /// + ///A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. + ///Possible Values: open, pending, in_review, closed. + /// + /// + ///A list of statuses accessible to the current user, this is based on the current status of the issue and the user permissions. + ///Possible Values: open, pending, in_review, closed. + /// + [DataMember(Name = "permittedStatuses", EmitDefaultValue = false)] + public List PermittedStatuses { get; set; } + + /// + ///A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + /// + /// + ///A list of attributes the current user can manipulate in the current context. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] + public List PermittedAttributes { get; set; } + + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + /// + ///States whether the issue is published. Default value: false (e.g. unpublished). + /// + [DataMember(Name = "published", EmitDefaultValue = false)] + public bool? Published { get; set; } + + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + /// + ///The list of actions permitted for the user for this issue in its current state. + ///Note that if a user with Create for my company permissions attempts to assign a user from a another company to the issue, it will return an error. + /// + ///Possible Values: assign_all (can assign another user from another company to the issue), assign_same_company (can only assign another user from the same company to the issue), clear_assignee, delete, add_comment, add_attachment, remove_attachment. + /// + ///The following values are not relevant: add_attachment, remove_attachment. + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] + public Object PermittedActions { get; set; } + + /// + ///The number of comments in this issue. + /// + /// + ///The number of comments in this issue. + /// + [DataMember(Name = "commentCount", EmitDefaultValue = false)] + public int? CommentCount { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "attachmentCount", EmitDefaultValue = false)] + public int? AttachmentCount { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "openedBy", EmitDefaultValue = false)] + public string OpenedBy { get; set; } + + /// + ///Not relevant + /// + /// + ///Not relevant + /// + [DataMember(Name = "openedAt", EmitDefaultValue = false)] + public string OpenedAt { get; set; } + + /// + ///The unique identifier of the user who closed the issue. + /// + /// + ///The unique identifier of the user who closed the issue. + /// + [DataMember(Name = "closedBy", EmitDefaultValue = false)] + public string ClosedBy { get; set; } + + /// + ///The date and time the issue was closed, in ISO8601 format. + /// + /// + ///The date and time the issue was closed, in ISO8601 format. + /// + [DataMember(Name = "closedAt", EmitDefaultValue = false)] + public string ClosedAt { get; set; } + + /// + ///The unique identifier of the user who created the issue + /// + /// + ///The unique identifier of the user who created the issue + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] + public string CreatedBy { get; set; } + + /// + ///The date and time the issue was created, in ISO8601 format. + /// + /// + ///The date and time the issue was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] + public string CreatedAt { get; set; } + + /// + ///The unique identifier of the user who updated the issue. + /// + /// + ///The unique identifier of the user who updated the issue. + /// + [DataMember(Name = "updatedBy", EmitDefaultValue = false)] + public string UpdatedBy { get; set; } + + /// + ///The date and time the issue was updated, in ISO8601 format. + /// + /// + ///The date and time the issue was updated, in ISO8601 format. + /// + [DataMember(Name = "updatedAt", EmitDefaultValue = false)] + public string UpdatedAt { get; set; } + + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + /// + ///The Autodesk ID of the member you want to assign as a watcher for the issue. + /// + [DataMember(Name = "watchers", EmitDefaultValue = false)] + public List Watchers { get; set; } + + /// + ///A list of custom attributes of the specific issue. + /// + /// + ///A list of custom attributes of the specific issue. + /// + [DataMember(Name = "customAttributes", EmitDefaultValue = false)] + public List CustomAttributes { get; set; } + + /// + ///Gets or Sets GpsCoordinates + /// + [DataMember(Name = "gpsCoordinates", EmitDefaultValue = false)] + public IssueGpsCoordinates GpsCoordinates { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + } + +} diff --git a/issues/source/Model/ResultsLinkedDocuments.gen.cs b/issues/source/Model/ResultsLinkedDocuments.gen.cs new file mode 100644 index 0000000..7cd1c8c --- /dev/null +++ b/issues/source/Model/ResultsLinkedDocuments.gen.cs @@ -0,0 +1,138 @@ +/* + * APS SDK + * + * 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. + * + * Construction.Issues + * + * 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. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + +namespace Autodesk.Construction.Issues.Model +{ + /// + /// ResultsLinkedDocuments + /// + [DataContract] + public partial class ResultsLinkedDocuments + { + /// + /// Initializes a new instance of the class. + /// + public ResultsLinkedDocuments() + { + } + + /// + ///The type of file. Possible values: + ///TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) + /// + /// + ///The type of file. Possible values: + ///TwoDVectorPushpin (3D models) TwoDRasterPushpin (2D sheets and views) + /// + [DataMember(Name = "type", EmitDefaultValue = false)] + public string Type { get; set; } + + /// + ///The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. + /// + /// + ///The ID of the file associated with the issue (pushpin). Note the we do not currently support data associated with the ACC Build Sheet tool. + /// + [DataMember(Name = "urn", EmitDefaultValue = false)] + public string Urn { get; set; } + + /// + ///The Autodesk ID of the user who created the pushpin issue. + /// + /// + ///The Autodesk ID of the user who created the pushpin issue. + /// + [DataMember(Name = "createdBy", EmitDefaultValue = false)] + public string CreatedBy { get; set; } + + /// + ///The date and time the pushpin was created, in ISO8601 format. + /// + /// + ///The date and time the pushpin was created, in ISO8601 format. + /// + [DataMember(Name = "createdAt", EmitDefaultValue = false)] + public string CreatedAt { get; set; } + + /// + ///The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. + /// + /// + ///The version of the file the pushin issue was added to. For information about file versions, see the Data Management API. + /// + [DataMember(Name = "createdAtVersion", EmitDefaultValue = false)] + public int? CreatedAtVersion { get; set; } + + /// + ///The Autodesk ID of the user who closed the pushpin issue. + /// + /// + ///The Autodesk ID of the user who closed the pushpin issue. + /// + [DataMember(Name = "closedBy", EmitDefaultValue = false)] + public string ClosedBy { get; set; } + + /// + ///The date and time the pushpin issue was closed, in ISO8601 format. + /// + /// + ///The date and time the pushpin issue was closed, in ISO8601 format. + /// + [DataMember(Name = "closedAt", EmitDefaultValue = false)] + public string ClosedAt { get; set; } + + /// + ///The version of the file when the pushpin issue was closed. + /// + /// + ///The version of the file when the pushpin issue was closed. + /// + [DataMember(Name = "closedAtVersion", EmitDefaultValue = false)] + public int? ClosedAtVersion { get; set; } + + /// + ///Gets or Sets Details + /// + [DataMember(Name = "details", EmitDefaultValue = false)] + public ResultsLinkedDocumentsDetails Details { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + } + +} diff --git a/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs b/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs new file mode 100644 index 0000000..d8fc477 --- /dev/null +++ b/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs @@ -0,0 +1,100 @@ +/* + * APS SDK + * + * 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. + * + * Construction.Issues + * + * 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. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + +namespace Autodesk.Construction.Issues.Model +{ + /// + /// Information about the individual viewable. + /// + [DataContract] + public partial class ResultsLinkedDocumentsDetails + { + /// + /// Initializes a new instance of the class. + /// + public ResultsLinkedDocumentsDetails() + { + } + + /// + ///The individual viewable associated with the issue (pushpin). This is relevant for both individual 2D sheets and views within a 3D model, and individual PDF sheets within a multi-sheet PDF file. It is only relevant if the issue is associated with a file. + /// + /// + ///The individual viewable associated with the issue (pushpin). This is relevant for both individual 2D sheets and views within a 3D model, and individual PDF sheets within a multi-sheet PDF file. It is only relevant if the issue is associated with a file. + /// + [DataMember(Name = "viewable", EmitDefaultValue = false)] + public Object Viewable { get; set; } + + /// + ///Gets or Sets Position + /// + [DataMember(Name = "position", EmitDefaultValue = false)] + public IssueLinkedDocumentsDetailsPosition Position { get; set; } + + /// + ///The ID of the element the pushpin is associated with in the viewable. + /// + /// + ///The ID of the element the pushpin is associated with in the viewable. + /// + [DataMember(Name = "objectId", EmitDefaultValue = false)] + public int? ObjectId { get; set; } + + /// + ///An external identifier of the element the pushpin is associated with in the viewable. + /// + /// + ///An external identifier of the element the pushpin is associated with in the viewable. + /// + [DataMember(Name = "externalId", EmitDefaultValue = false)] + public string ExternalId { get; set; } + + /// + ///The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. + /// + /// + ///The viewer state at the time the pushpin was created. Maximum length: 2,500,000 characters. You can get the viewer state object by calling ViewerState.getState(). To restore the viewer instance use ViewerState.restoreState(). See the `Viewer API documentation https://developer.autodesk.com/en/docs/viewer/v2/reference/javascript/viewerstate/`_ for more details. + /// + [DataMember(Name = "viewerState", EmitDefaultValue = false)] + public Object ViewerState { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + } + +} diff --git a/issues/source/Model/SortBy.gen.cs b/issues/source/Model/SortBy.gen.cs index 8386fa6..9472847 100644 --- a/issues/source/Model/SortBy.gen.cs +++ b/issues/source/Model/SortBy.gen.cs @@ -35,114 +35,115 @@ namespace Autodesk.Construction.Issues.Model /// /// Defines sortBy /// - + /// + [JsonConverter(typeof(StringEnumConverter))] - + public enum SortBy { - + /// /// Enum CreatedAt for value: createdAt /// [EnumMember(Value = "createdAt")] CreatedAt, - + /// /// Enum UpdatedAt for value: updatedAt /// [EnumMember(Value = "updatedAt")] UpdatedAt, - + /// /// Enum CreatedBy for value: createdBy /// [EnumMember(Value = "createdBy")] CreatedBy, - + /// /// Enum DisplayId for value: displayId /// [EnumMember(Value = "displayId")] DisplayId, - + /// /// Enum Title for value: title /// [EnumMember(Value = "title")] Title, - + /// /// Enum Description for value: description /// [EnumMember(Value = "description")] Description, - + /// /// Enum Status for value: status /// [EnumMember(Value = "status")] Status, - + /// /// Enum AssignedTo for value: assignedTo /// [EnumMember(Value = "assignedTo")] AssignedTo, - + /// /// Enum AssignedToType for value: assignedToType /// [EnumMember(Value = "assignedToType")] AssignedToType, - + /// /// Enum DueDate for value: dueDate /// [EnumMember(Value = "dueDate")] DueDate, - + /// /// Enum LocationDetails for value: locationDetails /// [EnumMember(Value = "locationDetails")] LocationDetails, - + /// /// Enum Published for value: published /// [EnumMember(Value = "published")] Published, - + /// /// Enum ClosedBy for value: closedBy /// [EnumMember(Value = "closedBy")] ClosedBy, - + /// /// Enum ClosedAt for value: closedAt /// [EnumMember(Value = "closedAt")] ClosedAt, - + /// /// Enum IssueSubType for value: issueSubType /// [EnumMember(Value = "issueSubType")] IssueSubType, - + /// /// Enum IssueType for value: issueType /// [EnumMember(Value = "issueType")] IssueType, - + /// /// Enum CustomAttributes for value: customAttributes /// [EnumMember(Value = "customAttributes")] CustomAttributes, - + /// /// Enum StartDate for value: startDate /// diff --git a/issues/source/Model/Status.gen.cs b/issues/source/Model/Status.gen.cs index c722d31..4515d12 100644 --- a/issues/source/Model/Status.gen.cs +++ b/issues/source/Model/Status.gen.cs @@ -35,61 +35,61 @@ namespace Autodesk.Construction.Issues.Model /// /// The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. /// - /// The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. - + ///The current status of the issue. To check the available statuses for the project, call GET users/me and check the permitted statuses list (issue.new.permittedStatuses). For more information about statuses, see the Help documentation. + [JsonConverter(typeof(StringEnumConverter))] - + public enum Status { - + /// /// Enum Draft for value: draft /// [EnumMember(Value = "draft")] Draft, - + /// /// Enum Open for value: open /// [EnumMember(Value = "open")] Open, - + /// /// Enum Pending for value: pending /// [EnumMember(Value = "pending")] Pending, - + /// /// Enum Inprogress for value: in_progress /// [EnumMember(Value = "in_progress")] Inprogress, - + /// /// Enum Inreview for value: in_review /// [EnumMember(Value = "in_review")] Inreview, - + /// /// Enum Completed for value: completed /// [EnumMember(Value = "completed")] Completed, - + /// /// Enum Notapproved for value: not_approved /// [EnumMember(Value = "not_approved")] Notapproved, - + /// /// Enum Indispute for value: in_dispute /// [EnumMember(Value = "in_dispute")] Indispute, - + /// /// Enum Closed for value: closed /// diff --git a/issues/source/Model/User.gen.cs b/issues/source/Model/User.gen.cs index 07d50c6..e006815 100644 --- a/issues/source/Model/User.gen.cs +++ b/issues/source/Model/User.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// User /// [DataContract] - public partial class User + public partial class User { /// /// Initializes a new instance of the class. @@ -44,40 +44,48 @@ public partial class User public User() { } - + /// - /// Unique identifier for the given user. + ///Unique identifier for the given user. /// - /// Unique identifier for the given user. - [DataMember(Name="id", EmitDefaultValue=false)] + /// + ///Unique identifier for the given user. + /// + [DataMember(Name = "id", EmitDefaultValue = false)] public string Id { get; set; } /// - /// States whether the current logged in user is a system admin. + ///States whether the current logged in user is a system admin. /// - /// States whether the current logged in user is a system admin. - [DataMember(Name="isProjectAdmin", EmitDefaultValue=false)] + /// + ///States whether the current logged in user is a system admin. + /// + [DataMember(Name = "isProjectAdmin", EmitDefaultValue = false)] public bool? IsProjectAdmin { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="canManageTemplates", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "canManageTemplates", EmitDefaultValue = false)] public bool? CanManageTemplates { get; set; } /// - /// Gets or Sets Issues + ///Gets or Sets Issues /// - [DataMember(Name="issues", EmitDefaultValue=false)] + [DataMember(Name = "issues", EmitDefaultValue = false)] public UserIssues Issues { get; set; } /// - /// The permission level of the user. Each permission level corresponds to a combination of values in the response. For example, a combination of read and create in the response, corresponds to a Create for other companies permission level. + ///The permission level of the user. Each permission level corresponds to a combination of values in the response. For example, a combination of read and create in the response, corresponds to a Create for other companies permission level. /// - /// The permission level of the user. Each permission level corresponds to a combination of values in the response. For example, a combination of read and create in the response, corresponds to a Create for other companies permission level. - [DataMember(Name="permissionLevels", EmitDefaultValue=false)] - public List PermissionLevels { get; set; } + /// + ///The permission level of the user. Each permission level corresponds to a combination of values in the response. For example, a combination of read and create in the response, corresponds to a Create for other companies permission level. + /// + [DataMember(Name = "permissionLevels", EmitDefaultValue = false)] + public List PermissionLevels { get; set; } /// /// Returns the string presentation of the object diff --git a/issues/source/Model/UserIssues.gen.cs b/issues/source/Model/UserIssues.gen.cs index 70f12a7..c2dcc5b 100644 --- a/issues/source/Model/UserIssues.gen.cs +++ b/issues/source/Model/UserIssues.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// UserIssues /// [DataContract] - public partial class UserIssues + public partial class UserIssues { /// /// Initializes a new instance of the class. @@ -44,17 +44,17 @@ public partial class UserIssues public UserIssues() { } - + /// - /// Gets or Sets New + ///Gets or Sets New /// - [DataMember(Name="new", EmitDefaultValue=false)] + [DataMember(Name = "new", EmitDefaultValue = false)] public UserIssuesNew New { get; set; } /// - /// Gets or Sets Filter + ///Gets or Sets Filter /// - [DataMember(Name="filter", EmitDefaultValue=false)] + [DataMember(Name = "filter", EmitDefaultValue = false)] public UserIssuesFilter Filter { get; set; } /// diff --git a/issues/source/Model/UserIssuesFilter.gen.cs b/issues/source/Model/UserIssuesFilter.gen.cs index 7b378e2..efbdee4 100644 --- a/issues/source/Model/UserIssuesFilter.gen.cs +++ b/issues/source/Model/UserIssuesFilter.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// Not relevant /// [DataContract] - public partial class UserIssuesFilter + public partial class UserIssuesFilter { /// /// Initializes a new instance of the class. @@ -44,12 +44,14 @@ public partial class UserIssuesFilter public UserIssuesFilter() { } - + /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permittedStatuses", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permittedStatuses", EmitDefaultValue = false)] public List PermittedStatuses { get; set; } /// diff --git a/issues/source/Model/UserIssuesNew.gen.cs b/issues/source/Model/UserIssuesNew.gen.cs index d3134e0..f7ebae6 100644 --- a/issues/source/Model/UserIssuesNew.gen.cs +++ b/issues/source/Model/UserIssuesNew.gen.cs @@ -36,7 +36,7 @@ namespace Autodesk.Construction.Issues.Model /// If this object appears in the response, it indicates that the user can create and modify issues. /// [DataContract] - public partial class UserIssuesNew + public partial class UserIssuesNew { /// /// Initializes a new instance of the class. @@ -44,47 +44,61 @@ public partial class UserIssuesNew public UserIssuesNew() { } - + /// - /// The list of actions permitted for the user for this issue in its current state. + ///The list of actions permitted for the user for this issue in its current state. /// - /// The list of actions permitted for the user for this issue in its current state. - [DataMember(Name="permittedActions", EmitDefaultValue=false)] + /// + ///The list of actions permitted for the user for this issue in its current state. + /// + [DataMember(Name = "permittedActions", EmitDefaultValue = false)] public List PermittedActions { get; set; } /// - /// A list of attributes you are allowed to open a new issue. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + ///A list of attributes you are allowed to open a new issue. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. /// - /// A list of attributes you are allowed to open a new issue. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. - [DataMember(Name="permittedAttributes", EmitDefaultValue=false)] + /// + ///A list of attributes you are allowed to open a new issue. issueTypeId, linkedDocument, links, ownerId, officialResponse, rootCauseId, snapshotUrn are not applicable. + /// + [DataMember(Name = "permittedAttributes", EmitDefaultValue = false)] public List PermittedAttributes { get; set; } /// - /// A list of available statuses for the project. Possible values: draft, open, pending, in_progress, completed, in_review, not_approved, in_dispute, closed. + ///A list of available statuses for the project. + ///Possible values: draft, open, pending, in_progress, completed, in_review, not_approved, in_dispute, closed. /// - /// A list of available statuses for the project. Possible values: draft, open, pending, in_progress, completed, in_review, not_approved, in_dispute, closed. - [DataMember(Name="permittedStatuses", EmitDefaultValue=false)] + /// + ///A list of available statuses for the project. + ///Possible values: draft, open, pending, in_progress, completed, in_review, not_approved, in_dispute, closed. + /// + [DataMember(Name = "permittedStatuses", EmitDefaultValue = false)] public List PermittedStatuses { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permitted_actions", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permitted_actions", EmitDefaultValue = false)] public List _PermittedActions { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permitted_attributes", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permitted_attributes", EmitDefaultValue = false)] public List _PermittedAttributes { get; set; } /// - /// Not relevant + ///Not relevant /// - /// Not relevant - [DataMember(Name="permitted_statuses", EmitDefaultValue=false)] + /// + ///Not relevant + /// + [DataMember(Name = "permitted_statuses", EmitDefaultValue = false)] public List _PermittedStatuses { get; set; } /// diff --git a/issues/source/ServiceApiException.cs b/issues/source/ServiceApiException.cs index b0d66d2..5e88087 100644 --- a/issues/source/ServiceApiException.cs +++ b/issues/source/ServiceApiException.cs @@ -26,9 +26,9 @@ namespace Autodesk.Construction.Issues { public abstract class ServiceApiException : HttpRequestException { - public HttpResponseMessage HttpResponseMessage {get; set;} + public HttpResponseMessage HttpResponseMessage { get; set; } - public ServiceApiException(string message) : base(message) {} + public ServiceApiException(string message) : base(message) { } public ServiceApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, exception) { this.HttpResponseMessage = httpResponseMessage; @@ -37,7 +37,7 @@ public ServiceApiException(string message, HttpResponseMessage httpResponseMessa public class ConstructionissuesApiException : ServiceApiException { - public ConstructionissuesApiException(string message) : base(message) {} - public ConstructionissuesApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) {} + public ConstructionissuesApiException(string message) : base(message) { } + public ConstructionissuesApiException(string message, HttpResponseMessage httpResponseMessage, Exception exception) : base(message, httpResponseMessage, exception) { } } } diff --git a/issues/source/ServiceCollectionExtensions.gen.cs b/issues/source/ServiceCollectionExtensions.gen.cs index 2ad8a45..1e8e99c 100644 --- a/issues/source/ServiceCollectionExtensions.gen.cs +++ b/issues/source/ServiceCollectionExtensions.gen.cs @@ -37,13 +37,13 @@ public static class ServiceCollectionExtensions public static IHttpClientBuilder AddConstructionissues(this IServiceCollection services, IConfiguration configuration) { // services.Configure(configuration.GetSection("Forge").GetSection("Constructionissues")); - services.AddTransient(); - services.AddTransient(); - services.AddTransient(); - services.AddTransient(); - services.AddTransient(); - services.AddTransient(); - services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); // services.AddTransient(); return services.AddForgeService(configuration); } diff --git a/issues/source/custom-code/IssuesClient.cs b/issues/source/custom-code/IssuesClient.cs index 2f8c189..4628064 100644 --- a/issues/source/custom-code/IssuesClient.cs +++ b/issues/source/custom-code/IssuesClient.cs @@ -40,7 +40,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute definitions to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute definitions you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute definitions with the specified data type. Possible values: list (this corresponds to dropdown in the UI), text, paragraph, numeric. For example, filter[dataType]=text,numeric. (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetAttributeDefinitionsAsync(string projectId, XAdsRegion xAdsRegion, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), List filterDataType = default(List), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetAttributeDefinitionsAsync(string projectId, Region xAdsRegion, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), List filterDataType = default(List), string accessToken = null, bool throwOnError = true) { var response = await this.IssueAttributeDefinitionsApi.GetAttributeDefinitionsAsync(projectId, xAdsRegion, limit, offset, filterCreatedAt, filterUpdatedAt, filterDeletedAt, filterDataType, accessToken, throwOnError); return response.Content; @@ -57,7 +57,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// The number of custom attribute mappings to return in the response payload. For example, limit=2. Acceptable values: 1-200. Default value: 200. (optional)/// The number of custom attribute mappings you want to begin retrieving results from. (optional)/// Retrieves items that were created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves items that were last updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves types that were deleted at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Retrieves issue custom attribute mappings associated with the specified issue custom attribute definitions. Separate multiple values with commas. For example: filter[attributeDefinitionId]=18ee5858-cbf1-451a-a525-7c6ff8156775. (optional)/// Retrieves issue custom attribute mappings associated with the specified items (project, type, or subtype). Separate multiple values with commas. For example: filter[mappedItemId]=18ee5858-cbf1-451a-a525-7c6ff8156775. Note that this does not retrieve inherited custom attribute mappings or custom attribute mappings of descendants. (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetAttributeMappingsAsync(string projectId, XAdsRegion xAdsRegion, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), string filterAttributeDefinitionId = default(string), string filterMappedItemId = default(string), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetAttributeMappingsAsync(string projectId, Region xAdsRegion, int? limit = default(int?), int? offset = default(int?), string filterCreatedAt = default(string), string filterUpdatedAt = default(string), string filterDeletedAt = default(string), string filterAttributeDefinitionId = default(string), string filterMappedItemId = default(string), string accessToken = null, bool throwOnError = true) { var response = await this.IssueAttributeMappingsApi.GetAttributeMappingsAsync(projectId, xAdsRegion, limit, offset, filterCreatedAt, filterUpdatedAt, filterDeletedAt, filterAttributeDefinitionId, filterMappedItemId, accessToken, throwOnError); @@ -73,7 +73,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Must be application/json/// (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task CreateCommentsAsync(string projectId, string issueId, XAdsRegion xAdsRegion, CommentsPayload commentsPayload = default(CommentsPayload), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task CreateCommentsAsync(string projectId, string issueId, Region xAdsRegion, CommentsPayload commentsPayload = default(CommentsPayload), string accessToken = null, bool throwOnError = true) { var response = await this.IssueCommentsApi.CreateCommentsAsync(projectId, issueId, xAdsRegion, commentsPayload, accessToken, throwOnError); return response.Content; @@ -88,7 +88,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetCommentsAsync(string projectId, string issueId, XAdsRegion xAdsRegion, string limit = default(string), string offset = default(string), List sortBy = default(List), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetCommentsAsync(string projectId, string issueId, Region xAdsRegion, string limit = default(string), string offset = default(string), List sortBy = default(List), string accessToken = null, bool throwOnError = true) { var response = await this.IssueCommentsApi.GetCommentsAsync(projectId, issueId, xAdsRegion, limit, offset, sortBy, accessToken, throwOnError); return response.Content; @@ -104,7 +104,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Add ‘include=rootcauses’ to add the root causes for each category. (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination) (optional)/// Retrieves root cause categories updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetRootCauseCategoriesAsync(string projectId, XAdsRegion xAdsRegion, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetRootCauseCategoriesAsync(string projectId, Region xAdsRegion, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), string accessToken = null, bool throwOnError = true) { var response = await this.IssueRootCauseCategoriesApi.GetRootCauseCategoriesAsync(projectId, xAdsRegion, include, limit, offset, filterUpdatedAt, accessToken, throwOnError); return response.Content; @@ -120,7 +120,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// Must be application/json/// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task CreateIssueAsync(string projectId, XAdsRegion xAdsRegion, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task CreateIssueAsync(string projectId, Region xAdsRegion, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) { var response = await this.IssuesApi.CreateIssueAsync(projectId, xAdsRegion, issuePayload, accessToken, throwOnError); return response.Content; @@ -135,7 +135,7 @@ public IssuesClient(SDKManager.SDKManager sdkManager) /// The ID of the project./// The unique identifier of the issue./// The region where the bucket residesAcceptable values: `US`, `EMEA` /// Task of ApiResponse - public async System.Threading.Tasks.Task GetIssueDetailsAsync(string projectId, string issueId, XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetIssueDetailsAsync(string projectId, string issueId, Region xAdsRegion, string accessToken = null, bool throwOnError = true) { var response = await this.IssuesApi.GetIssueDetailsAsync(projectId, issueId, xAdsRegion, accessToken, throwOnError); return response.Content; @@ -150,9 +150,9 @@ public async System.Threading.Tasks.Task GetIssueDetailsAsync(string proj /// The ID of the project./// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Filter issues by the unique issue ID. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the category of the issue. Note that the API name for category is type. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of the issue. Note that the API name for type is subtype. Separate multiple values with commas. (optional)/// Filter issues by their status. Separate multiple values with commas. (optional)/// Retrieves pushpin issues associated with the specified files. We support all file types that are compatible with the Files tool. You need to specify the URL-encoded file item IDs. (optional)/// Filter issues by due date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by start date, in one of the following URL-encoded format: YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues created at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas (optional)/// Filter issues by the unique identifier of the user who created the issue. Separate multiple values with commas. (optional)/// Filter issues updated at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who updated the issue. Separate multiple values with commas. (optional)/// Filter issues by the unique Autodesk ID of the User/Company/Role identifier of the current assignee of this issue. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the type of root cause for the issue. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified location but not the location’s sublocations. To also retrieve issues that relate to the locations’s sublocations use the sublocationId filter. Separate multiple values with commas. (optional)/// Retrieves issues associated with the specified unique LBS (Location Breakdown Structure) identifier, as well as issues associated with the sub locations of the LBS identifier. Separate multiple values with commas. (optional)/// Filter issues by the unique identifier of the user who closed the issue. Separate multiple values with commas. For Example: A3RGM375QTZ7. (optional)/// Filter issues closed at the specified date and time, in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter issues using ‘search’ criteria. this will filter both title and issues display ID. For example, use filter[search]=300 (optional)/// Filter issues by the chronological user-friendly identifier. Separate multiple values with commas. (optional)/// Filter issues by the type of the current assignee of this issue. Separate multiple values with commas. Possible values: Possible values: user, company, role, null. For Example: user. (optional)/// Filter issues by the custom attributes. Each custom attribute filter should be defined by it’s uuid. For example: filter[customAttributes][f227d940-ae9b-4722-9297-389f4411f010]=1,2,3. Separate multiple values with commas. (optional)/// Only return valid issues (=no empty type/subtype). Default value: undefined (meaning will return both valid & invalid issues). (optional)/// Return specified number of issues. Acceptable values are 1-100. Default value: 100. (optional)/// Return issues starting from the specified offset number. Default value: 0. (optional)/// Sort issue comments by specified fields. Separate multiple values with commas. To sort in descending order add a - (minus sign) before the sort criteria (optional)/// Return only specific fields in issue object. Separate multiple values with commas. (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetIssuesAsync(string projectId, XAdsRegion xAdsRegion, List filterId = default(List), List filterIssueTypeId = default(List), List filterIssueSubtypeId = default(List), string filterStatus = default(string), List filterLinkedDocumentUrn = default(List), string filterDueDate = default(string), string filterStartDate = default(string), string filterCreatedAt = default(string), FiltercreatedBy filterCreatedBy = default(FiltercreatedBy), string filterUpdatedAt = default(string), List filterUpdatedBy = default(List), List filterAssignedTo = default(List), List filterRootCauseId = default(List), List filterLocationId = default(List), List filterSubLocationId = default(List), List filterClosedBy = default(List), string filterClosedAt = default(string), string filterSearch = default(string), int? filterDisplayId = default(int?), string filterAssignedToType = default(string), List filterCustomAttributes = default(List), bool? filterValid = default(bool?), int? limit = default(int?), int? offset = default(int?), List sortBy = default(List), List fields = default(List), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetIssuesAsync(string projectId, Region xAdsRegion, List filterId = default(List), List filterIssueTypeId = default(List), List filterIssueSubtypeId = default(List), string filterStatus = default(string), List filterLinkedDocumentUrn = default(List), string filterDueDate = default(string), string filterStartDate = default(string), string filterCreatedAt = default(string), FiltercreatedBy filterCreatedBy = default(FiltercreatedBy), string filterUpdatedAt = default(string), List filterUpdatedBy = default(List), List filterAssignedTo = default(List), List filterRootCauseId = default(List), List filterLocationId = default(List), List filterSubLocationId = default(List), List filterClosedBy = default(List), string filterClosedAt = default(string), string filterSearch = default(string), int? filterDisplayId = default(int?), string filterAssignedToType = default(string), List filterCustomAttributes = default(List), bool? filterValid = default(bool?), int? limit = default(int?), int? offset = default(int?), List sortBy = default(List), List fields = default(List), string accessToken = null, bool throwOnError = true) { - var response = await this.IssuesApi.GetIssuesAsync(projectId, xAdsRegion, filterId, filterIssueTypeId, filterIssueSubtypeId, filterStatus, filterLinkedDocumentUrn, filterDueDate, filterStartDate, filterCreatedAt, filterCreatedBy, filterUpdatedAt, filterUpdatedBy, filterAssignedTo, filterRootCauseId, filterLocationId, filterSubLocationId, filterClosedBy, filterClosedAt, filterSearch, filterDisplayId, filterAssignedToType, filterCustomAttributes, filterValid, limit, offset, sortBy, fields, accessToken, throwOnError); + var response = await this.IssuesApi.GetIssuesAsync(projectId, filterId, filterIssueTypeId, filterIssueSubtypeId, filterStatus, filterLinkedDocumentUrn,xAdsRegion, filterDueDate, filterStartDate, filterCreatedAt, filterCreatedBy, filterUpdatedAt, filterUpdatedBy, filterAssignedTo, filterRootCauseId, filterLocationId, filterSubLocationId, filterClosedBy, filterClosedAt, filterSearch, filterDisplayId, filterAssignedToType, filterCustomAttributes, filterValid, limit, offset, sortBy, fields, accessToken, throwOnError); return response.Content; } @@ -166,7 +166,7 @@ public async System.Threading.Tasks.Task GetIssueDetailsAsync(string proj /// The ID of the project./// The unique identifier of the issue./// Must be application/json/// The region where the bucket residesAcceptable values: `US`, `EMEA`/// (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task PatchIssueDetailsAsync(string projectId, string issueId, XAdsRegion xAdsRegion, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task PatchIssueDetailsAsync(string projectId, string issueId, Region xAdsRegion, IssuePayload issuePayload = default(IssuePayload), string accessToken = null, bool throwOnError = true) { var response = await this.PatchIssueDetailsAsync(projectId, issueId, xAdsRegion, issuePayload, accessToken, throwOnError); return response; @@ -182,7 +182,7 @@ public async System.Threading.Tasks.Task GetIssueDetailsAsync(string proj /// /// The region where the bucket residesAcceptable values: `US`, `EMEA` /// Task of ApiResponse - public async System.Threading.Tasks.Task GetUserProfileAsync(string projectId, XAdsRegion xAdsRegion, string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetUserProfileAsync(string projectId, Region xAdsRegion, string accessToken = null, bool throwOnError = true) { var response = await this.IssuesProfileApi.GetUserProfileAsync(projectId, xAdsRegion, accessToken, throwOnError); return response.Content; @@ -198,9 +198,9 @@ public async System.Threading.Tasks.Task GetUserProfileAsync(string projec /// /// The region where the bucket residesAcceptable values: `US`, `EMEA`/// Use include=subtypes to include the types (subtypes) for each category (type). (optional)/// Add limit=20 to limit the results count (together with the offset to support pagination). (optional)/// Add offset=20 to get partial results (together with the limit to support pagination). (optional)/// Retrieves types that were last updated at the specified date and time, in in one of the following URL-encoded formats: YYYY-MM-DDThh:mm:ss.sz or YYYY-MM-DD. Separate multiple values with commas. (optional)/// Filter types by status e.g. filter[isActive]=true will only return active types. Default value: undefined (meaning both active & inactive issue type categories will return). (optional) /// Task of ApiResponse - public async System.Threading.Tasks.Task GetIssuesTypesAsync(string projectId, XAdsRegion xAdsRegion, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), bool? filterIsActive = default(bool?), string accessToken = null, bool throwOnError = true) + public async System.Threading.Tasks.Task GetIssuesTypesAsync(string projectId, Region xAdsRegion, string include = default(string), int? limit = default(int?), int? offset = default(int?), string filterUpdatedAt = default(string), bool? filterIsActive = default(bool?), string accessToken = null, bool throwOnError = true) { - var response = await this.IssueTypesApi.GetIssuesTypesAsync(projectId, xAdsRegion, include, limit, offset, filterUpdatedAt, filterIsActive, accessToken, throwOnError); + var response = await this.IssueTypesApi.GetIssuesTypesAsync(projectId, include, limit, offset, filterUpdatedAt, filterIsActive, xAdsRegion,accessToken, throwOnError); return response.Content; } } From 47321a99af475f795e43b48ca3674ed2edc4d144 Mon Sep 17 00:00:00 2001 From: srivastavarahull <139200493+srivastavarahull@users.noreply.github.com> Date: Thu, 6 Jun 2024 10:18:45 +0530 Subject: [PATCH 2/2] Removed Forge from documentation --- issues/source/Http/IssueAttributeDefinitionsApi.gen.cs | 2 +- issues/source/Http/IssueAttributeMappingsApi.gen.cs | 2 +- issues/source/Http/IssueCommentsApi.gen.cs | 2 +- issues/source/Http/IssueRootCauseCategoriesApi.gen.cs | 2 +- issues/source/Http/IssueTypesApi.gen.cs | 2 +- issues/source/Http/IssuesApi.gen.cs | 2 +- issues/source/Http/IssuesProfileApi.gen.cs | 2 +- issues/source/LocalMarshalling.cs | 2 +- issues/source/Model/AssignedToType.gen.cs | 2 +- issues/source/Model/AttrDefinition.gen.cs | 2 +- issues/source/Model/AttrDefinitionResults.gen.cs | 2 +- issues/source/Model/AttrDefinitionResultsMetadata.gen.cs | 2 +- issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs | 2 +- .../Model/AttrDefinitionResultsMetadataListOptions.gen.cs | 2 +- issues/source/Model/AttrMapping.gen.cs | 2 +- issues/source/Model/AttrMappingResults.gen.cs | 2 +- issues/source/Model/Comments.gen.cs | 2 +- issues/source/Model/CommentsPayload.gen.cs | 2 +- issues/source/Model/CommentsResults.gen.cs | 2 +- issues/source/Model/CreatedComment.gen.cs | 2 +- issues/source/Model/DataType.gen.cs | 2 +- issues/source/Model/Fields.gen.cs | 2 +- issues/source/Model/FiltercreatedBy.gen.cs | 2 +- issues/source/Model/Issue.gen.cs | 2 +- issues/source/Model/IssueCustomAttributes.gen.cs | 2 +- issues/source/Model/IssueGpsCoordinates.gen.cs | 2 +- issues/source/Model/IssueLinkedDocuments.gen.cs | 2 +- issues/source/Model/IssueLinkedDocumentsDetails.gen.cs | 2 +- issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs | 2 +- issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs | 2 +- issues/source/Model/IssuePayload.gen.cs | 2 +- issues/source/Model/IssuePayloadCustomAttributes.gen.cs | 2 +- issues/source/Model/IssuePayloadGpsCoordinates.gen.cs | 2 +- issues/source/Model/IssueRootCause.gen.cs | 2 +- issues/source/Model/IssueRootCauseResults.gen.cs | 2 +- issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs | 2 +- issues/source/Model/IssueType.gen.cs | 2 +- issues/source/Model/IssueTypePagination.gen.cs | 2 +- issues/source/Model/IssueTypeResults.gen.cs | 2 +- issues/source/Model/IssueTypeResultsSubtypes.gen.cs | 2 +- issues/source/Model/IssuesPage.gen.cs | 2 +- issues/source/Model/IssuesPagePagination.gen.cs | 2 +- issues/source/Model/PermissionLevel.gen.cs | 2 +- issues/source/Model/Region.gen.cs | 2 +- issues/source/Model/Results.gen.cs | 2 +- issues/source/Model/ResultsLinkedDocuments.gen.cs | 2 +- issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs | 2 +- issues/source/Model/SortBy.gen.cs | 2 +- issues/source/Model/Status.gen.cs | 2 +- issues/source/Model/User.gen.cs | 2 +- issues/source/Model/UserIssues.gen.cs | 2 +- issues/source/Model/UserIssuesFilter.gen.cs | 2 +- issues/source/Model/UserIssuesNew.gen.cs | 2 +- issues/source/ServiceApiException.cs | 2 +- issues/source/ServiceCollectionExtensions.gen.cs | 2 +- 55 files changed, 55 insertions(+), 55 deletions(-) diff --git a/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs b/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs index ab4dd72..beb56b3 100644 --- a/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs +++ b/issues/source/Http/IssueAttributeDefinitionsApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssueAttributeMappingsApi.gen.cs b/issues/source/Http/IssueAttributeMappingsApi.gen.cs index 02cebd2..b79d014 100644 --- a/issues/source/Http/IssueAttributeMappingsApi.gen.cs +++ b/issues/source/Http/IssueAttributeMappingsApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssueCommentsApi.gen.cs b/issues/source/Http/IssueCommentsApi.gen.cs index 3f11553..8a9744b 100644 --- a/issues/source/Http/IssueCommentsApi.gen.cs +++ b/issues/source/Http/IssueCommentsApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs b/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs index 11d9db8..5ee77b2 100644 --- a/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs +++ b/issues/source/Http/IssueRootCauseCategoriesApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssueTypesApi.gen.cs b/issues/source/Http/IssueTypesApi.gen.cs index 86575ae..3f590ea 100644 --- a/issues/source/Http/IssueTypesApi.gen.cs +++ b/issues/source/Http/IssueTypesApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssuesApi.gen.cs b/issues/source/Http/IssuesApi.gen.cs index 8c8da70..0daa531 100644 --- a/issues/source/Http/IssuesApi.gen.cs +++ b/issues/source/Http/IssuesApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Http/IssuesProfileApi.gen.cs b/issues/source/Http/IssuesProfileApi.gen.cs index bdd2e8a..95e17e4 100644 --- a/issues/source/Http/IssuesProfileApi.gen.cs +++ b/issues/source/Http/IssuesProfileApi.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/LocalMarshalling.cs b/issues/source/LocalMarshalling.cs index 8adee9a..3f4b687 100644 --- a/issues/source/LocalMarshalling.cs +++ b/issues/source/LocalMarshalling.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AssignedToType.gen.cs b/issues/source/Model/AssignedToType.gen.cs index 843e67b..617961a 100644 --- a/issues/source/Model/AssignedToType.gen.cs +++ b/issues/source/Model/AssignedToType.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrDefinition.gen.cs b/issues/source/Model/AttrDefinition.gen.cs index 8eb89cb..2e83fdf 100644 --- a/issues/source/Model/AttrDefinition.gen.cs +++ b/issues/source/Model/AttrDefinition.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrDefinitionResults.gen.cs b/issues/source/Model/AttrDefinitionResults.gen.cs index d9b3740..e892dce 100644 --- a/issues/source/Model/AttrDefinitionResults.gen.cs +++ b/issues/source/Model/AttrDefinitionResults.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs index 165dfce..61abd95 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadata.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs index 540a61e..6c08d6f 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadataList.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs b/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs index 5e1d169..efeef18 100644 --- a/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs +++ b/issues/source/Model/AttrDefinitionResultsMetadataListOptions.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrMapping.gen.cs b/issues/source/Model/AttrMapping.gen.cs index 2672aee..ec88af8 100644 --- a/issues/source/Model/AttrMapping.gen.cs +++ b/issues/source/Model/AttrMapping.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/AttrMappingResults.gen.cs b/issues/source/Model/AttrMappingResults.gen.cs index 8ae41d4..186d9b5 100644 --- a/issues/source/Model/AttrMappingResults.gen.cs +++ b/issues/source/Model/AttrMappingResults.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Comments.gen.cs b/issues/source/Model/Comments.gen.cs index 28cd994..ce78122 100644 --- a/issues/source/Model/Comments.gen.cs +++ b/issues/source/Model/Comments.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/CommentsPayload.gen.cs b/issues/source/Model/CommentsPayload.gen.cs index 8b05d1f..c140f42 100644 --- a/issues/source/Model/CommentsPayload.gen.cs +++ b/issues/source/Model/CommentsPayload.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/CommentsResults.gen.cs b/issues/source/Model/CommentsResults.gen.cs index 8a6168e..5245147 100644 --- a/issues/source/Model/CommentsResults.gen.cs +++ b/issues/source/Model/CommentsResults.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/CreatedComment.gen.cs b/issues/source/Model/CreatedComment.gen.cs index 8f5db22..04537aa 100644 --- a/issues/source/Model/CreatedComment.gen.cs +++ b/issues/source/Model/CreatedComment.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/DataType.gen.cs b/issues/source/Model/DataType.gen.cs index 7148720..0c1d3d4 100644 --- a/issues/source/Model/DataType.gen.cs +++ b/issues/source/Model/DataType.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Fields.gen.cs b/issues/source/Model/Fields.gen.cs index d303226..b0102c1 100644 --- a/issues/source/Model/Fields.gen.cs +++ b/issues/source/Model/Fields.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/FiltercreatedBy.gen.cs b/issues/source/Model/FiltercreatedBy.gen.cs index ca1882c..3340449 100644 --- a/issues/source/Model/FiltercreatedBy.gen.cs +++ b/issues/source/Model/FiltercreatedBy.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Issue.gen.cs b/issues/source/Model/Issue.gen.cs index 2d64b0e..acc8b51 100644 --- a/issues/source/Model/Issue.gen.cs +++ b/issues/source/Model/Issue.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueCustomAttributes.gen.cs b/issues/source/Model/IssueCustomAttributes.gen.cs index 91f1a90..7f217f2 100644 --- a/issues/source/Model/IssueCustomAttributes.gen.cs +++ b/issues/source/Model/IssueCustomAttributes.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueGpsCoordinates.gen.cs b/issues/source/Model/IssueGpsCoordinates.gen.cs index d82a9a3..064f7f8 100644 --- a/issues/source/Model/IssueGpsCoordinates.gen.cs +++ b/issues/source/Model/IssueGpsCoordinates.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueLinkedDocuments.gen.cs b/issues/source/Model/IssueLinkedDocuments.gen.cs index af9e1c5..a777c08 100644 --- a/issues/source/Model/IssueLinkedDocuments.gen.cs +++ b/issues/source/Model/IssueLinkedDocuments.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs index 26dd227..e081bf9 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetails.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs index 2c309cf..8018ce6 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetailsPosition.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs b/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs index 311cbd2..2a87bdd 100644 --- a/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs +++ b/issues/source/Model/IssueLinkedDocumentsDetailsViewable.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssuePayload.gen.cs b/issues/source/Model/IssuePayload.gen.cs index 3087e8d..f0e6fee 100644 --- a/issues/source/Model/IssuePayload.gen.cs +++ b/issues/source/Model/IssuePayload.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssuePayloadCustomAttributes.gen.cs b/issues/source/Model/IssuePayloadCustomAttributes.gen.cs index b4e276a..40cb726 100644 --- a/issues/source/Model/IssuePayloadCustomAttributes.gen.cs +++ b/issues/source/Model/IssuePayloadCustomAttributes.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs b/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs index de0f911..0272990 100644 --- a/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs +++ b/issues/source/Model/IssuePayloadGpsCoordinates.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueRootCause.gen.cs b/issues/source/Model/IssueRootCause.gen.cs index ec5a8ae..4b541ce 100644 --- a/issues/source/Model/IssueRootCause.gen.cs +++ b/issues/source/Model/IssueRootCause.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueRootCauseResults.gen.cs b/issues/source/Model/IssueRootCauseResults.gen.cs index b02d807..866bc96 100644 --- a/issues/source/Model/IssueRootCauseResults.gen.cs +++ b/issues/source/Model/IssueRootCauseResults.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs b/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs index cfb23dd..983911d 100644 --- a/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs +++ b/issues/source/Model/IssueRootCauseResultsRootCauses.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueType.gen.cs b/issues/source/Model/IssueType.gen.cs index 352b295..f097279 100644 --- a/issues/source/Model/IssueType.gen.cs +++ b/issues/source/Model/IssueType.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueTypePagination.gen.cs b/issues/source/Model/IssueTypePagination.gen.cs index 865e58e..7c2b7aa 100644 --- a/issues/source/Model/IssueTypePagination.gen.cs +++ b/issues/source/Model/IssueTypePagination.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueTypeResults.gen.cs b/issues/source/Model/IssueTypeResults.gen.cs index 8323e9d..8c69b04 100644 --- a/issues/source/Model/IssueTypeResults.gen.cs +++ b/issues/source/Model/IssueTypeResults.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssueTypeResultsSubtypes.gen.cs b/issues/source/Model/IssueTypeResultsSubtypes.gen.cs index bed1aff..163423e 100644 --- a/issues/source/Model/IssueTypeResultsSubtypes.gen.cs +++ b/issues/source/Model/IssueTypeResultsSubtypes.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssuesPage.gen.cs b/issues/source/Model/IssuesPage.gen.cs index efbd927..087f2be 100644 --- a/issues/source/Model/IssuesPage.gen.cs +++ b/issues/source/Model/IssuesPage.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/IssuesPagePagination.gen.cs b/issues/source/Model/IssuesPagePagination.gen.cs index 644ba8a..ef0786d 100644 --- a/issues/source/Model/IssuesPagePagination.gen.cs +++ b/issues/source/Model/IssuesPagePagination.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/PermissionLevel.gen.cs b/issues/source/Model/PermissionLevel.gen.cs index 5d46ffa..0175679 100644 --- a/issues/source/Model/PermissionLevel.gen.cs +++ b/issues/source/Model/PermissionLevel.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Region.gen.cs b/issues/source/Model/Region.gen.cs index d6fe063..eec1806 100644 --- a/issues/source/Model/Region.gen.cs +++ b/issues/source/Model/Region.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Results.gen.cs b/issues/source/Model/Results.gen.cs index 91bcadb..f358111 100644 --- a/issues/source/Model/Results.gen.cs +++ b/issues/source/Model/Results.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/ResultsLinkedDocuments.gen.cs b/issues/source/Model/ResultsLinkedDocuments.gen.cs index 7cd1c8c..2a5a04d 100644 --- a/issues/source/Model/ResultsLinkedDocuments.gen.cs +++ b/issues/source/Model/ResultsLinkedDocuments.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs b/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs index d8fc477..1fe6827 100644 --- a/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs +++ b/issues/source/Model/ResultsLinkedDocumentsDetails.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/SortBy.gen.cs b/issues/source/Model/SortBy.gen.cs index 9472847..fcb40b8 100644 --- a/issues/source/Model/SortBy.gen.cs +++ b/issues/source/Model/SortBy.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/Status.gen.cs b/issues/source/Model/Status.gen.cs index 4515d12..9ed5e7d 100644 --- a/issues/source/Model/Status.gen.cs +++ b/issues/source/Model/Status.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/User.gen.cs b/issues/source/Model/User.gen.cs index e006815..a0e4b3b 100644 --- a/issues/source/Model/User.gen.cs +++ b/issues/source/Model/User.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/UserIssues.gen.cs b/issues/source/Model/UserIssues.gen.cs index c2dcc5b..d1f60b5 100644 --- a/issues/source/Model/UserIssues.gen.cs +++ b/issues/source/Model/UserIssues.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/UserIssuesFilter.gen.cs b/issues/source/Model/UserIssuesFilter.gen.cs index efbdee4..9dc68c7 100644 --- a/issues/source/Model/UserIssuesFilter.gen.cs +++ b/issues/source/Model/UserIssuesFilter.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/Model/UserIssuesNew.gen.cs b/issues/source/Model/UserIssuesNew.gen.cs index f7ebae6..12e986a 100644 --- a/issues/source/Model/UserIssuesNew.gen.cs +++ b/issues/source/Model/UserIssuesNew.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/ServiceApiException.cs b/issues/source/ServiceApiException.cs index 5e88087..b38beec 100644 --- a/issues/source/ServiceApiException.cs +++ b/issues/source/ServiceApiException.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues * diff --git a/issues/source/ServiceCollectionExtensions.gen.cs b/issues/source/ServiceCollectionExtensions.gen.cs index 1e8e99c..29650e6 100644 --- a/issues/source/ServiceCollectionExtensions.gen.cs +++ b/issues/source/ServiceCollectionExtensions.gen.cs @@ -1,7 +1,7 @@ /* * APS SDK * - * 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. + * 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. * * Construction.Issues *