Class IssueAttributeDefinitionsRequestBuilder
- Assembly
- Autodesk.ACC.Issues.dll
Builds and executes requests for operations under \projects{projectId}\issue-attribute-definitions
public class IssueAttributeDefinitionsRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderIssueAttributeDefinitionsRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
IssueAttributeDefinitionsRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new IssueAttributeDefinitionsRequestBuilder and sets the default values.
public IssueAttributeDefinitionsRequestBuilder(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.
IssueAttributeDefinitionsRequestBuilder(string, IRequestAdapter)
Instantiates a new IssueAttributeDefinitionsRequestBuilder and sets the default values.
public IssueAttributeDefinitionsRequestBuilder(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
GetAsIssueAttributeDefinitionsGetResponseAsync(Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>?, CancellationToken)
Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type.For example, the possible values for a dropdown list, the IDs, the names and whether the attribute is visible.Note that custom attributes are known as custom fields in the ACC UI.For information about creating issue custom attributes for a project, see the help documentation <https://help.autodesk.com/view/BUILD/ENU/?guid=Issues_Custom_Fields>
_... include:: ../../../../_snippets/not-backward-compatible.rst
public Task<IssueAttributeDefinitionsGetResponse?> GetAsIssueAttributeDefinitionsGetResponseAsync(Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>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<IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>?, CancellationToken)
Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type.For example, the possible values for a dropdown list, the IDs, the names and whether the attribute is visible.Note that custom attributes are known as custom fields in the ACC UI.For information about creating issue custom attributes for a project, see the help documentation <https://help.autodesk.com/view/BUILD/ENU/?guid=Issues_Custom_Fields>
_... include:: ../../../../_snippets/not-backward-compatible.rst
[Obsolete("This method is obsolete. Use GetAsIssueAttributeDefinitionsGetResponseAsync instead.")]
public Task<IssueAttributeDefinitionsResponse?> GetAsync(Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>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<IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>?)
Retrieves information about issue custom attributes (custom fields) for a project, including the custom attribute title, description and type.For example, the possible values for a dropdown list, the IDs, the names and whether the attribute is visible.Note that custom attributes are known as custom fields in the ACC UI.For information about creating issue custom attributes for a project, see the help documentation <https://help.autodesk.com/view/BUILD/ENU/?guid=Issues_Custom_Fields>
_... include:: ../../../../_snippets/not-backward-compatible.rst
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<IssueAttributeDefinitionsRequestBuilder.IssueAttributeDefinitionsRequestBuilderGetQueryParameters>>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 IssueAttributeDefinitionsRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.