Package org.azd.graph.descriptors
Class DescriptorsRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.graph.descriptors.DescriptorsRequestBuilder
Provides functionality to work with Azure DevOps Graph Api.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.azd.abstractions.BaseRequestBuilder
BaseRequestBuilder.ProjectExcludeParameter
-
Field Summary
Fields inherited from class org.azd.abstractions.BaseRequestBuilder
accessTokenCredential, apiVersion, area, locationId, organizationUrl, serializer
-
Constructor Summary
ConstructorDescriptionDescriptorsRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionResolve a storage key to a descriptorResolve a storage key to a descriptorMethods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
DescriptorsRequestBuilder
public DescriptorsRequestBuilder(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values.- Parameters:
organizationUrl
- Represents organization location request url.accessTokenCredential
- Access token credential object.
-
-
Method Details
-
getAsync
Resolve a storage key to a descriptor- Parameters:
storageKey
- Storage key of the subject (user, group, scope, etc.) to resolve- Returns:
- GraphDescriptor Object
GraphDescriptor
- Throws:
AzDException
- Default Api Exception handler.
-
get
Resolve a storage key to a descriptor- Parameters:
storageKey
- Storage key of the subject (user, group, scope, etc.) to resolve- Returns:
- GraphDescriptor Object
GraphDescriptor
- Throws:
AzDException
- Default Api Exception handler.
-