Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public MailboxesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @return a {@link MailboxCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -69,7 +69,7 @@ public MailboxCollectionResponse get() {
return get(null);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -107,15 +107,15 @@ public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.ann
return this.requestAdapter.send(requestInfo, errorMapping, Mailbox::createFromDiscriminatorValue);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -161,7 +161,7 @@ public MailboxesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
return new MailboxesRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
*/
@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 @@ -82,7 +82,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @return a {@link Mailbox}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -91,7 +91,7 @@ public Mailbox get() {
return get(null);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link Mailbox}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -149,15 +149,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -209,7 +209,7 @@ public MailboxItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get mailboxes from admin
* Represents a user's mailboxes.
*/
@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,19 +36,21 @@ public CreateImportSessionRequestBuilder(@jakarta.annotation.Nonnull final Strin
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/createImportSession", rawUrl);
}
/**
* Invoke action createImportSession
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @return a {@link MailboxItemImportSession}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxItemImportSession post() {
return post(null);
}
/**
* Invoke action createImportSession
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxItemImportSession}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -58,15 +60,15 @@ public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.uti
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItemImportSession::createFromDiscriminatorValue);
}
/**
* Invoke action createImportSession
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toPostRequestInformation() {
return toPostRequestInformation(null);
}
/**
* Invoke action createImportSession
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
* @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 @@ -35,21 +35,23 @@ public ExportItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", rawUrl);
}
/**
* Invoke action exportItems
* Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn&apos;t intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link ExportItemsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body) {
return post(body, null);
}
/**
* Invoke action exportItems
* Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn&apos;t intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ExportItemsPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -60,7 +62,7 @@ public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItem
return this.requestAdapter.send(requestInfo, errorMapping, ExportItemsPostResponse::createFromDiscriminatorValue);
}
/**
* Invoke action exportItems
* Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn&apos;t intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -69,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invoke action exportItems
* Export Exchange mailboxItem objects in full fidelity. This API exports each item as an opaque stream. The data stream isn&apos;t intended for parsing, but can be used to import an item back into an Exchange mailbox. For more information, see Overview of the mailbox import and export APIs in Microsoft Graph. You can export up to 20 items in a single export request.
* @param body The 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 @@ -68,19 +68,21 @@ public FoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Get folders from admin
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get() {
return get(null);
}
/**
* Get folders from admin
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolderCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -90,15 +92,15 @@ public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final ja
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolderCollectionResponse::createFromDiscriminatorValue);
}
/**
* Get folders from admin
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get folders from admin
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -120,7 +122,7 @@ public FoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
return new FoldersRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get folders from admin
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
*/
@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,19 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Invoke function delta
* Get a set of mailboxFolder objects that were added, deleted, or removed from the user&apos;s mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user&apos;s mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get() {
return get(null);
}
/**
* Invoke function delta
* Get a set of mailboxFolder objects that were added, deleted, or removed from the user&apos;s mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user&apos;s mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeltaGetResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -58,15 +60,15 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
}
/**
* Invoke function delta
* Get a set of mailboxFolder objects that were added, deleted, or removed from the user&apos;s mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user&apos;s mail folders without having to fetch all the folders of that mailbox from the server every time.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Invoke function delta
* Get a set of mailboxFolder objects that were added, deleted, or removed from the user&apos;s mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user&apos;s mail folders without having to fetch all the folders of that mailbox from the server every time.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -88,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
return new DeltaRequestBuilder(rawUrl, requestAdapter);
}
/**
* Invoke function delta
* Get a set of mailboxFolder objects that were added, deleted, or removed from the user&apos;s mailbox. A delta function call for folders in a mailbox is similar to a GET request, except that by appropriately applying state tokens in one or more of these calls, you can query for incremental changes in the folders. This approach allows you to maintain and synchronize a local store of a user&apos;s mail folders without having to fetch all the folders of that mailbox from the server every time.
*/
@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 @@ -55,19 +55,21 @@ public MailboxFolderItemRequestBuilder(@jakarta.annotation.Nonnull final String
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Get folders from admin
* Read the properties and relationships of a mailboxFolder object.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxFolder get() {
return get(null);
}
/**
* Get folders from admin
* Read the properties and relationships of a mailboxFolder object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link MailboxFolder}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0">Find more info here</a>
*/
@jakarta.annotation.Nullable
public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -77,15 +79,15 @@ public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.C
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
}
/**
* Get folders from admin
* Read the properties and relationships of a mailboxFolder object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get folders from admin
* Read the properties and relationships of a mailboxFolder object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -107,7 +109,7 @@ public MailboxFolderItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
return new MailboxFolderItemRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get folders from admin
* Read the properties and relationships of a mailboxFolder object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading
Loading