Skip to content

Commit befe19b

Browse files
authored
Merge pull request #1400 from microsoftgraph/beta/pipelinebuild/247501
Generated beta models and request builders
2 parents ad6dc63 + 9d531c4 commit befe19b

186 files changed

Lines changed: 3084 additions & 1675 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/beta/generated/admin/exchange/ExchangeRequestBuilder.java‎

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,23 @@ public class ExchangeRequestBuilder extends BaseRequestBuilder {
2626
/**
2727
* Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity.
2828
* @return a {@link MailboxesRequestBuilder}
29-
* @deprecated
30-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
3129
*/
32-
@Deprecated
3330
@jakarta.annotation.Nonnull
3431
public MailboxesRequestBuilder mailboxes() {
3532
return new MailboxesRequestBuilder(pathParameters, requestAdapter);
3633
}
3734
/**
3835
* Provides operations to manage the messageTraces property of the microsoft.graph.exchangeAdmin entity.
3936
* @return a {@link MessageTracesRequestBuilder}
40-
* @deprecated
41-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
4237
*/
43-
@Deprecated
4438
@jakarta.annotation.Nonnull
4539
public MessageTracesRequestBuilder messageTraces() {
4640
return new MessageTracesRequestBuilder(pathParameters, requestAdapter);
4741
}
4842
/**
4943
* Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity.
5044
* @return a {@link TracingRequestBuilder}
51-
* @deprecated
52-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
5345
*/
54-
@Deprecated
5546
@jakarta.annotation.Nonnull
5647
public TracingRequestBuilder tracing() {
5748
return new TracingRequestBuilder(pathParameters, requestAdapter);
@@ -75,21 +66,15 @@ public ExchangeRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @
7566
/**
7667
* Delete navigation property exchange for admin
7768
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @deprecated
79-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
8069
*/
81-
@Deprecated
8270
public void delete() {
8371
delete(null);
8472
}
8573
/**
8674
* Delete navigation property exchange for admin
8775
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8876
* @throws ODataError When receiving a 4XX or 5XX status code
89-
* @deprecated
90-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
9177
*/
92-
@Deprecated
9378
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
9479
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
9580
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
@@ -100,11 +85,8 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
10085
* A container for the Exchange admin functionality. Read-only.
10186
* @return a {@link ExchangeAdmin}
10287
* @throws ODataError When receiving a 4XX or 5XX status code
103-
* @deprecated
104-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
10588
*/
10689
@jakarta.annotation.Nullable
107-
@Deprecated
10890
public ExchangeAdmin get() {
10991
return get(null);
11092
}
@@ -113,11 +95,8 @@ public ExchangeAdmin get() {
11395
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11496
* @return a {@link ExchangeAdmin}
11597
* @throws ODataError When receiving a 4XX or 5XX status code
116-
* @deprecated
117-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
11898
*/
11999
@jakarta.annotation.Nullable
120-
@Deprecated
121100
public ExchangeAdmin get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
122101
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
123102
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
@@ -129,11 +108,8 @@ public ExchangeAdmin get(@jakarta.annotation.Nullable final java.util.function.C
129108
* @param body The request body
130109
* @return a {@link ExchangeAdmin}
131110
* @throws ODataError When receiving a 4XX or 5XX status code
132-
* @deprecated
133-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
134111
*/
135112
@jakarta.annotation.Nullable
136-
@Deprecated
137113
public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin body) {
138114
return patch(body, null);
139115
}
@@ -143,11 +119,8 @@ public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin body)
143119
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
144120
* @return a {@link ExchangeAdmin}
145121
* @throws ODataError When receiving a 4XX or 5XX status code
146-
* @deprecated
147-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
148122
*/
149123
@jakarta.annotation.Nullable
150-
@Deprecated
151124
public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
152125
Objects.requireNonNull(body);
153126
final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration);
@@ -158,23 +131,17 @@ public ExchangeAdmin patch(@jakarta.annotation.Nonnull final ExchangeAdmin body,
158131
/**
159132
* Delete navigation property exchange for admin
160133
* @return a {@link RequestInformation}
161-
* @deprecated
162-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
163134
*/
164135
@jakarta.annotation.Nonnull
165-
@Deprecated
166136
public RequestInformation toDeleteRequestInformation() {
167137
return toDeleteRequestInformation(null);
168138
}
169139
/**
170140
* Delete navigation property exchange for admin
171141
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172142
* @return a {@link RequestInformation}
173-
* @deprecated
174-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
175143
*/
176144
@jakarta.annotation.Nonnull
177-
@Deprecated
178145
public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
179146
final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters);
180147
requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new);
@@ -184,23 +151,17 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
184151
/**
185152
* A container for the Exchange admin functionality. Read-only.
186153
* @return a {@link RequestInformation}
187-
* @deprecated
188-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
189154
*/
190155
@jakarta.annotation.Nonnull
191-
@Deprecated
192156
public RequestInformation toGetRequestInformation() {
193157
return toGetRequestInformation(null);
194158
}
195159
/**
196160
* A container for the Exchange admin functionality. Read-only.
197161
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
198162
* @return a {@link RequestInformation}
199-
* @deprecated
200-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
201163
*/
202164
@jakarta.annotation.Nonnull
203-
@Deprecated
204165
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
205166
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
206167
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -211,11 +172,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
211172
* Update the navigation property exchange in admin
212173
* @param body The request body
213174
* @return a {@link RequestInformation}
214-
* @deprecated
215-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
216175
*/
217176
@jakarta.annotation.Nonnull
218-
@Deprecated
219177
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeAdmin body) {
220178
return toPatchRequestInformation(body, null);
221179
}
@@ -224,11 +182,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
224182
* @param body The request body
225183
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
226184
* @return a {@link RequestInformation}
227-
* @deprecated
228-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
229185
*/
230186
@jakarta.annotation.Nonnull
231-
@Deprecated
232187
public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExchangeAdmin body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
233188
Objects.requireNonNull(body);
234189
final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters);
@@ -241,11 +196,8 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
241196
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
242197
* @param rawUrl The raw URL to use for the request builder.
243198
* @return a {@link ExchangeRequestBuilder}
244-
* @deprecated
245-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
246199
*/
247200
@jakarta.annotation.Nonnull
248-
@Deprecated
249201
public ExchangeRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
250202
Objects.requireNonNull(rawUrl);
251203
return new ExchangeRequestBuilder(rawUrl, requestAdapter);

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

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ public class MailboxesRequestBuilder extends BaseRequestBuilder {
2626
/**
2727
* Provides operations to count the resources in the collection.
2828
* @return a {@link CountRequestBuilder}
29-
* @deprecated
30-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
3129
*/
32-
@Deprecated
3330
@jakarta.annotation.Nonnull
3431
public CountRequestBuilder count() {
3532
return new CountRequestBuilder(pathParameters, requestAdapter);
@@ -38,11 +35,8 @@ public CountRequestBuilder count() {
3835
* Provides operations to manage the mailboxes property of the microsoft.graph.exchangeAdmin entity.
3936
* @param mailboxId The unique identifier of mailbox
4037
* @return a {@link MailboxItemRequestBuilder}
41-
* @deprecated
42-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
4338
*/
4439
@jakarta.annotation.Nonnull
45-
@Deprecated
4640
public MailboxItemRequestBuilder byMailboxId(@jakarta.annotation.Nonnull final String mailboxId) {
4741
Objects.requireNonNull(mailboxId);
4842
final HashMap<String, Object> urlTplParams = new HashMap<String, Object>(this.pathParameters);
@@ -69,11 +63,8 @@ public MailboxesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl,
6963
* Represents a user&apos;s mailboxes.
7064
* @return a {@link MailboxCollectionResponse}
7165
* @throws ODataError When receiving a 4XX or 5XX status code
72-
* @deprecated
73-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
7466
*/
7567
@jakarta.annotation.Nullable
76-
@Deprecated
7768
public MailboxCollectionResponse get() {
7869
return get(null);
7970
}
@@ -82,11 +73,8 @@ public MailboxCollectionResponse get() {
8273
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8374
* @return a {@link MailboxCollectionResponse}
8475
* @throws ODataError When receiving a 4XX or 5XX status code
85-
* @deprecated
86-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
8776
*/
8877
@jakarta.annotation.Nullable
89-
@Deprecated
9078
public MailboxCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
9179
final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration);
9280
final HashMap<String, ParsableFactory<? extends Parsable>> errorMapping = new HashMap<String, ParsableFactory<? extends Parsable>>();
@@ -98,11 +86,8 @@ public MailboxCollectionResponse get(@jakarta.annotation.Nullable final java.uti
9886
* @param body The request body
9987
* @return a {@link Mailbox}
10088
* @throws ODataError When receiving a 4XX or 5XX status code
101-
* @deprecated
102-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
10389
*/
10490
@jakarta.annotation.Nullable
105-
@Deprecated
10691
public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body) {
10792
return post(body, null);
10893
}
@@ -112,11 +97,8 @@ public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body) {
11297
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
11398
* @return a {@link Mailbox}
11499
* @throws ODataError When receiving a 4XX or 5XX status code
115-
* @deprecated
116-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
117100
*/
118101
@jakarta.annotation.Nullable
119-
@Deprecated
120102
public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
121103
Objects.requireNonNull(body);
122104
final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration);
@@ -127,23 +109,17 @@ public Mailbox post(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.ann
127109
/**
128110
* Represents a user&apos;s mailboxes.
129111
* @return a {@link RequestInformation}
130-
* @deprecated
131-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
132112
*/
133113
@jakarta.annotation.Nonnull
134-
@Deprecated
135114
public RequestInformation toGetRequestInformation() {
136115
return toGetRequestInformation(null);
137116
}
138117
/**
139118
* Represents a user&apos;s mailboxes.
140119
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
141120
* @return a {@link RequestInformation}
142-
* @deprecated
143-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
144121
*/
145122
@jakarta.annotation.Nonnull
146-
@Deprecated
147123
public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
148124
final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters);
149125
requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters);
@@ -154,11 +130,8 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
154130
* Create new navigation property to mailboxes for admin
155131
* @param body The request body
156132
* @return a {@link RequestInformation}
157-
* @deprecated
158-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
159133
*/
160134
@jakarta.annotation.Nonnull
161-
@Deprecated
162135
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mailbox body) {
163136
return toPostRequestInformation(body, null);
164137
}
@@ -167,11 +140,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
167140
* @param body The request body
168141
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
169142
* @return a {@link RequestInformation}
170-
* @deprecated
171-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
172143
*/
173144
@jakarta.annotation.Nonnull
174-
@Deprecated
175145
public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final Mailbox body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
176146
Objects.requireNonNull(body);
177147
final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters);
@@ -184,11 +154,8 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
184154
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
185155
* @param rawUrl The raw URL to use for the request builder.
186156
* @return a {@link MailboxesRequestBuilder}
187-
* @deprecated
188-
* Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
189157
*/
190158
@jakarta.annotation.Nonnull
191-
@Deprecated
192159
public MailboxesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
193160
Objects.requireNonNull(rawUrl);
194161
return new MailboxesRequestBuilder(rawUrl, requestAdapter);

0 commit comments

Comments
 (0)