Class IssueAttributeMappingsRequestBuilder
Builds and executes requests for operations under \projects{projectId}\issue-attribute-mappings
public class IssueAttributeMappingsRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderIssueAttributeMappingsRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
IssueAttributeMappingsRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new IssueAttributeMappingsRequestBuilder and sets the default values.
public IssueAttributeMappingsRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParameters
Dictionary<string, object>Path parameters for the request
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
IssueAttributeMappingsRequestBuilder(string, IRequestAdapter)
Instantiates a new IssueAttributeMappingsRequestBuilder and sets the default values.
public IssueAttributeMappingsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
Parameters
rawUrl
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Methods
GetAsIssueAttributeMappingsGetResponseAsync(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilderGetQueryParameters>>?, CancellationToken)
Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types.We do not currently support adding custom fields to issues. For information about adding custom fields to issues categories and types, see the help documentation <https://help.autodesk.com/view/DOCS/ENU/?guid=Issues_Types_Categories>
_.Note that by default, this endpoint only retrieves custom attributes that were directly assigned to the issue category or issue type. It does not retrieve inherited custom attributes... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<IssueAttributeMappingsGetResponse?> GetAsIssueAttributeMappingsGetResponseAsync(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 404 status code
- ErrorResponseDefinition
When receiving a 500 status code
GetAsync(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilderGetQueryParameters>>?, CancellationToken)
Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types.We do not currently support adding custom fields to issues. For information about adding custom fields to issues categories and types, see the help documentation <https://help.autodesk.com/view/DOCS/ENU/?guid=Issues_Types_Categories>
_.Note that by default, this endpoint only retrieves custom attributes that were directly assigned to the issue category or issue type. It does not retrieve inherited custom attributes... include:: ../../../../_snippets/not-backward-compatible.rst
[Obsolete("This method is obsolete. Use GetAsIssueAttributeMappingsGetResponseAsync instead.")]
public Task<IssueAttributeMappingsResponse?> GetAsync(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- ErrorResponseDefinition
When receiving a 400 status code
- ErrorResponseDefinition
When receiving a 404 status code
- ErrorResponseDefinition
When receiving a 500 status code
ToGetRequestInformation(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilderGetQueryParameters>>?)
Retrieves information about the issue custom attributes (custom fields) that are assigned to issue categories and issue types.We do not currently support adding custom fields to issues. For information about adding custom fields to issues categories and types, see the help documentation <https://help.autodesk.com/view/DOCS/ENU/?guid=Issues_Types_Categories>
_.Note that by default, this endpoint only retrieves custom attributes that were directly assigned to the issue category or issue type. It does not retrieve inherited custom attributes... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeMappingsRequestBuilder.IssueAttributeMappingsRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
WithUrl(string)
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
public IssueAttributeMappingsRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.