Skip to content

Commit 0e486b9

Browse files
authored
Merge pull request #970 from microsoftgraph/beta/pipelinebuild/151792
Generated beta models and request builders
2 parents 2dee04b + 6e27696 commit 0e486b9

File tree

2,270 files changed

+58992
-13992
lines changed

Some content is hidden

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

2,270 files changed

+58992
-13992
lines changed

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies {
88
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
99

1010
// Core Http library
11-
api 'com.microsoft.graph:microsoft-graph-core:3.1.12'
11+
api 'com.microsoft.graph:microsoft-graph-core:3.1.13'
1212

1313
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.1.13'
1414
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.1.13'

src/main/java/com/microsoft/graph/beta/generated/admin/serviceannouncement/messages/item/attachments/item/content/ContentRequestBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5555
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5656
}
5757
/**
58-
* The attachment content.
58+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
5959
* @return a {@link InputStream}
6060
* @throws ODataError When receiving a 4XX or 5XX status code
61+
* @see <a href="https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-beta">Find more info here</a>
6162
*/
6263
@jakarta.annotation.Nullable
6364
public InputStream get() {
6465
return get(null);
6566
}
6667
/**
67-
* The attachment content.
68+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
6869
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6970
* @return a {@link InputStream}
7071
* @throws ODataError When receiving a 4XX or 5XX status code
72+
* @see <a href="https://learn.microsoft.com/graph/api/serviceannouncementattachment-get?view=graph-rest-beta">Find more info here</a>
7173
*/
7274
@jakarta.annotation.Nullable
7375
public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -122,15 +124,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
122124
return requestInfo;
123125
}
124126
/**
125-
* The attachment content.
127+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
126128
* @return a {@link RequestInformation}
127129
*/
128130
@jakarta.annotation.Nonnull
129131
public RequestInformation toGetRequestInformation() {
130132
return toGetRequestInformation(null);
131133
}
132134
/**
133-
* The attachment content.
135+
* Read the properties and relationships of a serviceAnnouncementAttachment object.
134136
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
135137
* @return a {@link RequestInformation}
136138
*/

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
9393
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
9494
}
9595
/**
96-
* Read the properties of an azureADDevice object.
96+
* Read the properties and relationships of an updatableAsset object.
9797
* @return a {@link UpdatableAsset}
9898
* @throws ODataError When receiving a 4XX or 5XX status code
99-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta">Find more info here</a>
99+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
100100
*/
101101
@jakarta.annotation.Nullable
102102
public UpdatableAsset get() {
103103
return get(null);
104104
}
105105
/**
106-
* Read the properties of an azureADDevice object.
106+
* Read the properties and relationships of an updatableAsset object.
107107
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108108
* @return a {@link UpdatableAsset}
109109
* @throws ODataError When receiving a 4XX or 5XX status code
110-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta">Find more info here</a>
110+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
111111
*/
112112
@jakarta.annotation.Nullable
113113
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -162,15 +162,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
162162
return requestInfo;
163163
}
164164
/**
165-
* Read the properties of an azureADDevice object.
165+
* Read the properties and relationships of an updatableAsset object.
166166
* @return a {@link RequestInformation}
167167
*/
168168
@jakarta.annotation.Nonnull
169169
public RequestInformation toGetRequestInformation() {
170170
return toGetRequestInformation(null);
171171
}
172172
/**
173-
* Read the properties of an azureADDevice object.
173+
* Read the properties and relationships of an updatableAsset object.
174174
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
175175
* @return a {@link RequestInformation}
176176
*/
@@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
222222
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
223223
}
224224
/**
225-
* Read the properties of an azureADDevice object.
225+
* Read the properties and relationships of an updatableAsset object.
226226
*/
227227
@jakarta.annotation.Generated("com.microsoft.kiota")
228228
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio
9090
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
9191
}
9292
/**
93-
* Update the properties of a complianceChange object.
93+
* Update the properties of a contentApproval object.
9494
* @param body The request body
9595
* @return a {@link ComplianceChange}
9696
* @throws ODataError When receiving a 4XX or 5XX status code
97-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
97+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
9898
*/
9999
@jakarta.annotation.Nullable
100100
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) {
101101
return patch(body, null);
102102
}
103103
/**
104-
* Update the properties of a complianceChange object.
104+
* Update the properties of a contentApproval object.
105105
* @param body The request body
106106
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
107107
* @return a {@link ComplianceChange}
108108
* @throws ODataError When receiving a 4XX or 5XX status code
109-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
109+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
110110
*/
111111
@jakarta.annotation.Nullable
112112
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
157157
return requestInfo;
158158
}
159159
/**
160-
* Update the properties of a complianceChange object.
160+
* Update the properties of a contentApproval object.
161161
* @param body The request body
162162
* @return a {@link RequestInformation}
163163
*/
@@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
166166
return toPatchRequestInformation(body, null);
167167
}
168168
/**
169-
* Update the properties of a complianceChange object.
169+
* Update the properties of a contentApproval object.
170170
* @param body The request body
171171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172172
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/agreementacceptances/AgreementAcceptancesRequestBuilder.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ public AgreementAcceptanceItemRequestBuilder byAgreementAcceptanceId(@jakarta.an
4040
* @param requestAdapter The request adapter to use to execute the requests.
4141
*/
4242
public AgreementAcceptancesRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
43-
super(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters);
43+
super(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
4444
}
4545
/**
4646
* Instantiates a new {@link AgreementAcceptancesRequestBuilder} and sets the default values.
4747
* @param rawUrl The raw URL to use for the request builder.
4848
* @param requestAdapter The request adapter to use to execute the requests.
4949
*/
5050
public AgreementAcceptancesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
51-
super(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24filter,%24search,%24select,%24skip,%24top}", rawUrl);
51+
super(requestAdapter, "{+baseurl}/agreementAcceptances{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
5252
}
5353
/**
5454
* Get entities from agreementAcceptances
@@ -161,11 +161,21 @@ public class GetQueryParameters implements QueryParameters {
161161
*/
162162
@jakarta.annotation.Nullable
163163
public Boolean count;
164+
/**
165+
* Expand related entities
166+
*/
167+
@jakarta.annotation.Nullable
168+
public String[] expand;
164169
/**
165170
* Filter items by property values
166171
*/
167172
@jakarta.annotation.Nullable
168173
public String filter;
174+
/**
175+
* Order items by property values
176+
*/
177+
@jakarta.annotation.Nullable
178+
public String[] orderby;
169179
/**
170180
* Search items by search phrases
171181
*/
@@ -198,6 +208,8 @@ public Map<String, Object> toQueryParameters() {
198208
allQueryParams.put("%24search", search);
199209
allQueryParams.put("%24skip", skip);
200210
allQueryParams.put("%24top", top);
211+
allQueryParams.put("%24expand", expand);
212+
allQueryParams.put("%24orderby", orderby);
201213
allQueryParams.put("%24select", select);
202214
return allQueryParams;
203215
}

