@@ -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 );
0 commit comments