Skip to content

Commit 2e346df

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
Microsoft Graph DevX Tooling
authored and
Microsoft Graph DevX Tooling
committed
feat(generation): update request builders and models
Update generated files with build 169540
1 parent 66c6395 commit 2e346df

File tree

103 files changed

+2746
-494
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+2746
-494
lines changed

src/main/java/com/microsoft/graph/generated/BaseGraphServiceClient.java

+11
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
import com.microsoft.graph.teamwork.TeamworkRequestBuilder;
7575
import com.microsoft.graph.tenantrelationships.TenantRelationshipsRequestBuilder;
7676
import com.microsoft.graph.users.UsersRequestBuilder;
77+
import com.microsoft.graph.userswithuserprincipalname.UsersWithUserPrincipalNameRequestBuilder;
7778
import com.microsoft.kiota.ApiClientBuilder;
7879
import com.microsoft.kiota.BaseRequestBuilder;
7980
import com.microsoft.kiota.RequestAdapter;
@@ -720,4 +721,14 @@ public ServicePrincipalsWithAppIdRequestBuilder servicePrincipalsWithAppId(@jaka
720721
Objects.requireNonNull(appId);
721722
return new ServicePrincipalsWithAppIdRequestBuilder(pathParameters, requestAdapter, appId);
722723
}
724+
/**
725+
* Provides operations to manage the collection of user entities.
726+
* @param userPrincipalName Alternate key of user
727+
* @return a {@link UsersWithUserPrincipalNameRequestBuilder}
728+
*/
729+
@jakarta.annotation.Nonnull
730+
public UsersWithUserPrincipalNameRequestBuilder usersWithUserPrincipalName(@jakarta.annotation.Nonnull final String userPrincipalName) {
731+
Objects.requireNonNull(userPrincipalName);
732+
return new UsersWithUserPrincipalNameRequestBuilder(pathParameters, requestAdapter, userPrincipalName);
733+
}
723734
}

src/main/java/com/microsoft/graph/generated/applications/delta/DeltaRequestBuilder.java

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3636
super(requestAdapter, "{+baseurl}/applications/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
3737
}
3838
/**
39-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
39+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
4040
* @return a {@link DeltaGetResponse}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
4242
* @see <a href="https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0">Find more info here</a>
@@ -46,7 +46,7 @@ public DeltaGetResponse get() {
4646
return get(null);
4747
}
4848
/**
49-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
49+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
5050
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5151
* @return a {@link DeltaGetResponse}
5252
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -60,15 +60,15 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
6060
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
6161
}
6262
/**
63-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
63+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
6464
* @return a {@link RequestInformation}
6565
*/
6666
@jakarta.annotation.Nonnull
6767
public RequestInformation toGetRequestInformation() {
6868
return toGetRequestInformation(null);
6969
}
7070
/**
71-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
71+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}
7474
*/
@@ -90,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
9090
return new DeltaRequestBuilder(rawUrl, requestAdapter);
9191
}
9292
/**
93-
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
93+
* Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
9494
*/
9595
@jakarta.annotation.Generated("com.microsoft.kiota")
9696
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiatePostRequestBody.java

