Skip to content

Commit

Permalink
feat(generation): update request builders and models
Browse files Browse the repository at this point in the history
Update generated files with build 149875
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed May 21, 2024
1 parent f8e867a commit 49e9583
Show file tree
Hide file tree
Showing 87 changed files with 655 additions and 535 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @return a {@link ConversationMember}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ConversationMember get() {
return get(null);
}
/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ConversationMember}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ConversationMember get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -186,7 +186,7 @@ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Retrieve a conversationMember from a chat.
* Retrieve a conversationMember from a chat or channel.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ public AttendeeReportRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/communications/onlineMeetings/{onlineMeeting%2Did}/attendeeReport", rawUrl);
}
/**
* Delete attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @throws ODataError When receiving a 4XX or 5XX status code
*/
public void delete() {
delete(null);
}
/**
* Delete attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -54,7 +54,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get attendeeReport for the navigation property onlineMeetings from communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -63,7 +63,7 @@ public InputStream get() {
return get(null);
}
/**
* Get attendeeReport for the navigation property onlineMeetings from communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -76,7 +76,7 @@ public InputStream get(@jakarta.annotation.Nullable final java.util.function.Con
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
}
/**
* Update attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param body Binary request body
* @return a {@link InputStream}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -86,7 +86,7 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body) {
return put(body, null);
}
/**
* Update attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param body Binary request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InputStream}
Expand All @@ -101,15 +101,15 @@ public InputStream put(@jakarta.annotation.Nonnull final InputStream body, @jaka
return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, InputStream.class);
}
/**
* Delete attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -121,15 +121,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get attendeeReport for the navigation property onlineMeetings from communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get attendeeReport for the navigation property onlineMeetings from communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -141,7 +141,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Update attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param body Binary request body
* @return a {@link RequestInformation}
*/
Expand All @@ -150,7 +150,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi
return toPutRequestInformation(body, null);
}
/**
* Update attendeeReport for the navigation property onlineMeetings in communications
* The content stream of the attendee report of a Microsoft Teams live event. Read-only.
* @param body Binary request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
* Read properties and relationships of the deviceAppManagement object.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get() {
Expand All @@ -186,7 +186,7 @@ public DeviceAppManagement get() {
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -200,7 +200,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func
* @param body The request body
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) {
Expand All @@ -212,7 +212,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceAppManagement}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,21 +60,21 @@ public ManagedAppPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* List properties and relationships of the managedAppConfiguration objects.
* List properties and relationships of the managedAppProtection objects.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get() {
return get(null);
}
/**
* List properties and relationships of the managedAppConfiguration objects.
* List properties and relationships of the managedAppProtection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicyCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-list?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ManagedAppPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -109,15 +109,15 @@ public ManagedAppPolicy post(@jakarta.annotation.Nonnull final ManagedAppPolicy
return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicy::createFromDiscriminatorValue);
}
/**
* List properties and relationships of the managedAppConfiguration objects.
* List properties and relationships of the managedAppProtection objects.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* List properties and relationships of the managedAppConfiguration objects.
* List properties and relationships of the managedAppProtection objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -163,7 +163,7 @@ public ManagedAppPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
return new ManagedAppPoliciesRequestBuilder(rawUrl, requestAdapter);
}
/**
* List properties and relationships of the managedAppConfiguration objects.
* List properties and relationships of the managedAppProtection objects.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,21 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Read properties and relationships of the managedAppPolicy object.
* Read properties and relationships of the managedAppConfiguration object.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get() {
return get(null);
}
/**
* Read properties and relationships of the managedAppPolicy object.
* Read properties and relationships of the managedAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ManagedAppPolicy}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-get?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ManagedAppPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -133,15 +133,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Read properties and relationships of the managedAppPolicy object.
* Read properties and relationships of the managedAppConfiguration object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Read properties and relationships of the managedAppPolicy object.
* Read properties and relationships of the managedAppConfiguration object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -193,7 +193,7 @@ public ManagedAppPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Read properties and relationships of the managedAppPolicy object.
* Read properties and relationships of the managedAppConfiguration object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public TargetAppsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
* Not yet documented
* @param body The request body
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0">Find more info here</a>
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body) {
post(body, null);
Expand All @@ -48,7 +48,7 @@ public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody bod
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappprotection-targetapps?view=graph-rest-1.0">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-targetapps?view=graph-rest-1.0">Find more info here</a>
*/
public void post(@jakarta.annotation.Nonnull final TargetAppsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Objects.requireNonNull(body);
Expand Down
Loading

0 comments on commit 49e9583

Please sign in to comment.