Skip to content

Commit ee74a05

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 219281
1 parent 76d0731 commit ee74a05

112 files changed

Lines changed: 1750 additions & 515 deletions

File tree

Some content is hidden

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

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/MailboxesRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public MailboxesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
6060
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* Get mailboxes from admin
63+
* Represents a user's mailboxes.
6464
* @return a {@link MailboxCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
6666
*/
@@ -69,7 +69,7 @@ public MailboxCollectionResponse get() {
6969
return get(null);
7070
}
7171
/**
72-
* Get mailboxes from admin
72+
* Represents a user's mailboxes.
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @return a {@link MailboxCollectionResponse}
7575
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,15 +107,15 @@ public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.ann
107107
return this.requestAdapter.send(requestInfo, errorMapping, Mailbox::createFromDiscriminatorValue);
108108
}
109109
/**
110-
* Get mailboxes from admin
110+
* Represents a user's mailboxes.
111111
* @return a {@link RequestInformation}
112112
*/
113113
@jakarta.annotation.Nonnull
114114
public RequestInformation toGetRequestInformation() {
115115
return toGetRequestInformation(null);
116116
}
117117
/**
118-
* Get mailboxes from admin
118+
* Represents a user's mailboxes.
119119
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
120120
* @return a {@link RequestInformation}
121121
*/
@@ -161,7 +161,7 @@ public MailboxesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
161161
return new MailboxesRequestBuilder(rawUrl, requestAdapter);
162162
}
163163
/**
164-
* Get mailboxes from admin
164+
* Represents a user's mailboxes.
165165
*/
166166
@jakarta.annotation.Generated("com.microsoft.kiota")
167167
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/MailboxItemRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
8282
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
8383
}
8484
/**
85-
* Get mailboxes from admin
85+
* Represents a user's mailboxes.
8686
* @return a {@link Mailbox}
8787
* @throws ODataError When receiving a 4XX or 5XX status code
8888
*/
@@ -91,7 +91,7 @@ public Mailbox get() {
9191
return get(null);
9292
}
9393
/**
94-
* Get mailboxes from admin
94+
* Represents a user's mailboxes.
9595
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9696
* @return a {@link Mailbox}
9797
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -149,15 +149,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
149149
return requestInfo;
150150
}
151151
/**
152-
* Get mailboxes from admin
152+
* Represents a user's mailboxes.
153153
* @return a {@link RequestInformation}
154154
*/
155155
@jakarta.annotation.Nonnull
156156
public RequestInformation toGetRequestInformation() {
157157
return toGetRequestInformation(null);
158158
}
159159
/**
160-
* Get mailboxes from admin
160+
* Represents a user's mailboxes.
161161
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
162162
* @return a {@link RequestInformation}
163163
*/
@@ -209,7 +209,7 @@ public MailboxItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final Strin
209209
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
210210
}
211211
/**
212-
* Get mailboxes from admin
212+
* Represents a user's mailboxes.
213213
*/
214214
@jakarta.annotation.Generated("com.microsoft.kiota")
215215
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/createimportsession/CreateImportSessionRequestBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@ public CreateImportSessionRequestBuilder(@jakarta.annotation.Nonnull final Strin
3636
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/createImportSession", rawUrl);
3737
}
3838
/**
39-
* Invoke action createImportSession
39+
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
4040
* @return a {@link MailboxItemImportSession}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0">Find more info here</a>
4243
*/
4344
@jakarta.annotation.Nullable
4445
public MailboxItemImportSession post() {
4546
return post(null);
4647
}
4748
/**
48-
* Invoke action createImportSession
49+
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
4950
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5051
* @return a {@link MailboxItemImportSession}
5152
* @throws ODataError When receiving a 4XX or 5XX status code
53+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-createimportsession?view=graph-rest-1.0">Find more info here</a>
5254
*/
5355
@jakarta.annotation.Nullable
5456
public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -58,15 +60,15 @@ public MailboxItemImportSession post(@jakarta.annotation.Nullable final java.uti
5860
return this.requestAdapter.send(requestInfo, errorMapping, MailboxItemImportSession::createFromDiscriminatorValue);
5961
}
6062
/**
61-
* Invoke action createImportSession
63+
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
6264
* @return a {@link RequestInformation}
6365
*/
6466
@jakarta.annotation.Nonnull
6567
public RequestInformation toPostRequestInformation() {
6668
return toPostRequestInformation(null);
6769
}
6870
/**
69-
* Invoke action createImportSession
71+
* Create a session to import an Exchange mailbox item that was exported using the exportItems API.
7072
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7173
* @return a {@link RequestInformation}
7274
*/

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/exportitems/ExportItemsRequestBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,23 @@ public ExportItemsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl
3535
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/exportItems", rawUrl);
3636
}
3737
/**
38-
* Invoke action exportItems
38+
* 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.
3939
* @param body The request body
4040
* @return a {@link ExportItemsPostResponse}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0">Find more info here</a>
4243
*/
4344
@jakarta.annotation.Nullable
4445
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body) {
4546
return post(body, null);
4647
}
4748
/**
48-
* Invoke action exportItems
49+
* 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.
4950
* @param body The request body
5051
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5152
* @return a {@link ExportItemsPostResponse}
5253
* @throws ODataError When receiving a 4XX or 5XX status code
54+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-exportitems?view=graph-rest-1.0">Find more info here</a>
5355
*/
5456
@jakarta.annotation.Nullable
5557
public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItemsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -60,7 +62,7 @@ public ExportItemsPostResponse post(@jakarta.annotation.Nonnull final ExportItem
6062
return this.requestAdapter.send(requestInfo, errorMapping, ExportItemsPostResponse::createFromDiscriminatorValue);
6163
}
6264
/**
63-
* Invoke action exportItems
65+
* 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.
6466
* @param body The request body
6567
* @return a {@link RequestInformation}
6668
*/
@@ -69,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
6971
return toPostRequestInformation(body, null);
7072
}
7173
/**
72-
* Invoke action exportItems
74+
* 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.
7375
* @param body The request body
7476
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7577
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/FoldersRequestBuilder.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,21 @@ public FoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
6868
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6969
}
7070
/**
71-
* Get folders from admin
71+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
7272
* @return a {@link MailboxFolderCollectionResponse}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0">Find more info here</a>
7475
*/
7576
@jakarta.annotation.Nullable
7677
public MailboxFolderCollectionResponse get() {
7778
return get(null);
7879
}
7980
/**
80-
* Get folders from admin
81+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
8182
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8283
* @return a {@link MailboxFolderCollectionResponse}
8384
* @throws ODataError When receiving a 4XX or 5XX status code
85+
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-1.0">Find more info here</a>
8486
*/
8587
@jakarta.annotation.Nullable
8688
public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -90,15 +92,15 @@ public MailboxFolderCollectionResponse get(@jakarta.annotation.Nullable final ja
9092
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolderCollectionResponse::createFromDiscriminatorValue);
9193
}
9294
/**
93-
* Get folders from admin
95+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
9496
* @return a {@link RequestInformation}
9597
*/
9698
@jakarta.annotation.Nonnull
9799
public RequestInformation toGetRequestInformation() {
98100
return toGetRequestInformation(null);
99101
}
100102
/**
101-
* Get folders from admin
103+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
102104
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
103105
* @return a {@link RequestInformation}
104106
*/
@@ -120,7 +122,7 @@ public FoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
120122
return new FoldersRequestBuilder(rawUrl, requestAdapter);
121123
}
122124
/**
123-
* Get folders from admin
125+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
124126
*/
125127
@jakarta.annotation.Generated("com.microsoft.kiota")
126128
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/delta/DeltaRequestBuilder.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,19 +36,21 @@ public DeltaRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak
3636
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/delta(){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
3737
}
3838
/**
39-
* Invoke function delta
39+
* 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.
4040
* @return a {@link DeltaGetResponse}
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42+
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0">Find more info here</a>
4243
*/
4344
@jakarta.annotation.Nullable
4445
public DeltaGetResponse get() {
4546
return get(null);
4647
}
4748
/**
48-
* Invoke function delta
49+
* 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.
4950
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5051
* @return a {@link DeltaGetResponse}
5152
* @throws ODataError When receiving a 4XX or 5XX status code
53+
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-delta?view=graph-rest-1.0">Find more info here</a>
5254
*/
5355
@jakarta.annotation.Nullable
5456
public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -58,15 +60,15 @@ public DeltaGetResponse get(@jakarta.annotation.Nullable final java.util.functio
5860
return this.requestAdapter.send(requestInfo, errorMapping, DeltaGetResponse::createFromDiscriminatorValue);
5961
}
6062
/**
61-
* Invoke function delta
63+
* 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.
6264
* @return a {@link RequestInformation}
6365
*/
6466
@jakarta.annotation.Nonnull
6567
public RequestInformation toGetRequestInformation() {
6668
return toGetRequestInformation(null);
6769
}
6870
/**
69-
* Invoke function delta
71+
* 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.
7072
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7173
* @return a {@link RequestInformation}
7274
*/
@@ -88,7 +90,7 @@ public DeltaRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawU
8890
return new DeltaRequestBuilder(rawUrl, requestAdapter);
8991
}
9092
/**
91-
* Invoke function delta
93+
* 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.
9294
*/
9395
@jakarta.annotation.Generated("com.microsoft.kiota")
9496
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/admin/exchange/mailboxes/item/folders/item/MailboxFolderItemRequestBuilder.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,21 @@ public MailboxFolderItemRequestBuilder(@jakarta.annotation.Nonnull final String
5555
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}{?%24expand,%24select}", rawUrl);
5656
}
5757
/**
58-
* Get folders from admin
58+
* Read the properties and relationships of a mailboxFolder object.
5959
* @return a {@link MailboxFolder}
6060
* @throws ODataError When receiving a 4XX or 5XX status code
61+
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0">Find more info here</a>
6162
*/
6263
@jakarta.annotation.Nullable
6364
public MailboxFolder get() {
6465
return get(null);
6566
}
6667
/**
67-
* Get folders from admin
68+
* Read the properties and relationships of a mailboxFolder object.
6869
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6970
* @return a {@link MailboxFolder}
7071
* @throws ODataError When receiving a 4XX or 5XX status code
72+
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-get?view=graph-rest-1.0">Find more info here</a>
7173
*/
7274
@jakarta.annotation.Nullable
7375
public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -77,15 +79,15 @@ public MailboxFolder get(@jakarta.annotation.Nullable final java.util.function.C
7779
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
7880
}
7981
/**
80-
* Get folders from admin
82+
* Read the properties and relationships of a mailboxFolder object.
8183
* @return a {@link RequestInformation}
8284
*/
8385
@jakarta.annotation.Nonnull
8486
public RequestInformation toGetRequestInformation() {
8587
return toGetRequestInformation(null);
8688
}
8789
/**
88-
* Get folders from admin
90+
* Read the properties and relationships of a mailboxFolder object.
8991
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
9092
* @return a {@link RequestInformation}
9193
*/
@@ -107,7 +109,7 @@ public MailboxFolderItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final
107109
return new MailboxFolderItemRequestBuilder(rawUrl, requestAdapter);
108110
}
109111
/**
110-
* Get folders from admin
112+
* Read the properties and relationships of a mailboxFolder object.
111113
*/
112114
@jakarta.annotation.Generated("com.microsoft.kiota")
113115
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)