Package org.azd.graph.subjectquery
Class SubjectQueryRequestBuilder
java.lang.Object
org.azd.abstractions.BaseRequestBuilder
org.azd.graph.subjectquery.SubjectQueryRequestBuilder
Provides functionality to work with Graph Subject Query 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
ConstructorDescriptionSubjectQueryRequestBuilder
(String organizationUrl, AccessTokenCredential accessTokenCredential) Instantiates a new RequestBuilder instance and sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionquery
(GraphSubjectQuery query) Search for Azure Devops users, or/and groups.queryAsync
(GraphSubjectQuery query) Search for Azure Devops users, or/and groups.Methods inherited from class org.azd.abstractions.BaseRequestBuilder
builder
-
Constructor Details
-
SubjectQueryRequestBuilder
public SubjectQueryRequestBuilder(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
-
queryAsync
Search for Azure Devops users, or/and groups. Results will be returned in a batch with no more than 100 graph subjects.- Parameters:
query
- Graph subject query object to query for.- Returns:
- Collection of graph entity Object
GraphEntities
- Throws:
AzDException
- Default Api Exception handler.
-
query
Search for Azure Devops users, or/and groups. Results will be returned in a batch with no more than 100 graph subjects.- Parameters:
query
- Graph subject query object to query for.- Returns:
- Collection of graph entity Object
GraphEntities
- Throws:
AzDException
- Default Api Exception handler.
-