Skip to content

Commit 7b18add

Browse files
authored
Merge pull request #2033 from microsoftgraph/v1.0/pipelinebuild/151792
Generated models and request builders
2 parents a8edbbf + 7c1efd4 commit 7b18add

File tree

1,169 files changed

+12726
-9103
lines changed

Some content is hidden

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

1,169 files changed

+12726
-9103
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'

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<dependency>
3131
<groupId>com.microsoft.graph</groupId>
3232
<artifactId>microsoft-graph-core</artifactId>
33-
<version>3.1.12</version>
33+
<version>3.1.13</version>
3434
</dependency>
3535
<dependency>
3636
<groupId>org.junit.jupiter</groupId>

src/main/java/com/microsoft/graph/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-1.0">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-1.0">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/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/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/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-1.0">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-1.0">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 {

src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5757
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5858
}
5959
/**
60-
* Retrieve a conversationMember from a chat or channel.
60+
* Retrieve a conversationMember from a chat.
6161
* @return a {@link ConversationMember}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ConversationMember get() {
6767
return get(null);
6868
}
6969
/**
70-
* Retrieve a conversationMember from a chat or channel.
70+
* Retrieve a conversationMember from a chat.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ConversationMember}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ConversationMember get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Retrieve a conversationMember from a chat or channel.
129+
* Retrieve a conversationMember from a chat.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Retrieve a conversationMember from a chat or channel.
137+
* Retrieve a conversationMember from a chat.
138138
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
139139
* @return a {@link RequestInformation}
140140
*/
@@ -186,7 +186,7 @@ public ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Retrieve a conversationMember from a chat or channel.
189+
* Retrieve a conversationMember from a chat.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/chats/item/messages/item/hostedcontents/item/value/ContentRequestBuilder.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,19 +54,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5454
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5555
}
5656
/**
57-
* The unique identifier for an entity. Read-only.
57+
* Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
5858
* @return a {@link InputStream}
5959
* @throws ODataError When receiving a 4XX or 5XX status code
60+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0">Find more info here</a>
6061
*/
6162
@jakarta.annotation.Nullable
6263
public InputStream get() {
6364
return get(null);
6465
}
6566
/**
66-
* The unique identifier for an entity. Read-only.
67+
* Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
6768
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6869
* @return a {@link InputStream}
6970
* @throws ODataError When receiving a 4XX or 5XX status code
71+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0">Find more info here</a>
7072
*/
7173
@jakarta.annotation.Nullable
7274
public InputStream get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -121,15 +123,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
121123
return requestInfo;
122124
}
123125
/**
124-
* The unique identifier for an entity. Read-only.
126+
* Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
125127
* @return a {@link RequestInformation}
126128
*/
127129
@jakarta.annotation.Nonnull
128130
public RequestInformation toGetRequestInformation() {
129131
return toGetRequestInformation(null);
130132
}
131133
/**
132-
* The unique identifier for an entity. Read-only.
134+
* Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content.
133135
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
134136
* @return a {@link RequestInformation}
135137
*/

0 commit comments

Comments
 (0)