Skip to content

Commit caef848

Browse files
feat(generation): update request builders and models (#1405)
Generated SDK regeneration reviewed against pinned inputs and validated CI. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 380ba4d9-c690-4da5-a384-5263d2f0cdf1
1 parent 84e1d6c commit caef848

638 files changed

Lines changed: 65503 additions & 480 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/mailboxes/item/folders/FoldersRequestBuilder.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public FoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j
6969
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
7070
}
7171
/**
72-
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
72+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
7373
* @return a {@link MailboxFolderCollectionResponse}
7474
* @throws ODataError When receiving a 4XX or 5XX status code
7575
* @see <a href="https://learn.microsoft.com/graph/api/mailbox-list-folders?view=graph-rest-beta">Find more info here</a>
@@ -79,7 +79,7 @@ public MailboxFolderCollectionResponse get() {
7979
return get(null);
8080
}
8181
/**
82-
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
82+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
8383
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8484
* @return a {@link MailboxFolderCollectionResponse}
8585
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -120,15 +120,15 @@ public MailboxFolder post(@jakarta.annotation.Nonnull final MailboxFolder body,
120120
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
121121
}
122122
/**
123-
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
123+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
124124
* @return a {@link RequestInformation}
125125
*/
126126
@jakarta.annotation.Nonnull
127127
public RequestInformation toGetRequestInformation() {
128128
return toGetRequestInformation(null);
129129
}
130130
/**
131-
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
131+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
132132
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
133133
* @return a {@link RequestInformation}
134134
*/
@@ -174,7 +174,7 @@ public FoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String ra
174174
return new FoldersRequestBuilder(rawUrl, requestAdapter);
175175
}
176176
/**
177-
* Get all the mailboxFolder objects in the specified mailbox, including any search folders.
177+
* Get all the mailboxFolder objects in the specified mailbox, including any search folders. By default, hidden folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
178178
*/
179179
@jakarta.annotation.Generated("com.microsoft.kiota")
180180
public class GetQueryParameters implements QueryParameters {

‎src/main/java/com/microsoft/graph/beta/generated/admin/exchange/mailboxes/item/folders/item/childfolders/ChildFoldersRequestBuilder.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public ChildFoldersRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
6969
super(requestAdapter, "{+baseurl}/admin/exchange/mailboxes/{mailbox%2Did}/folders/{mailboxFolder%2Did}/childFolders{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
7070
}
7171
/**
72-
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
72+
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
7373
* @return a {@link MailboxFolderCollectionResponse}
7474
* @throws ODataError When receiving a 4XX or 5XX status code
7575
* @see <a href="https://learn.microsoft.com/graph/api/mailboxfolder-list-childfolders?view=graph-rest-beta">Find more info here</a>
@@ -79,7 +79,7 @@ public MailboxFolderCollectionResponse get() {
7979
return get(null);
8080
}
8181
/**
82-
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
82+
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
8383
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8484
* @return a {@link MailboxFolderCollectionResponse}
8585
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -118,15 +118,15 @@ public MailboxFolder post(@jakarta.annotation.Nonnull final MailboxFolder body,
118118
return this.requestAdapter.send(requestInfo, errorMapping, MailboxFolder::createFromDiscriminatorValue);
119119
}
120120
/**
121-
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
121+
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
122122
* @return a {@link RequestInformation}
123123
*/
124124
@jakarta.annotation.Nonnull
125125
public RequestInformation toGetRequestInformation() {
126126
return toGetRequestInformation(null);
127127
}
128128
/**
129-
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
129+
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
130130
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
131131
* @return a {@link RequestInformation}
132132
*/
@@ -172,7 +172,7 @@ public ChildFoldersRequestBuilder withUrl(@jakarta.annotation.Nonnull final Stri
172172
return new ChildFoldersRequestBuilder(rawUrl, requestAdapter);
173173
}
174174
/**
175-
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox.
175+
* Get the mailboxFolder collection under the specified mailboxFolder in a mailbox. By default, hidden child folders aren&apos;t returned. To include them, specify includeHiddenFolders=true.
176176
*/
177177
@jakarta.annotation.Generated("com.microsoft.kiota")
178178
public class GetQueryParameters implements QueryParameters {

‎src/main/java/com/microsoft/graph/beta/generated/admin/reportsettings/sharepoint/apiusagereportmetrics/ApiUsageReportMetricsRequestBuilder.java‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ApiUsageReportMetricsRequestBuilder(@jakarta.annotation.Nonnull final Str
6060
super(requestAdapter, "{+baseurl}/admin/reportSettings/sharePoint/apiUsageReportMetrics{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
63+
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
6464
* @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
6666
* @see <a href="https://learn.microsoft.com/graph/api/sharepointreportsettings-list-apiusagereportmetrics?view=graph-rest-beta">Find more info here</a>
@@ -70,7 +70,7 @@ public ApiUsageReportEnablementStatusCollectionResponse get() {
7070
return get(null);
7171
}
7272
/**
73-
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
73+
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
7474
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7575
* @return a {@link ApiUsageReportEnablementStatusCollectionResponse}
7676
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -109,15 +109,15 @@ public ApiUsageReportEnablementStatus post(@jakarta.annotation.Nonnull final Api
109109
return this.requestAdapter.send(requestInfo, errorMapping, ApiUsageReportEnablementStatus::createFromDiscriminatorValue);
110110
}
111111
/**
112-
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
112+
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
113113
* @return a {@link RequestInformation}
114114
*/
115115
@jakarta.annotation.Nonnull
116116
public RequestInformation toGetRequestInformation() {
117117
return toGetRequestInformation(null);
118118
}
119119
/**
120-
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
120+
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
121121
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
122122
* @return a {@link RequestInformation}
123123
*/
@@ -163,7 +163,7 @@ public ApiUsageReportMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull f
163163
return new ApiUsageReportMetricsRequestBuilder(rawUrl, requestAdapter);
164164
}
165165
/**
166-
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport and throttlingReport.
166+
* Get the list of SharePoint API usage report metrics and their enablement status for the tenant. The supported metrics are egressReport, sharePointServicePrioritizationReport, and throttlingReport.
167167
*/
168168
@jakarta.annotation.Generated("com.microsoft.kiota")
169169
public class GetQueryParameters implements QueryParameters {

‎src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/setreaction/SetReactionPostRequestBody.java‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,34 @@ public Map<String, Object> getAdditionalData() {
5555
public BackingStore getBackingStore() {
5656
return this.backingStore;
5757
}
58+
/**
59+
* Gets the displayName property value. The displayName property
60+
* @return a {@link String}
61+
*/
62+
@jakarta.annotation.Nullable
63+
public String getDisplayName() {
64+
return this.backingStore.get("displayName");
65+
}
5866
/**
5967
* The deserialization information for the current model
6068
* @return a {@link Map<String, java.util.function.Consumer<ParseNode>>}
6169
*/
6270
@jakarta.annotation.Nonnull
6371
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
64-
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(1);
72+
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(3);
73+
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
74+
deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
6575
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
6676
return deserializerMap;
6777
}
78+
/**
79+
* Gets the reactionId property value. The reactionId property
80+
* @return a {@link String}
81+
*/
82+
@jakarta.annotation.Nullable
83+
public String getReactionId() {
84+
return this.backingStore.get("reactionId");
85+
}
6886
/**
6987
* Gets the reactionType property value. The reactionType property
7088
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
7997
*/
8098
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
8199
Objects.requireNonNull(writer);
100+
writer.writeStringValue("displayName", this.getDisplayName());
101+
writer.writeStringValue("reactionId", this.getReactionId());
82102
writer.writeStringValue("reactionType", this.getReactionType());
83103
writer.writeAdditionalData(this.getAdditionalData());
84104
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
97117
Objects.requireNonNull(value);
98118
this.backingStore = value;
99119
}
120+
/**
121+
* Sets the displayName property value. The displayName property
122+
* @param value Value to set for the displayName property.
123+
*/
124+
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
125+
this.backingStore.set("displayName", value);
126+
}
127+
/**
128+
* Sets the reactionId property value. The reactionId property
129+
* @param value Value to set for the reactionId property.
130+
*/
131+
public void setReactionId(@jakarta.annotation.Nullable final String value) {
132+
this.backingStore.set("reactionId", value);
133+
}
100134
/**
101135
* Sets the reactionType property value. The reactionType property
102136
* @param value Value to set for the reactionType property.

‎src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/replies/item/unsetreaction/UnsetReactionPostRequestBody.java‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,34 @@ public Map<String, Object> getAdditionalData() {
5555
public BackingStore getBackingStore() {
5656
return this.backingStore;
5757
}
58+
/**
59+
* Gets the displayName property value. The displayName property
60+
* @return a {@link String}
61+
*/
62+
@jakarta.annotation.Nullable
63+
public String getDisplayName() {
64+
return this.backingStore.get("displayName");
65+
}
5866
/**
5967
* The deserialization information for the current model
6068
* @return a {@link Map<String, java.util.function.Consumer<ParseNode>>}
6169
*/
6270
@jakarta.annotation.Nonnull
6371
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
64-
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(1);
72+
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(3);
73+
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
74+
deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
6575
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
6676
return deserializerMap;
6777
}
78+
/**
79+
* Gets the reactionId property value. The reactionId property
80+
* @return a {@link String}
81+
*/
82+
@jakarta.annotation.Nullable
83+
public String getReactionId() {
84+
return this.backingStore.get("reactionId");
85+
}
6886
/**
6987
* Gets the reactionType property value. The reactionType property
7088
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
7997
*/
8098
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
8199
Objects.requireNonNull(writer);
100+
writer.writeStringValue("displayName", this.getDisplayName());
101+
writer.writeStringValue("reactionId", this.getReactionId());
82102
writer.writeStringValue("reactionType", this.getReactionType());
83103
writer.writeAdditionalData(this.getAdditionalData());
84104
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
97117
Objects.requireNonNull(value);
98118
this.backingStore = value;
99119
}
120+
/**
121+
* Sets the displayName property value. The displayName property
122+
* @param value Value to set for the displayName property.
123+
*/
124+
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
125+
this.backingStore.set("displayName", value);
126+
}
127+
/**
128+
* Sets the reactionId property value. The reactionId property
129+
* @param value Value to set for the reactionId property.
130+
*/
131+
public void setReactionId(@jakarta.annotation.Nullable final String value) {
132+
this.backingStore.set("reactionId", value);
133+
}
100134
/**
101135
* Sets the reactionType property value. The reactionType property
102136
* @param value Value to set for the reactionType property.

‎src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/item/setreaction/SetReactionPostRequestBody.java‎

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,16 +55,34 @@ public Map<String, Object> getAdditionalData() {
5555
public BackingStore getBackingStore() {
5656
return this.backingStore;
5757
}
58+
/**
59+
* Gets the displayName property value. The displayName property
60+
* @return a {@link String}
61+
*/
62+
@jakarta.annotation.Nullable
63+
public String getDisplayName() {
64+
return this.backingStore.get("displayName");
65+
}
5866
/**
5967
* The deserialization information for the current model
6068
* @return a {@link Map<String, java.util.function.Consumer<ParseNode>>}
6169
*/
6270
@jakarta.annotation.Nonnull
6371
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
64-
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(1);
72+
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(3);
73+
deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); });
74+
deserializerMap.put("reactionId", (n) -> { this.setReactionId(n.getStringValue()); });
6575
deserializerMap.put("reactionType", (n) -> { this.setReactionType(n.getStringValue()); });
6676
return deserializerMap;
6777
}
78+
/**
79+
* Gets the reactionId property value. The reactionId property
80+
* @return a {@link String}
81+
*/
82+
@jakarta.annotation.Nullable
83+
public String getReactionId() {
84+
return this.backingStore.get("reactionId");
85+
}
6886
/**
6987
* Gets the reactionType property value. The reactionType property
7088
* @return a {@link String}
@@ -79,6 +97,8 @@ public String getReactionType() {
7997
*/
8098
public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) {
8199
Objects.requireNonNull(writer);
100+
writer.writeStringValue("displayName", this.getDisplayName());
101+
writer.writeStringValue("reactionId", this.getReactionId());
82102
writer.writeStringValue("reactionType", this.getReactionType());
83103
writer.writeAdditionalData(this.getAdditionalData());
84104
}
@@ -97,6 +117,20 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value
97117
Objects.requireNonNull(value);
98118
this.backingStore = value;
99119
}
120+
/**
121+
* Sets the displayName property value. The displayName property
122+
* @param value Value to set for the displayName property.
123+
*/
124+
public void setDisplayName(@jakarta.annotation.Nullable final String value) {
125+
this.backingStore.set("displayName", value);
126+
}
127+
/**
128+
* Sets the reactionId property value. The reactionId property
129+
* @param value Value to set for the reactionId property.
130+
*/
131+
public void setReactionId(@jakarta.annotation.Nullable final String value) {
132+
this.backingStore.set("reactionId", value);
133+
}
100134
/**
101135
* Sets the reactionType property value. The reactionType property
102136
* @param value Value to set for the reactionType property.

0 commit comments

Comments
 (0)