Table of Contents

Class IssueTypesRequestBuilder

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

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

public class IssueTypesRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
IssueTypesRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

IssueTypesRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new IssueTypesRequestBuilder and sets the default values.

public IssueTypesRequestBuilder(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.

IssueTypesRequestBuilder(string, IRequestAdapter)

Instantiates a new IssueTypesRequestBuilder and sets the default values.

public IssueTypesRequestBuilder(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

GetAsIssueTypesGetResponseAsync(Action<RequestConfiguration<IssueTypesRequestBuilderGetQueryParameters>>?, CancellationToken)

Retrieves a project's categories and types. Note the following differences in terminology between the product and the API:.. list-table:: Terminology :widths: 15 15 :header-rows: 1 * - Product Name - API Name * - Category - Type * - Type - SubtypeNote that by default this endpoint does not return types (subtypes). To return types (subtypes), you need to add the include=subtypes query string parameter.Note that this endpoint does not return deleted items.This operation is available to everyone... include:: ../../../../_snippets/not-backward-compatible.rst

public Task<IssueTypesGetResponse?> GetAsIssueTypesGetResponseAsync(Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueTypesGetResponse>

A IssueTypesGetResponse

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<IssueTypesRequestBuilderGetQueryParameters>>?, CancellationToken)

Retrieves a project's categories and types. Note the following differences in terminology between the product and the API:.. list-table:: Terminology :widths: 15 15 :header-rows: 1 * - Product Name - API Name * - Category - Type * - Type - SubtypeNote that by default this endpoint does not return types (subtypes). To return types (subtypes), you need to add the include=subtypes query string parameter.Note that this endpoint does not return deleted items.This operation is available to everyone... include:: ../../../../_snippets/not-backward-compatible.rst

[Obsolete("This method is obsolete. Use GetAsIssueTypesGetResponseAsync instead.")]
public Task<IssueTypesResponse?> GetAsync(Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IssueTypesResponse>

A IssueTypesResponse

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<IssueTypesRequestBuilderGetQueryParameters>>?)

Retrieves a project's categories and types. Note the following differences in terminology between the product and the API:.. list-table:: Terminology :widths: 15 15 :header-rows: 1 * - Product Name - API Name * - Category - Type * - Type - SubtypeNote that by default this endpoint does not return types (subtypes). To return types (subtypes), you need to add the include=subtypes query string parameter.Note that this endpoint does not return deleted items.This operation is available to everyone... include:: ../../../../_snippets/not-backward-compatible.rst

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<IssueTypesRequestBuilder.IssueTypesRequestBuilderGetQueryParameters>>

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 IssueTypesRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

IssueTypesRequestBuilder

A IssueTypesRequestBuilder