src/main/java/com/microsoft/graph/beta/generated/agreements/AgreementsRequestBuilder.java

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ public AgreementItemRequestBuilder byAgreementId(@jakarta.annotation.Nonnull fin
4040
* @param requestAdapter The request adapter to use to execute the requests.
4141
*/
4242
public AgreementsRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
43-
super(requestAdapter, "{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", pathParameters);
43+
super(requestAdapter, "{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
4444
}
4545
/**
4646
* Instantiates a new {@link AgreementsRequestBuilder} and sets the default values.
4747
* @param rawUrl The raw URL to use for the request builder.
4848
* @param requestAdapter The request adapter to use to execute the requests.
4949
*/
5050
public AgreementsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
51-
super(requestAdapter, "{+baseurl}/agreements{?%24count,%24filter,%24search,%24select,%24skip,%24top}", rawUrl);
51+
super(requestAdapter, "{+baseurl}/agreements{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
5252
}
5353
/**
5454
* Get entities from agreements
@@ -161,11 +161,21 @@ public class GetQueryParameters implements QueryParameters {
161161
*/
162162
@jakarta.annotation.Nullable
163163
public Boolean count;
164+
/**
165+
* Expand related entities
166+
*/
167+
@jakarta.annotation.Nullable
168+
public String[] expand;
164169
/**
165170
* Filter items by property values
166171
*/
167172
@jakarta.annotation.Nullable
168173
public String filter;
174+
/**
175+
* Order items by property values
176+
*/
177+
@jakarta.annotation.Nullable
178+
public String[] orderby;
169179
/**
170180
* Search items by search phrases
171181
*/
@@ -198,6 +208,8 @@ public Map<String, Object> toQueryParameters() {
198208
allQueryParams.put("%24search", search);
199209
allQueryParams.put("%24skip", skip);
200210
allQueryParams.put("%24top", top);
211+
allQueryParams.put("%24expand", expand);
212+
allQueryParams.put("%24orderby", orderby);
201213
allQueryParams.put("%24select", select);
202214
return allQueryParams;
203215
}

src/main/java/com/microsoft/graph/beta/generated/app/calls/item/participants/invite/InviteRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
3636
super(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl);
3737
}
3838
/**
39-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
39+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
4040
* @param body The request body
4141
* @return a {@link InviteParticipantsOperation}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
43-
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
43+
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
4444
*/
4545
@jakarta.annotation.Nullable
4646
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
4747
return post(body, null);
4848
}
4949
/**
50-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
50+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
5151
* @param body The request body
5252
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return a {@link InviteParticipantsOperation}
5454
* @throws ODataError When receiving a 4XX or 5XX status code
55-
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
55+
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
5656
*/
5757
@jakarta.annotation.Nullable
5858
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
6363
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
6464
}
6565
/**
66-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
66+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6767
* @param body The request body
6868
* @return a {@link RequestInformation}
6969
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7272
return toPostRequestInformation(body, null);
7373
}
7474
/**
75-
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
75+
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/bot/BotRequestBuilder.java

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5555
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5656
}
5757
/**
58-
* The details of the bot specified in the Teams app manifest.
58+
* Get the bot associated with a specific definition of the TeamsApp.
5959
* @return a {@link TeamworkBot}
6060
* @throws ODataError When receiving a 4XX or 5XX status code
61+
* @see <a href="https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-beta">Find more info here</a>
6162
*/
6263
@jakarta.annotation.Nullable
6364
public TeamworkBot get() {
6465
return get(null);
6566
}
6667
/**
67-
* The details of the bot specified in the Teams app manifest.
68+
* Get the bot associated with a specific definition of the TeamsApp.
6869
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6970
* @return a {@link TeamworkBot}
7071
* @throws ODataError When receiving a 4XX or 5XX status code
72+
* @see <a href="https://learn.microsoft.com/graph/api/teamworkbot-get?view=graph-rest-beta">Find more info here</a>
7173
*/
7274
@jakarta.annotation.Nullable
7375
public TeamworkBot get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -122,15 +124,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
122124
return requestInfo;
123125
}
124126
/**
125-
* The details of the bot specified in the Teams app manifest.
127+
* Get the bot associated with a specific definition of the TeamsApp.
126128
* @return a {@link RequestInformation}
127129
*/
128130
@jakarta.annotation.Nonnull
129131
public RequestInformation toGetRequestInformation() {
130132
return toGetRequestInformation(null);
131133
}
132134
/**
133-
* The details of the bot specified in the Teams app manifest.
135+
* Get the bot associated with a specific definition of the TeamsApp.
134136
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
135137
* @return a {@link RequestInformation}
136138
*/
@@ -182,7 +184,7 @@ public BotRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl
182184
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
183185
}
184186
/**
185-
* The details of the bot specified in the Teams app manifest.
187+
* Get the bot associated with a specific definition of the TeamsApp.
186188
*/
187189
@jakarta.annotation.Generated("com.microsoft.kiota")
188190
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)