+18-1
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,27 @@ public String getDisplayName() {
6969
*/
7070
@jakarta.annotation.Nonnull
7171
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
72-
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(1);
72+
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(2);
7373
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
74+
deserializerMap.put("serviceManagementReference", (n) -> { this.setServiceManagementReference(n.getStringValue()); });
7475
return deserializerMap;
7576
}
77+
/**
78+
* Gets the serviceManagementReference property value. The serviceManagementReference property
79+
* @return a {@link String}
80+
*/
81+
@jakarta.annotation.Nullable
82+
public String getServiceManagementReference() {
83+
return this.backingStore.get("serviceManagementReference");
84+
}
7685
/**
7786
* Serializes information the current object
7887
* @param writer Serialization writer to use to serialize this model
7988
*/
8089
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
8190
Objects.requireNonNull(writer);
8291
writer.writeStringValue("displayName", this.getDisplayName());
92+
writer.writeStringValue("serviceManagementReference", this.getServiceManagementReference());
8393
writer.writeAdditionalData(this.getAdditionalData());
8494
}
8595
/**
@@ -104,4 +114,11 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
104114
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
105115
this.backingStore.set("displayName", value);
106116
}
117+
/**
118+
* Sets the serviceManagementReference property value. The serviceManagementReference property
119+
* @param value Value to set for the serviceManagementReference property.
120+
*/
121+
public void setServiceManagementReference(@jakarta.annotation.Nullable final String value) {
122+
this.backingStore.set("serviceManagementReference", value);
123+
}
107124
}

src/main/java/com/microsoft/graph/generated/applicationtemplates/item/instantiate/InstantiateRequestBuilder.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public InstantiateRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
3636
super(requestAdapter, "{+baseurl}/applicationTemplates/{applicationTemplate%2Did}/instantiate", rawUrl);
3737
}
3838
/**
39-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
39+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
4040
* @param body The request body
4141
* @return a {@link ApplicationServicePrincipal}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public ApplicationServicePrincipal post(@jakarta.annotation.Nonnull final Instan
4747
return post(body, null);
4848
}
4949
/**
50-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
50+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
5151
* @param body The request body
5252
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return a {@link ApplicationServicePrincipal}
@@ -63,7 +63,7 @@ public ApplicationServicePrincipal post(@jakarta.annotation.Nonnull final Instan
6363
return this.requestAdapter.send(requestInfo, errorMapping, ApplicationServicePrincipal::createFromDiscriminatorValue);
6464
}
6565
/**
66-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
66+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
6767
* @param body The request body
6868
* @return a {@link RequestInformation}
6969
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7272
return toPostRequestInformation(body, null);
7373
}
7474
/**
75-
* Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
75+
* Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/communications/calls/CallsRequestBuilder.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public CallCollectionResponse get(@jakarta.annotation.Nullable final java.util.f
9191
return this.requestAdapter.send(requestInfo, errorMapping, CallCollectionResponse::createFromDiscriminatorValue);
9292
}
9393
/**
94-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
94+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
9595
* @param body The request body
9696
* @return a {@link Call}
9797
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -102,7 +102,7 @@ public Call post(@jakarta.annotation.Nonnull final Call body) {
102102
return post(body, null);
103103
}
104104
/**
105-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
105+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
106106
* @param body The request body
107107
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108108
* @return a {@link Call}
@@ -138,7 +138,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
138138
return requestInfo;
139139
}
140140
/**
141-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
141+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
142142
* @param body The request body
143143
* @return a {@link RequestInformation}
144144
*/
@@ -147,7 +147,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
147147
return toPostRequestInformation(body, null);
148148
}
149149
/**
150-
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
150+
* Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
151151
* @param body The request body
152152
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
153153
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/communications/calls/item/answer/AnswerRequestBuilder.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public AnswerRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
3535
super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/answer", rawUrl);
3636
}
3737
/**
38-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
38+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
3939
* @param body The request body
4040
* @throws ODataError When receiving a 4XX or 5XX status code
4141
* @see <a href="https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-1.0">Find more info here</a>
@@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final AnswerPostRequestBody body) {
4444
post(body, null);
4545
}
4646
/**
47-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
47+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
4848
* @param body The request body
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final AnswerPostRequestBody body, @
5858
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5959
}
6060
/**
61-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
61+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
6262
* @param body The request body
6363
* @return a {@link RequestInformation}
6464
*/
@@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
6767
return toPostRequestInformation(body, null);
6868
}
6969
/**
70-
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
70+
* Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
7171
* @param body The request body
7272
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7373
* @return a {@link RequestInformation}

0 commit comments

Comments
 (0)