Table of Contents

Class IssueAttributeMappingsRequestBuilder

Namespace
Autodesk.ACC.Issues.Projects.Item.IssueAttributeMappings
Assembly
Autodesk.ACC.Issues.dll

Builds and executes requests for operations under \projects{projectId}\issue-attribute-mappings

public class IssueAttributeMappingsRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
IssueAttributeMappingsRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.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 IRequestAdapter

The 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 string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The 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 CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueAttributeMappingsGetResponse>

A IssueAttributeMappingsGetResponse

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 CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueAttributeMappingsResponse>

A IssueAttributeMappingsResponse

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 string

The raw URL to use for the request builder.

Returns

IssueAttributeMappingsRequestBuilder

A IssueAttributeMappingsRequestBuilder