From c22ce8eabc8f303e0700d581b4ef7028c867f8e4 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 29 Jul 2025 17:23:55 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 194273 --- .../ResourceConnectionItemRequestBuilder.java | 12 +- .../ComplianceChangeItemRequestBuilder.java | 26 +- .../item/messages/MessagesRequestBuilder.java | 12 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- .../RelationshipsRequestBuilder.java | 10 +- ...bileAppRelationshipItemRequestBuilder.java | 10 +- ...ScheduledActionsForRuleRequestBuilder.java | 10 +- ...eduledActionForRuleItemRequestBuilder.java | 10 +- .../cloudpcs/CloudPCsRequestBuilder.java | 9 + ...trieveCloudPcCountByStatusGetResponse.java | 63 ++ ...eveCloudPcCountByStatusRequestBuilder.java | 148 +++++ .../RetentionLabelRequestBuilder.java | 12 +- .../item/ExternalItemItemRequestBuilder.java | 12 +- .../DataConnectorsRequestBuilder.java | 12 +- .../InboundFlowsRequestBuilder.java | 12 +- .../item/InboundFlowItemRequestBuilder.java | 12 +- ...ongRunningOperationItemRequestBuilder.java | 14 +- .../groups/GroupsRequestBuilder.java | 12 +- .../groups/item/GroupItemRequestBuilder.java | 9 + .../item/ConversationItemRequestBuilder.java | 12 +- .../item/reply/ReplyRequestBuilder.java | 12 +- .../OnPremisesSyncBehaviorRequestBuilder.java | 232 ++++++++ .../ConversationThreadItemRequestBuilder.java | 12 +- .../item/reply/ReplyRequestBuilder.java | 12 +- ...enticationExtensionItemRequestBuilder.java | 14 +- ...tomCalloutExtensionItemRequestBuilder.java | 12 +- ...geWorkflowExtensionItemRequestBuilder.java | 12 +- .../graph/beta/generated/kiota-dom-export.txt | 540 +++++++++++++++++- .../graph/beta/generated/kiota-lock.json | 2 +- .../models/AccessPackageApprovalStage.java | 244 ++++++++ ...sPackageAssignmentRequestCallbackData.java | 7 + .../AccessPackageDynamicApprovalStage.java | 61 ++ ...estApprovalStageCallbackConfiguration.java | 45 ++ .../beta/generated/models/ApprovalStage.java | 7 + ...nmentRequestApprovalStageCallbackData.java | 62 ++ .../beta/generated/models/Authentication.java | 17 + .../models/AuthenticationMethod.java | 1 + .../graph/beta/generated/models/CloudPC.java | 34 ++ .../models/CloudPcDeviceImageErrorCode.java | 4 +- .../CloudPcFrontlineSharedDeviceDetail.java | 124 ++++ .../models/CloudPcProvisioningPolicy.java | 69 +++ .../models/CloudPcProvisioningSourceType.java | 27 + .../models/CloudPcProvisioningType.java | 4 +- .../generated/models/CloudPcSnapshotType.java | 4 +- .../models/CloudPcStatusSummary.java | 141 +++++ .../generated/models/CloudPcUserSetting.java | 17 + .../models/ConfigurationApplication.java | 17 + .../CustomExtensionCallbackConfiguration.java | 1 + .../generated/models/CustomExtensionData.java | 1 + .../models/DeviceCompliancePolicy.java | 4 +- ...agementConfigurationSettingDefinition.java | 28 +- ...tionSimpleSettingCollectionDefinition.java | 8 +- ...igurationStringSettingValueDefinition.java | 12 +- .../generated/models/EducationalActivity.java | 8 +- .../graph/beta/generated/models/Entity.java | 21 +- .../generated/models/ExtendedKeyUsage.java | 8 +- .../models/ExternalAuthenticationMethod.java | 79 +++ ...uthenticationMethodCollectionResponse.java | 61 ++ .../graph/beta/generated/models/Group.java | 17 + .../models/IosManagedAppProtection.java | 4 +- .../beta/generated/models/ItemAddress.java | 4 +- .../beta/generated/models/ItemFacet.java | 8 +- .../graph/beta/generated/models/KeyValue.java | 8 +- .../beta/generated/models/MobileApp.java | 24 +- .../models/OnPremisesSyncBehavior.java | 61 ++ .../models/ProtectionPolicyBase.java | 17 + .../models/RbacApplicationMultiple.java | 7 + .../graph/beta/generated/models/Report.java | 4 +- .../beta/generated/models/ReportAction.java | 31 + .../beta/generated/models/RoleManagement.java | 8 +- .../graph/beta/generated/models/Security.java | 4 +- .../UnifiedRbacApplicationMultiple.java | 62 ++ .../models/UserAccountInformation.java | 4 +- .../beta/generated/models/WebAccount.java | 4 +- .../WindowsAppXAppAssignmentSettings.java | 4 +- .../WindowsDomainJoinConfiguration.java | 4 +- .../beta/generated/models/WorkPosition.java | 4 +- .../industrydata/AdditionalUserOptions.java | 19 +- .../models/industrydata/StudentAgeGroup.java | 29 + .../security/EdiscoveryExportOperation.java | 8 +- .../EdiscoverySearchExportOperation.java | 8 +- .../generated/models/security/EventQuery.java | 8 +- .../models/security/IncidentTask.java | 32 +- .../security/IncidentTaskResponseAction.java | 4 +- ...rantineFileIncidentTaskResponseAction.java | 4 +- .../item/PolicyLinkItemRequestBuilder.java | 12 +- ...IdentitySynchronizationRequestBuilder.java | 12 +- .../defender/DefenderRequestBuilder.java | 38 +- .../CustomAppScopesRequestBuilder.java | 210 +++++++ .../count/CountRequestBuilder.java | 143 +++++ .../CustomAppScopeItemRequestBuilder.java | 144 +++++ .../RoleAssignmentsRequestBuilder.java | 14 +- .../IncidentTasksRequestBuilder.java | 12 +- .../item/IncidentTaskItemRequestBuilder.java | 10 +- .../item/incident/IncidentRequestBuilder.java | 10 +- ...tyExecuteResponseActionRequestBuilder.java | 10 +- .../TokenIssuancePoliciesRequestBuilder.java | 11 +- ...TokenIssuancePolicyItemRequestBuilder.java | 116 +--- .../item/ref/RefRequestBuilder.java | 91 +++ .../ref/RefRequestBuilder.java | 275 +++++++++ .../TokenLifetimePoliciesRequestBuilder.java | 11 +- ...TokenLifetimePolicyItemRequestBuilder.java | 116 +--- .../item/ref/RefRequestBuilder.java | 93 +++ .../ref/RefRequestBuilder.java | 281 +++++++++ .../containers/ContainersRequestBuilder.java | 10 +- .../ConversationMemberItemRequestBuilder.java | 12 +- ...MultiTenantOrganizationRequestBuilder.java | 12 +- .../AuthenticationRequestBuilder.java | 9 + ...alAuthenticationMethodsRequestBuilder.java | 243 ++++++++ .../count/CountRequestBuilder.java | 128 +++++ ...uthenticationMethodItemRequestBuilder.java | 228 ++++++++ ...uthenticationMethodItemRequestBuilder.java | 8 +- .../item/cloudpcs/CloudPCsRequestBuilder.java | 9 + ...trieveCloudPcCountByStatusGetResponse.java | 63 ++ ...eveCloudPcCountByStatusRequestBuilder.java | 148 +++++ .../item/MessageItemRequestBuilder.java | 9 + .../markasjunk/MarkAsJunkRequestBuilder.java | 15 + .../MarkAsNotJunkRequestBuilder.java | 15 + .../ReportMessagePostRequestBody.java | 125 ++++ .../ReportMessageRequestBuilder.java | 103 ++++ .../item/MessageItemRequestBuilder.java | 9 + .../markasjunk/MarkAsJunkRequestBuilder.java | 15 + .../MarkAsNotJunkRequestBuilder.java | 15 + .../ReportMessagePostRequestBody.java | 125 ++++ .../ReportMessageRequestBuilder.java | 103 ++++ .../item/MessageItemRequestBuilder.java | 9 + .../markasjunk/MarkAsJunkRequestBuilder.java | 15 + .../MarkAsNotJunkRequestBuilder.java | 15 + .../ReportMessagePostRequestBody.java | 125 ++++ .../ReportMessageRequestBuilder.java | 103 ++++ .../item/presence/PresenceRequestBuilder.java | 14 +- 172 files changed, 5704 insertions(+), 782 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/groups/item/onpremisessyncbehavior/OnPremisesSyncBehaviorRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageApprovalStage.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageDynamicApprovalStage.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageRequestApprovalStageCallbackConfiguration.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/AssignmentRequestApprovalStageCallbackData.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFrontlineSharedDeviceDetail.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningSourceType.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/CloudPcStatusSummary.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethod.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethodCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesSyncBehavior.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/ReportAction.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/UnifiedRbacApplicationMultiple.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/models/industrydata/StudentAgeGroup.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/CustomAppScopesRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/item/CustomAppScopeItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessagePostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessageRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java index 77262ef18d5..a3419ed19e1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java @@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -106,7 +106,7 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -114,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a resourceConnection object. + * Delete an operationalInsightsConnection object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java index d9064253cfa..966ec8ffabe 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java @@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get() { return get(null); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ComplianceChange} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -117,7 +117,7 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -125,7 +125,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete a complianceChange object. + * Delete a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -145,7 +145,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -197,7 +197,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a complianceChange object. + * Read the properties and relationships of a contentApproval object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java index 5790c90106f..8d7efdf93c5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java @@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue); } /** - * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param body The request body * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) { return post(body, null); } /** - * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ChatMessage} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param body The request body * @return a {@link RequestInformation} */ @@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message. + * Send a new chatMessage in the specified channel or a chat. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java index 85300d81088..5201d91207f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidForWorkApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d26c73a1965..095644e85bc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidforworkapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java index c922a99f4df..1cbf3465bf3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 3d15c4b162a..83c554d47e9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java index 288186f5aa9..fb75ea9cae5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidManagedStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d0739df9aaa..b34e4712e11 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidmanagedstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java index 26b80345d76..bc4b74edfe7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.androidStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 40ef0b7e0f9..afb17fd4283 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphandroidstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java index a6f42336567..f8ecd8850ce 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 78c711007ee..79aa03f5435 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java index 4b445add130..3b57ea0d42e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 8cb167e1818..6f3e3da3bee 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java index 1019ab36a41..ac647643cea 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.iosVppApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 7abf21a1865..bb98730a238 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphiosvppapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java index 639157f50a2..62879441aac 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSDmgApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index e1fcf7421c0..067c15c0018 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacosdmgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java index a2447293579..fa61178aa94 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 0f333eadae5..c5f923dd0bf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacoslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java index 36f80c8068f..60c827f1553 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.macOSPkgApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 4c369a25e33..d281533fb62 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmacospkgapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java index 4f92afd48b8..1d02bc88588 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedAndroidLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index aaaa5a3b5cf..773a6aa21aa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedandroidlobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java index 635e265ca03..e699247752a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedIOSLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 1e4cbb8ee80..22f0aff3b0b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedioslobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java index 9191819c7d7..faa646754b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.managedMobileLobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index ee4f61be9f7..c4e44738fc4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmanagedmobilelobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java index e87573c9016..1324fa486f8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.microsoftStoreForBusinessApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 0db0156f773..2c76825f527 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphmicrosoftstoreforbusinessapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java index 39a5d63a8cd..ffc42ee8f86 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.win32LobApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 09c80567a6d..573cb5229a7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwin32lobapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java index 6314df56796..5e966ff3df5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsAppX/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 4c3169e6d7e..2d06381033a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java index 2fb0a8cdc70..38df293efb1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsMobileMSI/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 9ed0f591924..6fc0b00e297 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsmobilemsi/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java index d5d91664713..b3ee7dc7b4b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsStoreApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index d77bceda908..974e6aafb6a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsstoreapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java index 26468a82a26..c8965a3eedd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsUniversalAppX/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 64c80d046e7..520ab96bff9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowsuniversalappx/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java index 13198b08b8c..96eb7788d90 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.windowsWebApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index 8f678c2730f..3d666d541d5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwindowswebapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java index e60bfe2be17..46e38ce5c5b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/graph.winGetApp/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java index c1b1a6df829..ba71fedb0fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/graphwingetapp/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java index c15d8ff17cb..bd8b64e2dc7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/RelationshipsRequestBuilder.java @@ -60,7 +60,7 @@ public RelationshipsRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/deviceAppManagement/mobileApps/{mobileApp%2Did}/relationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public MobileAppRelationshipCollectionResponse get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public MobileAppRelationship post(@jakarta.annotation.Nonnull final MobileAppRel return this.requestAdapter.send(requestInfo, errorMapping, MobileAppRelationship::createFromDiscriminatorValue); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public RelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new RelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java index a60b4475d09..16159b61426 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/deviceappmanagement/mobileapps/item/relationships/item/MobileAppRelationshipItemRequestBuilder.java @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -64,7 +64,7 @@ public MobileAppRelationship get() { return get(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MobileAppRelationship} * @throws ODataError When receiving a 4XX or 5XX status code @@ -122,7 +122,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +130,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +182,7 @@ public MobileAppRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonnu public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The set of direct relationships for this app. + * List of relationships for this mobile app. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java index 62ca53adbac..7adff25300c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java @@ -60,7 +60,7 @@ public ScheduledActionsForRuleRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -69,7 +69,7 @@ public DeviceComplianceScheduledActionForRuleCollectionResponse get() { return get(null); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -107,7 +107,7 @@ public DeviceComplianceScheduledActionForRule post(@jakarta.annotation.Nonnull f return this.requestAdapter.send(requestInfo, errorMapping, DeviceComplianceScheduledActionForRule::createFromDiscriminatorValue); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +115,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +161,7 @@ public ScheduledActionsForRuleRequestBuilder withUrl(@jakarta.annotation.Nonnull return new ScheduledActionsForRuleRequestBuilder(rawUrl, requestAdapter); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java index f22b6c211bf..9623fa78d19 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java @@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @return a {@link DeviceComplianceScheduledActionForRule} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -73,7 +73,7 @@ public DeviceComplianceScheduledActionForRule get() { return get(null); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link DeviceComplianceScheduledActionForRule} * @throws ODataError When receiving a 4XX or 5XX status code @@ -131,7 +131,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +139,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -191,7 +191,7 @@ public DeviceComplianceScheduledActionForRuleItemRequestBuilder withUrl(@jakarta public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * The list of scheduled action for this rule + * The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java index c689828bae3..0498d4c65c3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/CloudPCsRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.count.CountRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.getprovisionedcloudpcswithgroupidwithserviceplanid.GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.CloudPCItemRequestBuilder; +import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder; import com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.validatebulkresize.ValidateBulkResizeRequestBuilder; import com.microsoft.graph.beta.models.CloudPC; import com.microsoft.graph.beta.models.CloudPCCollectionResponse; @@ -33,6 +34,14 @@ public class CloudPCsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcCountByStatus method. + * @return a {@link RetrieveCloudPcCountByStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcCountByStatusRequestBuilder retrieveCloudPcCountByStatus() { + return new RetrieveCloudPcCountByStatusRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the validateBulkResize method. * @return a {@link ValidateBulkResizeRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java new file mode 100644 index 00000000000..f4578c5fa9b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.CloudPcStatusSummary; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcCountByStatusGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusGetResponse} and sets the default values. + */ + public RetrieveCloudPcCountByStatusGetResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + */ + @jakarta.annotation.Nonnull + public static RetrieveCloudPcCountByStatusGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RetrieveCloudPcCountByStatusGetResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CloudPcStatusSummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java new file mode 100644 index 00000000000..ebf77d7e303 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/devicemanagement/virtualendpoint/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java @@ -0,0 +1,148 @@ +package com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the retrieveCloudPcCountByStatus method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcCountByStatusRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetrieveCloudPcCountByStatusRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/retrieveCloudPcCountByStatus(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetrieveCloudPcCountByStatusRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/deviceManagement/virtualEndpoint/cloudPCs/retrieveCloudPcCountByStatus(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RetrieveCloudPcCountByStatusGetResponse get() { + return get(null); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RetrieveCloudPcCountByStatusGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RetrieveCloudPcCountByStatusGetResponse::createFromDiscriminatorValue); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RetrieveCloudPcCountByStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcCountByStatusRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RetrieveCloudPcCountByStatusRequestBuilder(rawUrl, requestAdapter); + } + /** + * Retrieve the Cloud PC count grouped by status. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java index 4987ffe8821..cbc87d619ba 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/drives/item/items/item/retentionlabel/RetentionLabelRequestBuilder.java @@ -79,23 +79,23 @@ public ItemRetentionLabel get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ItemRetentionLabel::createFromDiscriminatorValue); } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param body The request body * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body) { return patch(body, null); } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ItemRetentionLabel} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ItemRetentionLabel patch(@jakarta.annotation.Nonnull final ItemRetentionLabel body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -146,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param body The request body * @return a {@link RequestInformation} */ @@ -155,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Lock or unlock a retention label on a driveItem that classifies content as records. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. For more information about how you can lock and unlock retention labels, see Use record versioning to update records stored in SharePoint or OneDrive. + * Apply (set) a retention label on a driveItem (files and folders). Retention labels don't need to be published in a retention label policy to be applied using this method. When a retention label is applied to a folder, all the items in the folder are tagged with the same retention label. For information about conflict resolution for retention labels, see Will an existing label be overridden or removed. For information about retention labels from an administrator's perspective, see Use retention labels to manage the lifecycle of documents stored in SharePoint. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java index 4ddbb1e9ffb..60f21aabe57 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/connections/item/items/item/ExternalItemItemRequestBuilder.java @@ -99,23 +99,23 @@ public ExternalItem get(@jakarta.annotation.Nullable final java.util.function.Co return this.requestAdapter.send(requestInfo, errorMapping, ExternalItem::createFromDiscriminatorValue); } /** - * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + * Update the properties of an externalitem. * @param body The request body * @return a {@link ExternalItem} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body) { return put(body, null); } /** - * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + * Update the properties of an externalitem. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ExternalItem} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ExternalItem put(@jakarta.annotation.Nonnull final ExternalItem body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -166,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + * Update the properties of an externalitem. * @param body The request body * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Create a new externalItem. This API can be used to create a custom item. The containing externalConnection must have a schema registered of the corresponding type. + * Update the properties of an externalitem. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java index 968f017efcc..ee0c87ba44e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/dataconnectors/DataConnectorsRequestBuilder.java @@ -84,23 +84,23 @@ public IndustryDataConnectorCollectionResponse get(@jakarta.annotation.Nullable return this.requestAdapter.send(requestInfo, errorMapping, IndustryDataConnectorCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new azureDataLakeConnector object. + * Create a new oneRosterApiDataConnector object. * @param body The request body * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body) { return post(body, null); } /** - * Create a new azureDataLakeConnector object. + * Create a new oneRosterApiDataConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IndustryDataConnector} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public IndustryDataConnector post(@jakarta.annotation.Nonnull final IndustryDataConnector body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new azureDataLakeConnector object. + * Create a new oneRosterApiDataConnector object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new azureDataLakeConnector object. + * Create a new oneRosterApiDataConnector object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java index 5d7d5ff3e56..adb3ef364d6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/InboundFlowsRequestBuilder.java @@ -84,23 +84,23 @@ public InboundFlowCollectionResponse get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, InboundFlowCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param body The request body * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow post(@jakarta.annotation.Nonnull final InboundFlow body) { return post(body, null); } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow post(@jakarta.annotation.Nonnull final InboundFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param body The request body * @return a {@link RequestInformation} */ @@ -140,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new inboundFileFlow object. + * Create a new inboundApiFlow object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java index f8874058103..eb0ec7eb092 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/inboundflows/item/InboundFlowItemRequestBuilder.java @@ -99,23 +99,23 @@ public InboundFlow get(@jakarta.annotation.Nullable final java.util.function.Con return this.requestAdapter.send(requestInfo, errorMapping, InboundFlow::createFromDiscriminatorValue); } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow patch(@jakarta.annotation.Nonnull final InboundFlow body) { return patch(body, null); } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link InboundFlow} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public InboundFlow patch(@jakarta.annotation.Nonnull final InboundFlow body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -166,7 +166,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @return a {@link RequestInformation} */ @@ -175,7 +175,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an inboundApiFlow object. + * Update the properties of an inboundFileFlow object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java index 941b9b38778..606a423bdd1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/external/industrydata/operations/item/LongRunningOperationItemRequestBuilder.java @@ -55,21 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a fileValidateOperation object. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get() { return get(null); } /** - * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a fileValidateOperation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link LongRunningOperation} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public LongRunningOperation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -124,7 +124,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a fileValidateOperation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -132,7 +132,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a fileValidateOperation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -184,7 +184,7 @@ public LongRunningOperationItemRequestBuilder withUrl(@jakarta.annotation.Nonnul public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of a longRunningOperation object. This API allows you to retrieve the details and status of the following long-running Microsoft Graph API operations. The possible states of the long-running operation are notStarted, running, succeeded, failed, unknownFutureValue where succeeded and failed are terminal states. + * Read the properties and relationships of a fileValidateOperation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java index f6c25c82474..ae9adcbc3b1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/GroupsRequestBuilder.java @@ -129,23 +129,23 @@ public GroupCollectionResponse get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, GroupCollectionResponse::createFromDiscriminatorValue); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Group post(@jakarta.annotation.Nonnull final Group body) { return post(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Group} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Group post(@jakarta.annotation.Nonnull final Group body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -176,7 +176,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @return a {@link RequestInformation} */ @@ -185,7 +185,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create a new group object if it doesn't exist, or update the properties of an existing group object.You can create or update the following types of group: By default, this operation returns only a subset of the properties for each group. For a list of properties that are returned by default, see the Properties section of the group resource. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. + * Create a new group as specified in the request body. You can create one of the following groups: This operation returns by default only a subset of the properties for each group. These default properties are noted in the Properties section. To get properties that are not returned by default, do a GET operation and specify the properties in a $select OData query option. Note: To create a team, first create a group then add a team to it, see create team. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java index 0e358acf5b0..e0fef22361c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/GroupItemRequestBuilder.java @@ -26,6 +26,7 @@ import com.microsoft.graph.beta.groups.item.members.MembersRequestBuilder; import com.microsoft.graph.beta.groups.item.memberswithlicenseerrors.MembersWithLicenseErrorsRequestBuilder; import com.microsoft.graph.beta.groups.item.onenote.OnenoteRequestBuilder; +import com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder; import com.microsoft.graph.beta.groups.item.owners.OwnersRequestBuilder; import com.microsoft.graph.beta.groups.item.permissiongrants.PermissionGrantsRequestBuilder; import com.microsoft.graph.beta.groups.item.photo.PhotoRequestBuilder; @@ -275,6 +276,14 @@ public MembersWithLicenseErrorsRequestBuilder membersWithLicenseErrors() { public OnenoteRequestBuilder onenote() { return new OnenoteRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.group entity. + * @return a {@link OnPremisesSyncBehaviorRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OnPremisesSyncBehaviorRequestBuilder onPremisesSyncBehavior() { + return new OnPremisesSyncBehaviorRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the owners property of the microsoft.graph.group entity. * @return a {@link OwnersRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java index d1dd61f625c..f79110d4316 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/ConversationItemRequestBuilder.java @@ -46,18 +46,18 @@ public ConversationItemRequestBuilder(@jakarta.annotation.Nonnull final String r super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete conversation. + * Delete a group's conversation object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete conversation. + * Delete a group's conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -90,7 +90,7 @@ public Conversation get(@jakarta.annotation.Nullable final java.util.function.Co return this.requestAdapter.send(requestInfo, errorMapping, Conversation::createFromDiscriminatorValue); } /** - * Delete conversation. + * Delete a group's conversation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -98,7 +98,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete conversation. + * Delete a group's conversation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java index 53b66403afc..a0a535579af 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/conversations/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/onpremisessyncbehavior/OnPremisesSyncBehaviorRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onpremisessyncbehavior/OnPremisesSyncBehaviorRequestBuilder.java new file mode 100644 index 00000000000..f1fdcd673c8 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/onpremisessyncbehavior/OnPremisesSyncBehaviorRequestBuilder.java @@ -0,0 +1,232 @@ +package com.microsoft.graph.beta.groups.item.onpremisessyncbehavior; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.OnPremisesSyncBehavior; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the onPremisesSyncBehavior property of the microsoft.graph.group entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnPremisesSyncBehaviorRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link OnPremisesSyncBehaviorRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OnPremisesSyncBehaviorRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link OnPremisesSyncBehaviorRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public OnPremisesSyncBehaviorRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/onPremisesSyncBehavior{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property onPremisesSyncBehavior for groups + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property onPremisesSyncBehavior for groups + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @return a {@link OnPremisesSyncBehavior} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OnPremisesSyncBehavior get() { + return get(null); + } + /** + * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OnPremisesSyncBehavior} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OnPremisesSyncBehavior get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OnPremisesSyncBehavior::createFromDiscriminatorValue); + } + /** + * Update the properties of an onPremisesSyncBehavior object. + * @param body The request body + * @return a {@link OnPremisesSyncBehavior} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OnPremisesSyncBehavior patch(@jakarta.annotation.Nonnull final OnPremisesSyncBehavior body) { + return patch(body, null); + } + /** + * Update the properties of an onPremisesSyncBehavior object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link OnPremisesSyncBehavior} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public OnPremisesSyncBehavior patch(@jakarta.annotation.Nonnull final OnPremisesSyncBehavior body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, OnPremisesSyncBehavior::createFromDiscriminatorValue); + } + /** + * Delete navigation property onPremisesSyncBehavior for groups + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property onPremisesSyncBehavior for groups + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the properties of an onPremisesSyncBehavior object. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnPremisesSyncBehavior body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the properties of an onPremisesSyncBehavior object. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final OnPremisesSyncBehavior body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link OnPremisesSyncBehaviorRequestBuilder} + */ + @jakarta.annotation.Nonnull + public OnPremisesSyncBehaviorRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new OnPremisesSyncBehaviorRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Read the properties of an onPremisesSyncBehavior object. The isCloudManaged property indicates whether the object's source of authority is set to the cloud. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java index b7022ee40b5..b2d52882801 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/ConversationThreadItemRequestBuilder.java @@ -55,18 +55,18 @@ public ConversationThreadItemRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete conversationThread. + * Delete a thread object. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete conversationThread. + * Delete a thread object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -126,7 +126,7 @@ public ConversationThread patch(@jakarta.annotation.Nonnull final ConversationTh return this.requestAdapter.send(requestInfo, errorMapping, ConversationThread::createFromDiscriminatorValue); } /** - * Delete conversationThread. + * Delete a thread object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -134,7 +134,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete conversationThread. + * Delete a thread object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java index 5b3a74e21b3..87c1e46161c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/groups/item/threads/item/reply/ReplyRequestBuilder.java @@ -35,20 +35,20 @@ public ReplyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jak super(requestAdapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply", rawUrl); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body) { post(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final ReplyPostRequestBody body, @j this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. + * Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. The table in the Permissions section lists the resources that support open extensions. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java index 7b513ff9768..c9a9092cc7d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identity/customauthenticationextensions/item/CustomAuthenticationExtensionItemRequestBuilder.java @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + * Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. * @return a {@link CustomAuthenticationExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomAuthenticationExtension get() { return get(null); } /** - * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + * Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomAuthenticationExtension} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CustomAuthenticationExtension get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -135,7 +135,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + * Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -143,7 +143,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + * Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -195,7 +195,7 @@ public CustomAuthenticationExtensionItemRequestBuilder withUrl(@jakarta.annotati public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Read the properties and relationships of an authenticationEventListener object. The @odata.type property in the response object indicates the type of the authenticationEventListener object. The following derived types are currently supported. + * Read the properties and relationships of a customAuthenticationExtension object. The following derived types are currently supported. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java index 63b2a53c3f0..1c44f8dccd9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/accesspackagecustomworkflowextensions/item/CustomCalloutExtensionItemRequestBuilder.java @@ -91,13 +91,13 @@ public CustomCalloutExtension get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, CustomCalloutExtension::createFromDiscriminatorValue); } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -105,14 +105,14 @@ public CustomCalloutExtension patch(@jakarta.annotation.Nonnull final CustomCall return patch(body, null); } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CustomCalloutExtension} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -176,7 +176,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @return a {@link RequestInformation} * @deprecated @@ -188,7 +188,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of an accessPackageAssignmentWorkflowExtension object. + * Update the properties of an accessPackageAssignmentRequestWorkflowExtension object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java index 168a3e00103..9898c292ad6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/identitygovernance/entitlementmanagement/accesspackagecatalogs/item/customaccesspackageworkflowextensions/item/CustomAccessPackageWorkflowExtensionItemRequestBuilder.java @@ -37,23 +37,23 @@ public CustomAccessPackageWorkflowExtensionItemRequestBuilder(@jakarta.annotatio super(requestAdapter, "{+baseurl}/identityGovernance/entitlementManagement/accessPackageCatalogs/{accessPackageCatalog%2Did}/customAccessPackageWorkflowExtensions/{customAccessPackageWorkflowExtension%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete() { delete(null); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 - * @see Find more info here + * @see Find more info here */ @Deprecated public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public CustomAccessPackageWorkflowExtension patch(@jakarta.annotation.Nonnull fi return this.requestAdapter.send(requestInfo, errorMapping, CustomAccessPackageWorkflowExtension::createFromDiscriminatorValue); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @return a {@link RequestInformation} * @deprecated * as of 2022-10/PrivatePreview:MicrosofEntitlementManagementCustomextensions on 2023-03-01 and will be removed 2023-12-31 @@ -137,7 +137,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete an accessPackageAssignmentWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the accessPackageCustomWorkflowExtension object that you want to delete by running the List accessPackageCustomWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 3: Remove the customExtensionStageSettings from a policy. + * Delete a customAccessPackageWorkflowExtension object. The custom workflow extension must first be removed from any associated policies before it can be deleted. Follow these steps to remove the custom workflow extension from any associated policies:1. First retrieve the accessPackageCatalogId by calling the Get accessPackageAssignmentPolicies operation and appending ?$expand=accessPackage($expand=accessPackageCatalog) to the query. For example, https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentPolicies?$expand=accessPackage($expand=accessPackageCatalog).2. Use the access package catalog ID and retrieve the ID of the customAccessPackageWorkflowExtension object that you want to delete by running the LIST customAccessPackageWorkflowExtensions operation.3. Call the Update accessPackageAssignmentPolicy operation to remove the custom workflow extension object from the policy. For an example, see Example 2: Remove the customExtensionHandlers and verifiableCredentialSettings from a policy. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt index f289dfd5fb1..ff8696bc344 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-dom-export.txt @@ -66255,6 +66255,7 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsReque com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|getProvisionedCloudPCsWithGroupIdWithServicePlanId(groupId:String; servicePlanId:String):GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|post(body:CloudPC):CloudPC com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|post(body:CloudPC; requestConfiguration?:java.util.function.Consumer):CloudPC +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|retrieveCloudPcCountByStatus:RetrieveCloudPcCountByStatusRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.CloudPCsRequestBuilder::|public|toPostRequestInformation(body:CloudPC):RequestInformation @@ -66697,6 +66698,30 @@ com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.troubles com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|withUrl(rawUrl:String):TroubleshootRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|constructor():void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|get():RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|withUrl(rawUrl:String):RetrieveCloudPcCountByStatusRequestBuilder com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|public|constructor():void com.microsoft.graph.beta.devicemanagement.virtualendpoint.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|public|getAdditionalData():Map @@ -126409,6 +126434,7 @@ com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|memberOf:M com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|members:MembersRequestBuilder com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|membersWithLicenseErrors:MembersWithLicenseErrorsRequestBuilder com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|onenote:OnenoteRequestBuilder +com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|onPremisesSyncBehavior:OnPremisesSyncBehaviorRequestBuilder com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|owners:OwnersRequestBuilder com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|patch(body:Group):Group com.microsoft.graph.beta.groups.item.GroupItemRequestBuilder::|public|patch(body:Group; requestConfiguration?:java.util.function.Consumer):Group @@ -129619,6 +129645,30 @@ com.microsoft.graph.beta.groups.item.onenote.sections.SectionsRequestBuilder::|p com.microsoft.graph.beta.groups.item.onenote.sections.SectionsRequestBuilder::|public|toPostRequestInformation(body:OnenoteSection):RequestInformation com.microsoft.graph.beta.groups.item.onenote.sections.SectionsRequestBuilder::|public|toPostRequestInformation(body:OnenoteSection; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.groups.item.onenote.sections.SectionsRequestBuilder::|public|withUrl(rawUrl:String):SectionsRequestBuilder +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|get():OnPremisesSyncBehavior +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):OnPremisesSyncBehavior +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|patch(body:OnPremisesSyncBehavior):OnPremisesSyncBehavior +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|patch(body:OnPremisesSyncBehavior; requestConfiguration?:java.util.function.Consumer):OnPremisesSyncBehavior +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toPatchRequestInformation(body:OnPremisesSyncBehavior):RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|toPatchRequestInformation(body:OnPremisesSyncBehavior; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.groups.item.onpremisessyncbehavior.OnPremisesSyncBehaviorRequestBuilder::|public|withUrl(rawUrl:String):OnPremisesSyncBehaviorRequestBuilder com.microsoft.graph.beta.groups.item.owners.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.groups.item.owners.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.groups.item.owners.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -176341,6 +176391,34 @@ com.microsoft.graph.beta.models.AccessPackageAnswerString::|public|serialize(wri com.microsoft.graph.beta.models.AccessPackageAnswerString::|public|setValue(value?:String):void com.microsoft.graph.beta.models.AccessPackageAnswerString::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageAnswerString com.microsoft.graph.beta.models.AccessPackageAnswer~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|constructor():void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getDurationBeforeAutomaticDenial():PeriodAndDuration +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getDurationBeforeEscalation():PeriodAndDuration +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getEscalationApprovers():java.util.List +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getFallbackEscalationApprovers():java.util.List +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getFallbackPrimaryApprovers():java.util.List +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getIsApproverJustificationRequired():Boolean +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getIsEscalationEnabled():Boolean +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getOdataType():String +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|getPrimaryApprovers():java.util.List +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setDurationBeforeAutomaticDenial(value?:PeriodAndDuration):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setDurationBeforeEscalation(value?:PeriodAndDuration):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setEscalationApprovers(value?:java.util.List):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setFallbackEscalationApprovers(value?:java.util.List):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setFallbackPrimaryApprovers(value?:java.util.List):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setIsApproverJustificationRequired(value?:Boolean):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setIsEscalationEnabled(value?:Boolean):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|public|setPrimaryApprovers(value?:java.util.List):void +com.microsoft.graph.beta.models.AccessPackageApprovalStage::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageApprovalStage +com.microsoft.graph.beta.models.AccessPackageApprovalStage~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.AccessPackageAssignment-->Entity com.microsoft.graph.beta.models.AccessPackageAssignment::|public|constructor():void com.microsoft.graph.beta.models.AccessPackageAssignment::|public|getAccessPackage():AccessPackage @@ -176653,6 +176731,14 @@ com.microsoft.graph.beta.models.AccessPackageCustomExtensionStage::0003-Assignme com.microsoft.graph.beta.models.AccessPackageCustomExtensionStage::0004-AssignmentFourteenDaysBeforeExpiration com.microsoft.graph.beta.models.AccessPackageCustomExtensionStage::0005-AssignmentOneDayBeforeExpiration com.microsoft.graph.beta.models.AccessPackageCustomExtensionStage::0006-UnknownFutureValue +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage-->ApprovalStage +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|constructor():void +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|getCustomExtension():CustomCalloutExtension +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|OdataType:String +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|public|setCustomExtension(value?:CustomCalloutExtension):void +com.microsoft.graph.beta.models.AccessPackageDynamicApprovalStage::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageDynamicApprovalStage com.microsoft.graph.beta.models.AccessPackageLocalizedContent::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AccessPackageLocalizedContent::|public|constructor():void com.microsoft.graph.beta.models.AccessPackageLocalizedContent::|public|getAdditionalData():Map @@ -176731,6 +176817,12 @@ com.microsoft.graph.beta.models.AccessPackageQuestion::|public|setSequence(value com.microsoft.graph.beta.models.AccessPackageQuestion::|public|setText(value?:AccessPackageLocalizedContent):void com.microsoft.graph.beta.models.AccessPackageQuestion::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageQuestion com.microsoft.graph.beta.models.AccessPackageQuestion~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration-->CustomExtensionCallbackConfiguration +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration::|public|constructor():void +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration::|public|OdataType:String +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AccessPackageRequestApprovalStageCallbackConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AccessPackageRequestApprovalStageCallbackConfiguration com.microsoft.graph.beta.models.AccessPackageResource-->Entity com.microsoft.graph.beta.models.AccessPackageResource::|public|constructor():void com.microsoft.graph.beta.models.AccessPackageResource::|public|getAccessPackageResourceEnvironment():AccessPackageResourceEnvironment @@ -183904,6 +183996,14 @@ com.microsoft.graph.beta.models.AssignmentOrder::|public|setOdataType(value?:Str com.microsoft.graph.beta.models.AssignmentOrder::|public|setOrder(value?:java.util.List):void com.microsoft.graph.beta.models.AssignmentOrder::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AssignmentOrder com.microsoft.graph.beta.models.AssignmentOrder~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData-->AccessPackageAssignmentRequestCallbackData +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|constructor():void +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|getApprovalStage():AccessPackageApprovalStage +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|OdataType:String +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|public|setApprovalStage(value?:AccessPackageApprovalStage):void +com.microsoft.graph.beta.models.AssignmentRequestApprovalStageCallbackData::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AssignmentRequestApprovalStageCallbackData com.microsoft.graph.beta.models.AssignmentReviewSettings::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.AssignmentReviewSettings::|public|constructor():void com.microsoft.graph.beta.models.AssignmentReviewSettings::|public|getAccessReviewTimeoutBehavior():AccessReviewTimeoutBehavior @@ -184760,6 +184860,7 @@ com.microsoft.graph.beta.models.AuditUserIdentity::|static|public|createFromDisc com.microsoft.graph.beta.models.Authentication-->Entity com.microsoft.graph.beta.models.Authentication::|public|constructor():void com.microsoft.graph.beta.models.Authentication::|public|getEmailMethods():java.util.List +com.microsoft.graph.beta.models.Authentication::|public|getExternalAuthenticationMethods():java.util.List com.microsoft.graph.beta.models.Authentication::|public|getFido2Methods():java.util.List com.microsoft.graph.beta.models.Authentication::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.Authentication::|public|getHardwareOathMethods():java.util.List @@ -184779,6 +184880,7 @@ com.microsoft.graph.beta.models.Authentication::|public|getWindowsHelloForBusine com.microsoft.graph.beta.models.Authentication::|public|OdataType:String com.microsoft.graph.beta.models.Authentication::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.Authentication::|public|setEmailMethods(value?:java.util.List):void +com.microsoft.graph.beta.models.Authentication::|public|setExternalAuthenticationMethods(value?:java.util.List):void com.microsoft.graph.beta.models.Authentication::|public|setFido2Methods(value?:java.util.List):void com.microsoft.graph.beta.models.Authentication::|public|setHardwareOathMethods(value?:java.util.List):void com.microsoft.graph.beta.models.Authentication::|public|setMethods(value?:java.util.List):void @@ -191178,6 +191280,7 @@ com.microsoft.graph.beta.models.CloudPC::|public|getOsVersion():CloudPcOperating com.microsoft.graph.beta.models.CloudPC::|public|getPartnerAgentInstallResults():java.util.List com.microsoft.graph.beta.models.CloudPC::|public|getPowerState():CloudPcPowerState com.microsoft.graph.beta.models.CloudPC::|public|getProductType():CloudPcProductType +com.microsoft.graph.beta.models.CloudPC::|public|getProvisionedDateTime():OffsetDateTime com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningPolicyId():String com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningPolicyName():String com.microsoft.graph.beta.models.CloudPC::|public|getProvisioningType():CloudPcProvisioningType @@ -191185,6 +191288,7 @@ com.microsoft.graph.beta.models.CloudPC::|public|getScopeIds():java.util.List):void com.microsoft.graph.beta.models.CloudPC::|public|setPowerState(value?:CloudPcPowerState):void com.microsoft.graph.beta.models.CloudPC::|public|setProductType(value?:CloudPcProductType):void +com.microsoft.graph.beta.models.CloudPC::|public|setProvisionedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningPolicyId(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningPolicyName(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setProvisioningType(value?:CloudPcProvisioningType):void @@ -191221,6 +191326,7 @@ com.microsoft.graph.beta.models.CloudPC::|public|setScopeIds(value?:java.util.Li com.microsoft.graph.beta.models.CloudPC::|public|setServicePlanId(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setServicePlanName(value?:String):void com.microsoft.graph.beta.models.CloudPC::|public|setServicePlanType(value?:CloudPcServicePlanType):void +com.microsoft.graph.beta.models.CloudPC::|public|setSharedDeviceDetail(value?:CloudPcFrontlineSharedDeviceDetail):void com.microsoft.graph.beta.models.CloudPC::|public|setStatus(value?:CloudPcStatus):void com.microsoft.graph.beta.models.CloudPC::|public|setStatusDetail(value?:CloudPcStatusDetail):void com.microsoft.graph.beta.models.CloudPC::|public|setStatusDetails(value?:CloudPcStatusDetails):void @@ -191740,6 +191846,7 @@ com.microsoft.graph.beta.models.CloudPcDeviceImageErrorCode::0008-SourceImageNot com.microsoft.graph.beta.models.CloudPcDeviceImageErrorCode::0009-SourceImageSizeExceedsLimitation com.microsoft.graph.beta.models.CloudPcDeviceImageErrorCode::0010-SourceImageWithDataDiskNotSupported com.microsoft.graph.beta.models.CloudPcDeviceImageErrorCode::0011-SourceImageWithDiskEncryptionSetNotSupported +com.microsoft.graph.beta.models.CloudPcDeviceImageErrorCode::0012-SourceImageWithAzureDiskEncryptionNotSupported com.microsoft.graph.beta.models.CloudPcDeviceImageOsStatus::0000-Supported com.microsoft.graph.beta.models.CloudPcDeviceImageOsStatus::0001-SupportedWithWarning com.microsoft.graph.beta.models.CloudPcDeviceImageOsStatus::0002-Unknown @@ -191960,6 +192067,20 @@ com.microsoft.graph.beta.models.CloudPcFrontLineServicePlanCollectionResponse::| com.microsoft.graph.beta.models.CloudPcFrontLineServicePlanCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.CloudPcFrontLineServicePlanCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.CloudPcFrontLineServicePlanCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcFrontLineServicePlanCollectionResponse +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|constructor():void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|getAssignedToUserPrincipalName():String +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|getOdataType():String +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|setAssignedToUserPrincipalName(value?:String):void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcFrontlineSharedDeviceDetail +com.microsoft.graph.beta.models.CloudPcFrontlineSharedDeviceDetail~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CloudPcGalleryImage-->Entity com.microsoft.graph.beta.models.CloudPcGalleryImage::|public|constructor():void com.microsoft.graph.beta.models.CloudPcGalleryImage::|public|getDisplayName():String @@ -192455,6 +192576,8 @@ com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getAutopatch( com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getAutopilotConfiguration():CloudPcAutopilotConfiguration com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getCloudPcGroupDisplayName():String com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getCloudPcNamingTemplate():String +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getCreatedBy():String +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getDescription():String com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getDisplayName():String com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getDomainJoinConfigurations():java.util.List @@ -192464,6 +192587,8 @@ com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getGracePerio com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getImageDisplayName():String com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getImageId():String com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getImageType():CloudPcProvisioningPolicyImageType +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getLastModifiedBy():String +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getLastModifiedDateTime():OffsetDateTime com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getLocalAdminEnabled():Boolean com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getManagedBy():CloudPcManagementService com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|getMicrosoftManagedDesktop():MicrosoftManagedDesktop @@ -192479,6 +192604,8 @@ com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setAutopatch( com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setAutopilotConfiguration(value?:CloudPcAutopilotConfiguration):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setCloudPcGroupDisplayName(value?:String):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setCloudPcNamingTemplate(value?:String):void +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setCreatedBy(value?:String):void +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setDescription(value?:String):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setDisplayName(value?:String):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setDomainJoinConfigurations(value?:java.util.List):void @@ -192487,6 +192614,8 @@ com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setGracePerio com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setImageDisplayName(value?:String):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setImageId(value?:String):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setImageType(value?:CloudPcProvisioningPolicyImageType):void +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setLastModifiedBy(value?:String):void +com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setLastModifiedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setLocalAdminEnabled(value?:Boolean):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setManagedBy(value?:CloudPcManagementService):void com.microsoft.graph.beta.models.CloudPcProvisioningPolicy::|public|setMicrosoftManagedDesktop(value?:MicrosoftManagedDesktop):void @@ -192536,11 +192665,15 @@ com.microsoft.graph.beta.models.CloudPcProvisioningPolicyCollectionResponse::|st com.microsoft.graph.beta.models.CloudPcProvisioningPolicyImageType::0000-Gallery com.microsoft.graph.beta.models.CloudPcProvisioningPolicyImageType::0001-Custom com.microsoft.graph.beta.models.CloudPcProvisioningPolicyImageType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcProvisioningSourceType::0000-Image +com.microsoft.graph.beta.models.CloudPcProvisioningSourceType::0001-Snapshot +com.microsoft.graph.beta.models.CloudPcProvisioningSourceType::0002-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcProvisioningType::0000-Dedicated com.microsoft.graph.beta.models.CloudPcProvisioningType::0001-Shared com.microsoft.graph.beta.models.CloudPcProvisioningType::0002-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcProvisioningType::0003-SharedByUser com.microsoft.graph.beta.models.CloudPcProvisioningType::0004-SharedByEntraGroup +com.microsoft.graph.beta.models.CloudPcProvisioningType::0005-Reserve com.microsoft.graph.beta.models.CloudPcRecommendationReportType::0000-CloudPcUsageCategoryReports com.microsoft.graph.beta.models.CloudPcRecommendationReportType::0001-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcRegionGroup::0000-Default @@ -192825,6 +192958,7 @@ com.microsoft.graph.beta.models.CloudPcSnapshotStatus::0001-UnknownFutureValue com.microsoft.graph.beta.models.CloudPcSnapshotType::0000-Automatic com.microsoft.graph.beta.models.CloudPcSnapshotType::0001-Manual com.microsoft.graph.beta.models.CloudPcSnapshotType::0002-UnknownFutureValue +com.microsoft.graph.beta.models.CloudPcSnapshotType::0003-Retention com.microsoft.graph.beta.models.CloudPcSourceDeviceImage::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.CloudPcSourceDeviceImage::|public|constructor():void com.microsoft.graph.beta.models.CloudPcSourceDeviceImage::|public|getAdditionalData():Map @@ -192899,6 +193033,22 @@ com.microsoft.graph.beta.models.CloudPcStatusDetails::|public|setOdataType(value com.microsoft.graph.beta.models.CloudPcStatusDetails::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcStatusDetails com.microsoft.graph.beta.models.CloudPcStatusDetails~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CloudPcStatusDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.CloudPcStatusSummary::|protected|backingStore:BackingStore +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|constructor():void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getAdditionalData():Map +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getCount():Integer +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getOdataType():String +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|getStatus():CloudPcStatus +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|setCount(value?:Integer):void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|public|setStatus(value?:CloudPcStatus):void +com.microsoft.graph.beta.models.CloudPcStatusSummary::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CloudPcStatusSummary +com.microsoft.graph.beta.models.CloudPcStatusSummary~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.CloudPcStorageAccountAccessTier::0000-Hot com.microsoft.graph.beta.models.CloudPcStorageAccountAccessTier::0001-Cool com.microsoft.graph.beta.models.CloudPcStorageAccountAccessTier::0002-Premium @@ -193012,6 +193162,7 @@ com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getFieldDeserializer com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getLastModifiedDateTime():OffsetDateTime com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getLocalAdminEnabled():Boolean com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getNotificationSetting():CloudPcNotificationSetting +com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getProvisioningSourceType():CloudPcProvisioningSourceType com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getResetEnabled():Boolean com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getRestorePointSetting():CloudPcRestorePointSetting com.microsoft.graph.beta.models.CloudPcUserSetting::|public|getSelfServiceEnabled():Boolean @@ -193024,6 +193175,7 @@ com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setDisplayName(value com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setLastModifiedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setLocalAdminEnabled(value?:Boolean):void com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setNotificationSetting(value?:CloudPcNotificationSetting):void +com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setProvisioningSourceType(value?:CloudPcProvisioningSourceType):void com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setResetEnabled(value?:Boolean):void com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setRestorePointSetting(value?:CloudPcRestorePointSetting):void com.microsoft.graph.beta.models.CloudPcUserSetting::|public|setSelfServiceEnabled(value?:Boolean):void @@ -194513,6 +194665,7 @@ com.microsoft.graph.beta.models.Configuration::|static|public|createFromDiscrimi com.microsoft.graph.beta.models.ConfigurationApplication-->Entity com.microsoft.graph.beta.models.ConfigurationApplication::|public|constructor():void com.microsoft.graph.beta.models.ConfigurationApplication::|public|getAppId():String +com.microsoft.graph.beta.models.ConfigurationApplication::|public|getAppOwnerOrganizationId():String com.microsoft.graph.beta.models.ConfigurationApplication::|public|getClientCredentials():ClientCredentials com.microsoft.graph.beta.models.ConfigurationApplication::|public|getCreatedBy():IdentitySet com.microsoft.graph.beta.models.ConfigurationApplication::|public|getCreatedDateTime():OffsetDateTime @@ -194525,6 +194678,7 @@ com.microsoft.graph.beta.models.ConfigurationApplication::|public|getTenantId(): com.microsoft.graph.beta.models.ConfigurationApplication::|public|OdataType:String com.microsoft.graph.beta.models.ConfigurationApplication::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.ConfigurationApplication::|public|setAppId(value?:String):void +com.microsoft.graph.beta.models.ConfigurationApplication::|public|setAppOwnerOrganizationId(value?:String):void com.microsoft.graph.beta.models.ConfigurationApplication::|public|setClientCredentials(value?:ClientCredentials):void com.microsoft.graph.beta.models.ConfigurationApplication::|public|setCreatedBy(value?:IdentitySet):void com.microsoft.graph.beta.models.ConfigurationApplication::|public|setCreatedDateTime(value?:OffsetDateTime):void @@ -209817,6 +209971,23 @@ com.microsoft.graph.beta.models.External::|static|public|createFromDiscriminator com.microsoft.graph.beta.models.ExternalAudienceScope::0000-None com.microsoft.graph.beta.models.ExternalAudienceScope::0001-ContactsOnly com.microsoft.graph.beta.models.ExternalAudienceScope::0002-All +com.microsoft.graph.beta.models.ExternalAuthenticationMethod-->AuthenticationMethod +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|constructor():void +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|getConfigurationId():String +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|getDisplayName():String +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|OdataType:String +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|setConfigurationId(value?:String):void +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|public|setDisplayName(value?:String):void +com.microsoft.graph.beta.models.ExternalAuthenticationMethod::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethod +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|public|constructor():void +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ExternalAuthenticationMethodCollectionResponse com.microsoft.graph.beta.models.ExternalAuthenticationMethodConfiguration-->AuthenticationMethodConfiguration com.microsoft.graph.beta.models.ExternalAuthenticationMethodConfiguration::|public|constructor():void com.microsoft.graph.beta.models.ExternalAuthenticationMethodConfiguration::|public|getAppId():String @@ -212227,6 +212398,7 @@ com.microsoft.graph.beta.models.Group::|public|getOnPremisesNetBiosName():String com.microsoft.graph.beta.models.Group::|public|getOnPremisesProvisioningErrors():java.util.List com.microsoft.graph.beta.models.Group::|public|getOnPremisesSamAccountName():String com.microsoft.graph.beta.models.Group::|public|getOnPremisesSecurityIdentifier():String +com.microsoft.graph.beta.models.Group::|public|getOnPremisesSyncBehavior():OnPremisesSyncBehavior com.microsoft.graph.beta.models.Group::|public|getOnPremisesSyncEnabled():Boolean com.microsoft.graph.beta.models.Group::|public|getOrganizationId():String com.microsoft.graph.beta.models.Group::|public|getOwners():java.util.List @@ -212310,6 +212482,7 @@ com.microsoft.graph.beta.models.Group::|public|setOnPremisesNetBiosName(value?:S com.microsoft.graph.beta.models.Group::|public|setOnPremisesProvisioningErrors(value?:java.util.List):void com.microsoft.graph.beta.models.Group::|public|setOnPremisesSamAccountName(value?:String):void com.microsoft.graph.beta.models.Group::|public|setOnPremisesSecurityIdentifier(value?:String):void +com.microsoft.graph.beta.models.Group::|public|setOnPremisesSyncBehavior(value?:OnPremisesSyncBehavior):void com.microsoft.graph.beta.models.Group::|public|setOnPremisesSyncEnabled(value?:Boolean):void com.microsoft.graph.beta.models.Group::|public|setOrganizationId(value?:String):void com.microsoft.graph.beta.models.Group::|public|setOwners(value?:java.util.List):void @@ -215505,12 +215678,14 @@ com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|getB com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|getFieldDeserializers():Map> com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|getMarkAllStudentsAsMinors():Boolean com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|getOdataType():String +com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|getStudentAgeGroup():StudentAgeGroup com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setAllowStudentContactAssociation(value?:Boolean):void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setMarkAllStudentsAsMinors(value?:Boolean):void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setOdataType(value?:String):void +com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|public|setStudentAgeGroup(value?:StudentAgeGroup):void com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):AdditionalUserOptions com.microsoft.graph.beta.models.industrydata.AdditionalUserOptions~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.beta.models.industrydata.AdministrativeUnitProvisioningFlow-->ProvisioningFlow @@ -216175,6 +216350,10 @@ com.microsoft.graph.beta.models.industrydata.SourceSystemDefinitionCollectionRes com.microsoft.graph.beta.models.industrydata.SourceSystemDefinitionCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.beta.models.industrydata.SourceSystemDefinitionCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.beta.models.industrydata.SourceSystemDefinitionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):SourceSystemDefinitionCollectionResponse +com.microsoft.graph.beta.models.industrydata.StudentAgeGroup::0000-Minor +com.microsoft.graph.beta.models.industrydata.StudentAgeGroup::0001-NotAdult +com.microsoft.graph.beta.models.industrydata.StudentAgeGroup::0002-Adult +com.microsoft.graph.beta.models.industrydata.StudentAgeGroup::0003-UnknownFutureValue com.microsoft.graph.beta.models.industrydata.UserConfiguration::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.industrydata.UserConfiguration::|public|constructor():void com.microsoft.graph.beta.models.industrydata.UserConfiguration::|public|getAdditionalData():Map @@ -233103,6 +233282,14 @@ com.microsoft.graph.beta.models.OnPremisesSipInfo::|public|setSipDeploymentLocat com.microsoft.graph.beta.models.OnPremisesSipInfo::|public|setSipPrimaryAddress(value?:String):void com.microsoft.graph.beta.models.OnPremisesSipInfo::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnPremisesSipInfo com.microsoft.graph.beta.models.OnPremisesSipInfo~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.models.OnPremisesSyncBehavior-->Entity +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|constructor():void +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|getIsCloudManaged():Boolean +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|OdataType:String +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|public|setIsCloudManaged(value?:Boolean):void +com.microsoft.graph.beta.models.OnPremisesSyncBehavior::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):OnPremisesSyncBehavior com.microsoft.graph.beta.models.OnPremisesWritebackConfiguration::|protected|backingStore:BackingStore com.microsoft.graph.beta.models.OnPremisesWritebackConfiguration::|public|constructor():void com.microsoft.graph.beta.models.OnPremisesWritebackConfiguration::|public|getAdditionalData():Map @@ -241339,6 +241526,7 @@ com.microsoft.graph.beta.models.ProtectGroup::|public|setPrivacy(value?:GroupPri com.microsoft.graph.beta.models.ProtectGroup::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ProtectGroup com.microsoft.graph.beta.models.ProtectionPolicyBase-->Entity com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|constructor():void +com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getBillingPolicyId():String com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getCreatedBy():IdentitySet com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getCreatedDateTime():OffsetDateTime com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getDisplayName():String @@ -241349,6 +241537,7 @@ com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getRetentionSettin com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|getStatus():ProtectionPolicyStatus com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|OdataType:String com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|setBillingPolicyId(value?:String):void com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|setCreatedBy(value?:IdentitySet):void com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|setCreatedDateTime(value?:OffsetDateTime):void com.microsoft.graph.beta.models.ProtectionPolicyBase::|public|setDisplayName(value?:String):void @@ -243472,6 +243661,11 @@ com.microsoft.graph.beta.models.Report::|public|setBackingStore(value:BackingSto com.microsoft.graph.beta.models.Report::|public|setContent(value?:byte[]):void com.microsoft.graph.beta.models.Report::|public|setOdataType(value?:String):void com.microsoft.graph.beta.models.Report::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Report +com.microsoft.graph.beta.models.ReportAction::0000-Unknown +com.microsoft.graph.beta.models.ReportAction::0001-Junk +com.microsoft.graph.beta.models.ReportAction::0002-NotJunk +com.microsoft.graph.beta.models.ReportAction::0003-Phish +com.microsoft.graph.beta.models.ReportAction::0004-UnknownFutureValue com.microsoft.graph.beta.models.ReportRoot-->Entity com.microsoft.graph.beta.models.ReportRoot::|public|constructor():void com.microsoft.graph.beta.models.ReportRoot::|public|getAppCredentialSignInActivities():java.util.List @@ -244771,7 +244965,7 @@ com.microsoft.graph.beta.models.RoleManagement::|public|constructor():void com.microsoft.graph.beta.models.RoleManagement::|public|getAdditionalData():Map com.microsoft.graph.beta.models.RoleManagement::|public|getBackingStore():BackingStore com.microsoft.graph.beta.models.RoleManagement::|public|getCloudPC():RbacApplicationMultiple -com.microsoft.graph.beta.models.RoleManagement::|public|getDefender():RbacApplicationMultiple +com.microsoft.graph.beta.models.RoleManagement::|public|getDefender():UnifiedRbacApplicationMultiple com.microsoft.graph.beta.models.RoleManagement::|public|getDeviceManagement():RbacApplicationMultiple com.microsoft.graph.beta.models.RoleManagement::|public|getDirectory():RbacApplication com.microsoft.graph.beta.models.RoleManagement::|public|getEnterpriseApps():java.util.List @@ -244783,7 +244977,7 @@ com.microsoft.graph.beta.models.RoleManagement::|public|serialize(writer:Seriali com.microsoft.graph.beta.models.RoleManagement::|public|setAdditionalData(value?:Map):void com.microsoft.graph.beta.models.RoleManagement::|public|setBackingStore(value:BackingStore):void com.microsoft.graph.beta.models.RoleManagement::|public|setCloudPC(value?:RbacApplicationMultiple):void -com.microsoft.graph.beta.models.RoleManagement::|public|setDefender(value?:RbacApplicationMultiple):void +com.microsoft.graph.beta.models.RoleManagement::|public|setDefender(value?:UnifiedRbacApplicationMultiple):void com.microsoft.graph.beta.models.RoleManagement::|public|setDeviceManagement(value?:RbacApplicationMultiple):void com.microsoft.graph.beta.models.RoleManagement::|public|setDirectory(value?:RbacApplication):void com.microsoft.graph.beta.models.RoleManagement::|public|setEnterpriseApps(value?:java.util.List):void @@ -264340,6 +264534,14 @@ com.microsoft.graph.beta.models.UnifiedRbacApplication::|public|setRoleAssignmen com.microsoft.graph.beta.models.UnifiedRbacApplication::|public|setRoleDefinitions(value?:java.util.List):void com.microsoft.graph.beta.models.UnifiedRbacApplication::|public|setTransitiveRoleAssignments(value?:java.util.List):void com.microsoft.graph.beta.models.UnifiedRbacApplication::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UnifiedRbacApplication +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple-->RbacApplicationMultiple +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|constructor():void +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|getCustomAppScopes():java.util.List +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|OdataType:String +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|public|setCustomAppScopes(value?:java.util.List):void +com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UnifiedRbacApplicationMultiple com.microsoft.graph.beta.models.UnifiedRbacResourceAction-->Entity com.microsoft.graph.beta.models.UnifiedRbacResourceAction::|public|constructor():void com.microsoft.graph.beta.models.UnifiedRbacResourceAction::|public|getActionVerb():String @@ -300245,6 +300447,56 @@ com.microsoft.graph.beta.rolemanagement.cloudpc.roledefinitions.RoleDefinitionsR com.microsoft.graph.beta.rolemanagement.cloudpc.roledefinitions.RoleDefinitionsRequestBuilder::|public|toPostRequestInformation(body:UnifiedRoleDefinition):RequestInformation com.microsoft.graph.beta.rolemanagement.cloudpc.roledefinitions.RoleDefinitionsRequestBuilder::|public|toPostRequestInformation(body:UnifiedRoleDefinition; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.rolemanagement.cloudpc.roledefinitions.RoleDefinitionsRequestBuilder::|public|withUrl(rawUrl:String):RoleDefinitionsRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|byCustomAppScopeId(customAppScopeId:String):CustomAppScopeItemRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|get():CustomAppScopeCollectionResponse +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CustomAppScopeCollectionResponse +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder::|public|withUrl(rawUrl:String):CustomAppScopesRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|get():CustomAppScope +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):CustomAppScope +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder::|public|withUrl(rawUrl:String):CustomAppScopeItemRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -300256,12 +300508,13 @@ com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder.GetReque com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|customAppScopes:CustomAppScopesRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|delete():Void com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|get():RbacApplicationMultiple -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RbacApplicationMultiple -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|patch(body:RbacApplicationMultiple):RbacApplicationMultiple -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|patch(body:RbacApplicationMultiple; requestConfiguration?:java.util.function.Consumer):RbacApplicationMultiple +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|get():UnifiedRbacApplicationMultiple +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):UnifiedRbacApplicationMultiple +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|patch(body:UnifiedRbacApplicationMultiple):UnifiedRbacApplicationMultiple +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|patch(body:UnifiedRbacApplicationMultiple; requestConfiguration?:java.util.function.Consumer):UnifiedRbacApplicationMultiple com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|resourceNamespaces:ResourceNamespacesRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|roleAssignments:RoleAssignmentsRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|roleDefinitions:RoleDefinitionsRequestBuilder @@ -300269,8 +300522,8 @@ com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toPatchRequestInformation(body:RbacApplicationMultiple):RequestInformation -com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toPatchRequestInformation(body:RbacApplicationMultiple; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRbacApplicationMultiple):RequestInformation +com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRbacApplicationMultiple; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.rolemanagement.defender.DefenderRequestBuilder::|public|withUrl(rawUrl:String):DefenderRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.resourcenamespaces.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.rolemanagement.defender.resourcenamespaces.count.CountRequestBuilder.GetQueryParameters::|public|filter:String @@ -321669,20 +321922,51 @@ com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.count.Coun com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|get():TokenIssuancePolicy -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TokenIssuancePolicy -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):TokenIssuancePolicyItemRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder::|public|ref:RefRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.DeleteQueryParameters::|public|id:String +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.DeleteQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.DeleteQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.DeleteRequestConfiguration::|public|queryParameters:DeleteQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|get():StringCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):StringCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|post(body:ReferenceCreate):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|post(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -321702,6 +321986,7 @@ com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssua com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|get():TokenIssuancePolicyCollectionResponse com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TokenIssuancePolicyCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|ref:RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.TokenIssuancePoliciesRequestBuilder::|public|withUrl(rawUrl:String):TokenIssuancePoliciesRequestBuilder @@ -321719,20 +322004,51 @@ com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.count.Coun com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder-->BaseRequestBuilder -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetQueryParameters::|public|expand:String[] -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetQueryParameters::|public|select:String[] -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetQueryParameters~~>QueryParameters -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|get():TokenLifetimePolicy -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TokenLifetimePolicy -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|toGetRequestInformation():RequestInformation -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation -com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|withUrl(rawUrl:String):TokenLifetimePolicyItemRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder::|public|ref:RefRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.DeleteQueryParameters::|public|id:String +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.DeleteQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.DeleteQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.DeleteRequestConfiguration::|public|queryParameters:DeleteQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|get():StringCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):StringCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|post(body:ReferenceCreate):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|post(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|toPostRequestInformation(body:ReferenceCreate; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder::|public|withUrl(rawUrl:String):RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -321752,6 +322068,7 @@ com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifet com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|get():TokenLifetimePolicyCollectionResponse com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):TokenLifetimePolicyCollectionResponse +com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|ref:RefRequestBuilder com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.TokenLifetimePoliciesRequestBuilder::|public|withUrl(rawUrl:String):TokenLifetimePoliciesRequestBuilder @@ -375215,6 +375532,7 @@ com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder: com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|delete():Void com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|emailMethods:EmailMethodsRequestBuilder +com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|externalAuthenticationMethods:ExternalAuthenticationMethodsRequestBuilder com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|fido2Methods:Fido2MethodsRequestBuilder com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|get():Authentication com.microsoft.graph.beta.users.item.authentication.AuthenticationRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Authentication @@ -375306,6 +375624,71 @@ com.microsoft.graph.beta.users.item.authentication.emailmethods.item.EmailAuthen com.microsoft.graph.beta.users.item.authentication.emailmethods.item.EmailAuthenticationMethodItemRequestBuilder::|public|toPatchRequestInformation(body:EmailAuthenticationMethod):RequestInformation com.microsoft.graph.beta.users.item.authentication.emailmethods.item.EmailAuthenticationMethodItemRequestBuilder::|public|toPatchRequestInformation(body:EmailAuthenticationMethod; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.authentication.emailmethods.item.EmailAuthenticationMethodItemRequestBuilder::|public|withUrl(rawUrl:String):EmailAuthenticationMethodItemRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|byExternalAuthenticationMethodId(externalAuthenticationMethodId:String):ExternalAuthenticationMethodItemRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|get():ExternalAuthenticationMethodCollectionResponse +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExternalAuthenticationMethodCollectionResponse +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|post(body:ExternalAuthenticationMethod):ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|post(body:ExternalAuthenticationMethod; requestConfiguration?:java.util.function.Consumer):ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|toPostRequestInformation(body:ExternalAuthenticationMethod):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|toPostRequestInformation(body:ExternalAuthenticationMethod; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder::|public|withUrl(rawUrl:String):ExternalAuthenticationMethodsRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|delete():Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|get():ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|patch(body:ExternalAuthenticationMethod):ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|patch(body:ExternalAuthenticationMethod; requestConfiguration?:java.util.function.Consumer):ExternalAuthenticationMethod +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toPatchRequestInformation(body:ExternalAuthenticationMethod):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|toPatchRequestInformation(body:ExternalAuthenticationMethod; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder::|public|withUrl(rawUrl:String):ExternalAuthenticationMethodItemRequestBuilder com.microsoft.graph.beta.users.item.authentication.fido2methods.count.CountRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.authentication.fido2methods.count.CountRequestBuilder.GetQueryParameters::|public|filter:String com.microsoft.graph.beta.users.item.authentication.fido2methods.count.CountRequestBuilder.GetQueryParameters::|public|search:String @@ -380584,6 +380967,7 @@ com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|get com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|getProvisionedCloudPCsWithGroupIdWithServicePlanId(groupId:String; servicePlanId:String):GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|post(body:CloudPC):CloudPC com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|post(body:CloudPC; requestConfiguration?:java.util.function.Consumer):CloudPC +com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|retrieveCloudPcCountByStatus:RetrieveCloudPcCountByStatusRequestBuilder com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.cloudpcs.CloudPCsRequestBuilder::|public|toPostRequestInformation(body:CloudPC):RequestInformation @@ -381026,6 +381410,30 @@ com.microsoft.graph.beta.users.item.cloudpcs.item.troubleshoot.TroubleshootReque com.microsoft.graph.beta.users.item.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|toPostRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|toPostRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.cloudpcs.item.troubleshoot.TroubleshootRequestBuilder::|public|withUrl(rawUrl:String):TroubleshootRequestBuilder +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|constructor():void +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|getValue():java.util.List +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|get():RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RetrieveCloudPcCountByStatusGetResponse +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder::|public|withUrl(rawUrl:String):RetrieveCloudPcCountByStatusRequestBuilder com.microsoft.graph.beta.users.item.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|protected|backingStore:BackingStore com.microsoft.graph.beta.users.item.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|public|constructor():void com.microsoft.graph.beta.users.item.cloudpcs.validatebulkresize.ValidateBulkResizePostRequestBody::|public|getAdditionalData():Map @@ -388052,6 +388460,7 @@ com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages. com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|permanentDelete:PermanentDeleteRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|reply:ReplyRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|replyAll:ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|reportMessage:ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|send:SendRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -388137,6 +388546,29 @@ com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages. com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|withUrl(rawUrl:String):ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getIsMessageMoveRequested():Boolean +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getReportAction():ReportAction +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setIsMessageMoveRequested(value?:Boolean):void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setReportAction(value?:ReportAction):void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReportMessagePostRequestBody +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody):Message +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):Message +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|withUrl(rawUrl:String):ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.send.SendRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.send.SendRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.send.SendRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -388915,6 +389347,7 @@ com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRe com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|permanentDelete:PermanentDeleteRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|reply:ReplyRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|replyAll:ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|reportMessage:ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|send:SendRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -389000,6 +389433,29 @@ com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.replyall.Repl com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.replyall.ReplyAllRequestBuilder::|public|withUrl(rawUrl:String):ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getIsMessageMoveRequested():Boolean +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getReportAction():ReportAction +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setIsMessageMoveRequested(value?:Boolean):void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setReportAction(value?:ReportAction):void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReportMessagePostRequestBody +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessagePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody):Message +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):Message +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|withUrl(rawUrl:String):ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.send.SendRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.send.SendRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.send.SendRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -391702,6 +392158,7 @@ com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|pu com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|permanentDelete:PermanentDeleteRequestBuilder com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|reply:ReplyRequestBuilder com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|replyAll:ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|reportMessage:ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|send:SendRequestBuilder com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation com.microsoft.graph.beta.users.item.messages.item.MessageItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation @@ -391787,6 +392244,29 @@ com.microsoft.graph.beta.users.item.messages.item.replyall.ReplyAllRequestBuilde com.microsoft.graph.beta.users.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody):RequestInformation com.microsoft.graph.beta.users.item.messages.item.replyall.ReplyAllRequestBuilder::|public|toPostRequestInformation(body:ReplyAllPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.beta.users.item.messages.item.replyall.ReplyAllRequestBuilder::|public|withUrl(rawUrl:String):ReplyAllRequestBuilder +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|constructor():void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getIsMessageMoveRequested():Boolean +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|getReportAction():ReportAction +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setIsMessageMoveRequested(value?:Boolean):void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|public|setReportAction(value?:ReportAction):void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ReportMessagePostRequestBody +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessagePostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody):Message +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|post(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):Message +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody):RequestInformation +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|toPostRequestInformation(body:ReportMessagePostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder::|public|withUrl(rawUrl:String):ReportMessageRequestBuilder com.microsoft.graph.beta.users.item.messages.item.send.SendRequestBuilder-->BaseRequestBuilder com.microsoft.graph.beta.users.item.messages.item.send.SendRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.beta.users.item.messages.item.send.SendRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void diff --git a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json index 39b3123da3b..d433302f6a6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/beta/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "09E142BBDBB13E7AB322736892A3A1C5FF37A0E52CCFD537FD22F74C186DE25851DD563D6C7D82BBFF1F109F789C1D626C877D9F82F786D7C3B42A08DA4BBDE0", + "descriptionHash": "DC604705AED7AE012B7833432431BF7D683EB88F31FB16E2A5E46F9A0B52E67303A17F69DD17E92CBD47D77819B6A567DAE0E4B602C22683BB1B6FEC316ABB39", "descriptionLocation": "../../msgraph-metadata/clean_beta_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.29.0", diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageApprovalStage.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageApprovalStage.java new file mode 100644 index 00000000000..33d112c1c8c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageApprovalStage.java @@ -0,0 +1,244 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.PeriodAndDuration; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageApprovalStage implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link AccessPackageApprovalStage} and sets the default values. + */ + public AccessPackageApprovalStage() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AccessPackageApprovalStage} + */ + @jakarta.annotation.Nonnull + public static AccessPackageApprovalStage createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageApprovalStage(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the durationBeforeAutomaticDenial property value. The number of days that a request can be pending a response before it is automatically denied. + * @return a {@link PeriodAndDuration} + */ + @jakarta.annotation.Nullable + public PeriodAndDuration getDurationBeforeAutomaticDenial() { + return this.backingStore.get("durationBeforeAutomaticDenial"); + } + /** + * Gets the durationBeforeEscalation property value. If escalation is required, the time a request can be pending a response from a primary approver. + * @return a {@link PeriodAndDuration} + */ + @jakarta.annotation.Nullable + public PeriodAndDuration getDurationBeforeEscalation() { + return this.backingStore.get("durationBeforeEscalation"); + } + /** + * Gets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getEscalationApprovers() { + return this.backingStore.get("escalationApprovers"); + } + /** + * Gets the fallbackEscalationApprovers property value. The subjects, typically users, who are the fallback escalation approvers. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getFallbackEscalationApprovers() { + return this.backingStore.get("fallbackEscalationApprovers"); + } + /** + * Gets the fallbackPrimaryApprovers property value. The subjects, typically users, who are the fallback primary approvers. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getFallbackPrimaryApprovers() { + return this.backingStore.get("fallbackPrimaryApprovers"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(9); + deserializerMap.put("durationBeforeAutomaticDenial", (n) -> { this.setDurationBeforeAutomaticDenial(n.getPeriodAndDurationValue()); }); + deserializerMap.put("durationBeforeEscalation", (n) -> { this.setDurationBeforeEscalation(n.getPeriodAndDurationValue()); }); + deserializerMap.put("escalationApprovers", (n) -> { this.setEscalationApprovers(n.getCollectionOfObjectValues(SubjectSet::createFromDiscriminatorValue)); }); + deserializerMap.put("fallbackEscalationApprovers", (n) -> { this.setFallbackEscalationApprovers(n.getCollectionOfObjectValues(SubjectSet::createFromDiscriminatorValue)); }); + deserializerMap.put("fallbackPrimaryApprovers", (n) -> { this.setFallbackPrimaryApprovers(n.getCollectionOfObjectValues(SubjectSet::createFromDiscriminatorValue)); }); + deserializerMap.put("isApproverJustificationRequired", (n) -> { this.setIsApproverJustificationRequired(n.getBooleanValue()); }); + deserializerMap.put("isEscalationEnabled", (n) -> { this.setIsEscalationEnabled(n.getBooleanValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("primaryApprovers", (n) -> { this.setPrimaryApprovers(n.getCollectionOfObjectValues(SubjectSet::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the isApproverJustificationRequired property value. Indicates whether the approver is required to provide a justification for approving a request. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsApproverJustificationRequired() { + return this.backingStore.get("isApproverJustificationRequired"); + } + /** + * Gets the isEscalationEnabled property value. If true, then one or more escalationApprovers are configured in this approval stage. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEscalationEnabled() { + return this.backingStore.get("isEscalationEnabled"); + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getPrimaryApprovers() { + return this.backingStore.get("primaryApprovers"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writePeriodAndDurationValue("durationBeforeAutomaticDenial", this.getDurationBeforeAutomaticDenial()); + writer.writePeriodAndDurationValue("durationBeforeEscalation", this.getDurationBeforeEscalation()); + writer.writeCollectionOfObjectValues("escalationApprovers", this.getEscalationApprovers()); + writer.writeCollectionOfObjectValues("fallbackEscalationApprovers", this.getFallbackEscalationApprovers()); + writer.writeCollectionOfObjectValues("fallbackPrimaryApprovers", this.getFallbackPrimaryApprovers()); + writer.writeBooleanValue("isApproverJustificationRequired", this.getIsApproverJustificationRequired()); + writer.writeBooleanValue("isEscalationEnabled", this.getIsEscalationEnabled()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeCollectionOfObjectValues("primaryApprovers", this.getPrimaryApprovers()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the durationBeforeAutomaticDenial property value. The number of days that a request can be pending a response before it is automatically denied. + * @param value Value to set for the durationBeforeAutomaticDenial property. + */ + public void setDurationBeforeAutomaticDenial(@jakarta.annotation.Nullable final PeriodAndDuration value) { + this.backingStore.set("durationBeforeAutomaticDenial", value); + } + /** + * Sets the durationBeforeEscalation property value. If escalation is required, the time a request can be pending a response from a primary approver. + * @param value Value to set for the durationBeforeEscalation property. + */ + public void setDurationBeforeEscalation(@jakarta.annotation.Nullable final PeriodAndDuration value) { + this.backingStore.set("durationBeforeEscalation", value); + } + /** + * Sets the escalationApprovers property value. If escalation is enabled and the primary approvers do not respond before the escalation time, the escalationApprovers are the users who will be asked to approve requests. + * @param value Value to set for the escalationApprovers property. + */ + public void setEscalationApprovers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("escalationApprovers", value); + } + /** + * Sets the fallbackEscalationApprovers property value. The subjects, typically users, who are the fallback escalation approvers. + * @param value Value to set for the fallbackEscalationApprovers property. + */ + public void setFallbackEscalationApprovers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("fallbackEscalationApprovers", value); + } + /** + * Sets the fallbackPrimaryApprovers property value. The subjects, typically users, who are the fallback primary approvers. + * @param value Value to set for the fallbackPrimaryApprovers property. + */ + public void setFallbackPrimaryApprovers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("fallbackPrimaryApprovers", value); + } + /** + * Sets the isApproverJustificationRequired property value. Indicates whether the approver is required to provide a justification for approving a request. + * @param value Value to set for the isApproverJustificationRequired property. + */ + public void setIsApproverJustificationRequired(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isApproverJustificationRequired", value); + } + /** + * Sets the isEscalationEnabled property value. If true, then one or more escalationApprovers are configured in this approval stage. + * @param value Value to set for the isEscalationEnabled property. + */ + public void setIsEscalationEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEscalationEnabled", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the primaryApprovers property value. The subjects, typically users, who will be asked to approve requests. A collection of singleUser, groupMembers, requestorManager, internalSponsors, externalSponsors, or targetUserSponsors. + * @param value Value to set for the primaryApprovers property. + */ + public void setPrimaryApprovers(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("primaryApprovers", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestCallbackData.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestCallbackData.java index 6ecf3e3dca8..0f93bb23d54 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestCallbackData.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageAssignmentRequestCallbackData.java @@ -23,6 +23,13 @@ public AccessPackageAssignmentRequestCallbackData() { @jakarta.annotation.Nonnull public static AccessPackageAssignmentRequestCallbackData createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.assignmentRequestApprovalStageCallbackData": return new AssignmentRequestApprovalStageCallbackData(); + } + } return new AccessPackageAssignmentRequestCallbackData(); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageDynamicApprovalStage.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageDynamicApprovalStage.java new file mode 100644 index 00000000000..7d3de00103d --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageDynamicApprovalStage.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageDynamicApprovalStage extends ApprovalStage implements Parsable { + /** + * Instantiates a new {@link AccessPackageDynamicApprovalStage} and sets the default values. + */ + public AccessPackageDynamicApprovalStage() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AccessPackageDynamicApprovalStage} + */ + @jakarta.annotation.Nonnull + public static AccessPackageDynamicApprovalStage createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageDynamicApprovalStage(); + } + /** + * Gets the customExtension property value. The customExtension property + * @return a {@link CustomCalloutExtension} + */ + @jakarta.annotation.Nullable + public CustomCalloutExtension getCustomExtension() { + return this.backingStore.get("customExtension"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("customExtension", (n) -> { this.setCustomExtension(n.getObjectValue(CustomCalloutExtension::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("customExtension", this.getCustomExtension()); + } + /** + * Sets the customExtension property value. The customExtension property + * @param value Value to set for the customExtension property. + */ + public void setCustomExtension(@jakarta.annotation.Nullable final CustomCalloutExtension value) { + this.backingStore.set("customExtension", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageRequestApprovalStageCallbackConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageRequestApprovalStageCallbackConfiguration.java new file mode 100644 index 00000000000..a8e2eb9c29a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AccessPackageRequestApprovalStageCallbackConfiguration.java @@ -0,0 +1,45 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AccessPackageRequestApprovalStageCallbackConfiguration extends CustomExtensionCallbackConfiguration implements Parsable { + /** + * Instantiates a new {@link AccessPackageRequestApprovalStageCallbackConfiguration} and sets the default values. + */ + public AccessPackageRequestApprovalStageCallbackConfiguration() { + super(); + this.setOdataType("#microsoft.graph.accessPackageRequestApprovalStageCallbackConfiguration"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AccessPackageRequestApprovalStageCallbackConfiguration} + */ + @jakarta.annotation.Nonnull + public static AccessPackageRequestApprovalStageCallbackConfiguration createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AccessPackageRequestApprovalStageCallbackConfiguration(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ApprovalStage.java b/src/main/java/com/microsoft/graph/beta/generated/models/ApprovalStage.java index 918026849d8..fcc8d4ec74b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ApprovalStage.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ApprovalStage.java @@ -32,6 +32,13 @@ public ApprovalStage() { @jakarta.annotation.Nonnull public static ApprovalStage createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.accessPackageDynamicApprovalStage": return new AccessPackageDynamicApprovalStage(); + } + } return new ApprovalStage(); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AssignmentRequestApprovalStageCallbackData.java b/src/main/java/com/microsoft/graph/beta/generated/models/AssignmentRequestApprovalStageCallbackData.java new file mode 100644 index 00000000000..d9af624e406 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AssignmentRequestApprovalStageCallbackData.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class AssignmentRequestApprovalStageCallbackData extends AccessPackageAssignmentRequestCallbackData implements Parsable { + /** + * Instantiates a new {@link AssignmentRequestApprovalStageCallbackData} and sets the default values. + */ + public AssignmentRequestApprovalStageCallbackData() { + super(); + this.setOdataType("#microsoft.graph.assignmentRequestApprovalStageCallbackData"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link AssignmentRequestApprovalStageCallbackData} + */ + @jakarta.annotation.Nonnull + public static AssignmentRequestApprovalStageCallbackData createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new AssignmentRequestApprovalStageCallbackData(); + } + /** + * Gets the approvalStage property value. The stage in the approval decision. + * @return a {@link AccessPackageApprovalStage} + */ + @jakarta.annotation.Nullable + public AccessPackageApprovalStage getApprovalStage() { + return this.backingStore.get("approvalStage"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("approvalStage", (n) -> { this.setApprovalStage(n.getObjectValue(AccessPackageApprovalStage::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeObjectValue("approvalStage", this.getApprovalStage()); + } + /** + * Sets the approvalStage property value. The stage in the approval decision. + * @param value Value to set for the approvalStage property. + */ + public void setApprovalStage(@jakarta.annotation.Nullable final AccessPackageApprovalStage value) { + this.backingStore.set("approvalStage", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java b/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java index ebfa8c2b480..926a4deecab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Authentication.java @@ -32,6 +32,14 @@ public static Authentication createFromDiscriminatorValue(@jakarta.annotation.No public java.util.List getEmailMethods() { return this.backingStore.get("emailMethods"); } + /** + * Gets the externalAuthenticationMethods property value. The externalAuthenticationMethods property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getExternalAuthenticationMethods() { + return this.backingStore.get("externalAuthenticationMethods"); + } /** * Gets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. * @return a {@link java.util.List} @@ -48,6 +56,7 @@ public java.util.List getFido2Methods() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("emailMethods", (n) -> { this.setEmailMethods(n.getCollectionOfObjectValues(EmailAuthenticationMethod::createFromDiscriminatorValue)); }); + deserializerMap.put("externalAuthenticationMethods", (n) -> { this.setExternalAuthenticationMethods(n.getCollectionOfObjectValues(ExternalAuthenticationMethod::createFromDiscriminatorValue)); }); deserializerMap.put("fido2Methods", (n) -> { this.setFido2Methods(n.getCollectionOfObjectValues(Fido2AuthenticationMethod::createFromDiscriminatorValue)); }); deserializerMap.put("hardwareOathMethods", (n) -> { this.setHardwareOathMethods(n.getCollectionOfObjectValues(HardwareOathAuthenticationMethod::createFromDiscriminatorValue)); }); deserializerMap.put("methods", (n) -> { this.setMethods(n.getCollectionOfObjectValues(AuthenticationMethod::createFromDiscriminatorValue)); }); @@ -185,6 +194,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeCollectionOfObjectValues("emailMethods", this.getEmailMethods()); + writer.writeCollectionOfObjectValues("externalAuthenticationMethods", this.getExternalAuthenticationMethods()); writer.writeCollectionOfObjectValues("fido2Methods", this.getFido2Methods()); writer.writeCollectionOfObjectValues("hardwareOathMethods", this.getHardwareOathMethods()); writer.writeCollectionOfObjectValues("methods", this.getMethods()); @@ -208,6 +218,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setEmailMethods(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("emailMethods", value); } + /** + * Sets the externalAuthenticationMethods property value. The externalAuthenticationMethods property + * @param value Value to set for the externalAuthenticationMethods property. + */ + public void setExternalAuthenticationMethods(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("externalAuthenticationMethods", value); + } /** * Sets the fido2Methods property value. Represents the FIDO2 security keys registered to a user for authentication. * @param value Value to set for the fido2Methods property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethod.java b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethod.java index 7e64a11e177..9202a31218a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethod.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/AuthenticationMethod.java @@ -28,6 +28,7 @@ public static AuthenticationMethod createFromDiscriminatorValue(@jakarta.annotat final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { case "#microsoft.graph.emailAuthenticationMethod": return new EmailAuthenticationMethod(); + case "#microsoft.graph.externalAuthenticationMethod": return new ExternalAuthenticationMethod(); case "#microsoft.graph.fido2AuthenticationMethod": return new Fido2AuthenticationMethod(); case "#microsoft.graph.hardwareOathAuthenticationMethod": return new HardwareOathAuthenticationMethod(); case "#microsoft.graph.microsoftAuthenticatorAuthenticationMethod": return new MicrosoftAuthenticatorAuthenticationMethod(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java index 24cb572e720..ce062bbd9a8 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPC.java @@ -126,6 +126,7 @@ public Map> getFieldDeserializers deserializerMap.put("partnerAgentInstallResults", (n) -> { this.setPartnerAgentInstallResults(n.getCollectionOfObjectValues(CloudPcPartnerAgentInstallResult::createFromDiscriminatorValue)); }); deserializerMap.put("powerState", (n) -> { this.setPowerState(n.getEnumValue(CloudPcPowerState::forValue)); }); deserializerMap.put("productType", (n) -> { this.setProductType(n.getEnumValue(CloudPcProductType::forValue)); }); + deserializerMap.put("provisionedDateTime", (n) -> { this.setProvisionedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("provisioningPolicyId", (n) -> { this.setProvisioningPolicyId(n.getStringValue()); }); deserializerMap.put("provisioningPolicyName", (n) -> { this.setProvisioningPolicyName(n.getStringValue()); }); deserializerMap.put("provisioningType", (n) -> { this.setProvisioningType(n.getEnumValue(CloudPcProvisioningType::forValue)); }); @@ -133,6 +134,7 @@ public Map> getFieldDeserializers deserializerMap.put("servicePlanId", (n) -> { this.setServicePlanId(n.getStringValue()); }); deserializerMap.put("servicePlanName", (n) -> { this.setServicePlanName(n.getStringValue()); }); deserializerMap.put("servicePlanType", (n) -> { this.setServicePlanType(n.getEnumValue(CloudPcServicePlanType::forValue)); }); + deserializerMap.put("sharedDeviceDetail", (n) -> { this.setSharedDeviceDetail(n.getObjectValue(CloudPcFrontlineSharedDeviceDetail::createFromDiscriminatorValue)); }); deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(CloudPcStatus::forValue)); }); deserializerMap.put("statusDetail", (n) -> { this.setStatusDetail(n.getObjectValue(CloudPcStatusDetail::createFromDiscriminatorValue)); }); deserializerMap.put("statusDetails", (n) -> { this.setStatusDetails(n.getObjectValue(CloudPcStatusDetails::createFromDiscriminatorValue)); }); @@ -244,6 +246,14 @@ public CloudPcPowerState getPowerState() { public CloudPcProductType getProductType() { return this.backingStore.get("productType"); } + /** + * Gets the provisionedDateTime property value. The latest provisioned date and time, automatically generated and assigned during the initial provisioning or any subsequent reprovisioning of the Cloud PC. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getProvisionedDateTime() { + return this.backingStore.get("provisionedDateTime"); + } /** * Gets the provisioningPolicyId property value. The provisioning policy ID of the Cloud PC. * @return a {@link String} @@ -300,6 +310,14 @@ public String getServicePlanName() { public CloudPcServicePlanType getServicePlanType() { return this.backingStore.get("servicePlanType"); } + /** + * Gets the sharedDeviceDetail property value. Indicates the Cloud PC device details (for example, assignedToUserPrincipalName) associated with the frontline shared service plan. + * @return a {@link CloudPcFrontlineSharedDeviceDetail} + */ + @jakarta.annotation.Nullable + public CloudPcFrontlineSharedDeviceDetail getSharedDeviceDetail() { + return this.backingStore.get("sharedDeviceDetail"); + } /** * Gets the status property value. The status property * @return a {@link CloudPcStatus} @@ -369,6 +387,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("partnerAgentInstallResults", this.getPartnerAgentInstallResults()); writer.writeEnumValue("powerState", this.getPowerState()); writer.writeEnumValue("productType", this.getProductType()); + writer.writeOffsetDateTimeValue("provisionedDateTime", this.getProvisionedDateTime()); writer.writeStringValue("provisioningPolicyId", this.getProvisioningPolicyId()); writer.writeStringValue("provisioningPolicyName", this.getProvisioningPolicyName()); writer.writeEnumValue("provisioningType", this.getProvisioningType()); @@ -376,6 +395,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("servicePlanId", this.getServicePlanId()); writer.writeStringValue("servicePlanName", this.getServicePlanName()); writer.writeEnumValue("servicePlanType", this.getServicePlanType()); + writer.writeObjectValue("sharedDeviceDetail", this.getSharedDeviceDetail()); writer.writeEnumValue("status", this.getStatus()); writer.writeObjectValue("statusDetail", this.getStatusDetail()); writer.writeObjectValue("statusDetails", this.getStatusDetails()); @@ -536,6 +556,13 @@ public void setPowerState(@jakarta.annotation.Nullable final CloudPcPowerState v public void setProductType(@jakarta.annotation.Nullable final CloudPcProductType value) { this.backingStore.set("productType", value); } + /** + * Sets the provisionedDateTime property value. The latest provisioned date and time, automatically generated and assigned during the initial provisioning or any subsequent reprovisioning of the Cloud PC. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z. + * @param value Value to set for the provisionedDateTime property. + */ + public void setProvisionedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("provisionedDateTime", value); + } /** * Sets the provisioningPolicyId property value. The provisioning policy ID of the Cloud PC. * @param value Value to set for the provisioningPolicyId property. @@ -585,6 +612,13 @@ public void setServicePlanName(@jakarta.annotation.Nullable final String value) public void setServicePlanType(@jakarta.annotation.Nullable final CloudPcServicePlanType value) { this.backingStore.set("servicePlanType", value); } + /** + * Sets the sharedDeviceDetail property value. Indicates the Cloud PC device details (for example, assignedToUserPrincipalName) associated with the frontline shared service plan. + * @param value Value to set for the sharedDeviceDetail property. + */ + public void setSharedDeviceDetail(@jakarta.annotation.Nullable final CloudPcFrontlineSharedDeviceDetail value) { + this.backingStore.set("sharedDeviceDetail", value); + } /** * Sets the status property value. The status property * @param value Value to set for the status property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcDeviceImageErrorCode.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcDeviceImageErrorCode.java index c0278059a43..1547948dab5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcDeviceImageErrorCode.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcDeviceImageErrorCode.java @@ -16,7 +16,8 @@ public enum CloudPcDeviceImageErrorCode implements ValuedEnum { SourceImageNotSupportCustomizeVMName("sourceImageNotSupportCustomizeVMName"), SourceImageSizeExceedsLimitation("sourceImageSizeExceedsLimitation"), SourceImageWithDataDiskNotSupported("sourceImageWithDataDiskNotSupported"), - SourceImageWithDiskEncryptionSetNotSupported("sourceImageWithDiskEncryptionSetNotSupported"); + SourceImageWithDiskEncryptionSetNotSupported("sourceImageWithDiskEncryptionSetNotSupported"), + SourceImageWithAzureDiskEncryptionNotSupported("sourceImageWithAzureDiskEncryptionNotSupported"); public final String value; CloudPcDeviceImageErrorCode(final String value) { this.value = value; @@ -39,6 +40,7 @@ public static CloudPcDeviceImageErrorCode forValue(@jakarta.annotation.Nonnull f case "sourceImageSizeExceedsLimitation": return SourceImageSizeExceedsLimitation; case "sourceImageWithDataDiskNotSupported": return SourceImageWithDataDiskNotSupported; case "sourceImageWithDiskEncryptionSetNotSupported": return SourceImageWithDiskEncryptionSetNotSupported; + case "sourceImageWithAzureDiskEncryptionNotSupported": return SourceImageWithAzureDiskEncryptionNotSupported; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFrontlineSharedDeviceDetail.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFrontlineSharedDeviceDetail.java new file mode 100644 index 00000000000..b1b559327b2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcFrontlineSharedDeviceDetail.java @@ -0,0 +1,124 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CloudPcFrontlineSharedDeviceDetail implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CloudPcFrontlineSharedDeviceDetail} and sets the default values. + */ + public CloudPcFrontlineSharedDeviceDetail() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CloudPcFrontlineSharedDeviceDetail} + */ + @jakarta.annotation.Nonnull + public static CloudPcFrontlineSharedDeviceDetail createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CloudPcFrontlineSharedDeviceDetail(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the assignedToUserPrincipalName property value. The user principal name (UPN) of the user to whom the device is currently assigned. If no user is assigned, this field remains empty. Example values, john.doe@contoso.onmicrosoft.com and . + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAssignedToUserPrincipalName() { + return this.backingStore.get("assignedToUserPrincipalName"); + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("assignedToUserPrincipalName", (n) -> { this.setAssignedToUserPrincipalName(n.getStringValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeStringValue("assignedToUserPrincipalName", this.getAssignedToUserPrincipalName()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the assignedToUserPrincipalName property value. The user principal name (UPN) of the user to whom the device is currently assigned. If no user is assigned, this field remains empty. Example values, john.doe@contoso.onmicrosoft.com and . + * @param value Value to set for the assignedToUserPrincipalName property. + */ + public void setAssignedToUserPrincipalName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("assignedToUserPrincipalName", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningPolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningPolicy.java index 6ef314a9d42..6d7f3198149 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningPolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningPolicy.java @@ -3,6 +3,7 @@ import com.microsoft.kiota.serialization.Parsable; import com.microsoft.kiota.serialization.ParseNode; import com.microsoft.kiota.serialization.SerializationWriter; +import java.time.OffsetDateTime; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; @@ -73,6 +74,22 @@ public String getCloudPcGroupDisplayName() { public String getCloudPcNamingTemplate() { return this.backingStore.get("cloudPcNamingTemplate"); } + /** + * Gets the createdBy property value. The createdBy property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCreatedBy() { + return this.backingStore.get("createdBy"); + } + /** + * Gets the createdDateTime property value. The createdDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getCreatedDateTime() { + return this.backingStore.get("createdDateTime"); + } /** * Gets the description property value. The provisioning policy description. Supports $filter, $select, and $orderBy. * @return a {@link String} @@ -118,6 +135,8 @@ public Map> getFieldDeserializers deserializerMap.put("autopilotConfiguration", (n) -> { this.setAutopilotConfiguration(n.getObjectValue(CloudPcAutopilotConfiguration::createFromDiscriminatorValue)); }); deserializerMap.put("cloudPcGroupDisplayName", (n) -> { this.setCloudPcGroupDisplayName(n.getStringValue()); }); deserializerMap.put("cloudPcNamingTemplate", (n) -> { this.setCloudPcNamingTemplate(n.getStringValue()); }); + deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getStringValue()); }); + deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("description", (n) -> { this.setDescription(n.getStringValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); deserializerMap.put("domainJoinConfigurations", (n) -> { this.setDomainJoinConfigurations(n.getCollectionOfObjectValues(CloudPcDomainJoinConfiguration::createFromDiscriminatorValue)); }); @@ -126,6 +145,8 @@ public Map> getFieldDeserializers deserializerMap.put("imageDisplayName", (n) -> { this.setImageDisplayName(n.getStringValue()); }); deserializerMap.put("imageId", (n) -> { this.setImageId(n.getStringValue()); }); deserializerMap.put("imageType", (n) -> { this.setImageType(n.getEnumValue(CloudPcProvisioningPolicyImageType::forValue)); }); + deserializerMap.put("lastModifiedBy", (n) -> { this.setLastModifiedBy(n.getStringValue()); }); + deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("localAdminEnabled", (n) -> { this.setLocalAdminEnabled(n.getBooleanValue()); }); deserializerMap.put("managedBy", (n) -> { this.setManagedBy(n.getEnumSetValue(CloudPcManagementService::forValue)); }); deserializerMap.put("microsoftManagedDesktop", (n) -> { this.setMicrosoftManagedDesktop(n.getObjectValue(MicrosoftManagedDesktop::createFromDiscriminatorValue)); }); @@ -167,6 +188,22 @@ public String getImageId() { public CloudPcProvisioningPolicyImageType getImageType() { return this.backingStore.get("imageType"); } + /** + * Gets the lastModifiedBy property value. The lastModifiedBy property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getLastModifiedBy() { + return this.backingStore.get("lastModifiedBy"); + } + /** + * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @return a {@link OffsetDateTime} + */ + @jakarta.annotation.Nullable + public OffsetDateTime getLastModifiedDateTime() { + return this.backingStore.get("lastModifiedDateTime"); + } /** * Gets the localAdminEnabled property value. When true, the local admin is enabled for Cloud PCs; false indicates that the local admin isn't enabled for Cloud PCs. The default value is false. Supports $filter, $select, and $orderBy. * @return a {@link Boolean} @@ -236,6 +273,8 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("autopilotConfiguration", this.getAutopilotConfiguration()); writer.writeStringValue("cloudPcGroupDisplayName", this.getCloudPcGroupDisplayName()); writer.writeStringValue("cloudPcNamingTemplate", this.getCloudPcNamingTemplate()); + writer.writeStringValue("createdBy", this.getCreatedBy()); + writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeStringValue("description", this.getDescription()); writer.writeStringValue("displayName", this.getDisplayName()); writer.writeCollectionOfObjectValues("domainJoinConfigurations", this.getDomainJoinConfigurations()); @@ -244,6 +283,8 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("imageDisplayName", this.getImageDisplayName()); writer.writeStringValue("imageId", this.getImageId()); writer.writeEnumValue("imageType", this.getImageType()); + writer.writeStringValue("lastModifiedBy", this.getLastModifiedBy()); + writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); writer.writeBooleanValue("localAdminEnabled", this.getLocalAdminEnabled()); writer.writeEnumSetValue("managedBy", this.getManagedBy()); writer.writeObjectValue("microsoftManagedDesktop", this.getMicrosoftManagedDesktop()); @@ -294,6 +335,20 @@ public void setCloudPcGroupDisplayName(@jakarta.annotation.Nullable final String public void setCloudPcNamingTemplate(@jakarta.annotation.Nullable final String value) { this.backingStore.set("cloudPcNamingTemplate", value); } + /** + * Sets the createdBy property value. The createdBy property + * @param value Value to set for the createdBy property. + */ + public void setCreatedBy(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("createdBy", value); + } + /** + * Sets the createdDateTime property value. The createdDateTime property + * @param value Value to set for the createdDateTime property. + */ + public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("createdDateTime", value); + } /** * Sets the description property value. The provisioning policy description. Supports $filter, $select, and $orderBy. * @param value Value to set for the description property. @@ -350,6 +405,20 @@ public void setImageId(@jakarta.annotation.Nullable final String value) { public void setImageType(@jakarta.annotation.Nullable final CloudPcProvisioningPolicyImageType value) { this.backingStore.set("imageType", value); } + /** + * Sets the lastModifiedBy property value. The lastModifiedBy property + * @param value Value to set for the lastModifiedBy property. + */ + public void setLastModifiedBy(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("lastModifiedBy", value); + } + /** + * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * @param value Value to set for the lastModifiedDateTime property. + */ + public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { + this.backingStore.set("lastModifiedDateTime", value); + } /** * Sets the localAdminEnabled property value. When true, the local admin is enabled for Cloud PCs; false indicates that the local admin isn't enabled for Cloud PCs. The default value is false. Supports $filter, $select, and $orderBy. * @param value Value to set for the localAdminEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningSourceType.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningSourceType.java new file mode 100644 index 00000000000..384e7fd1926 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningSourceType.java @@ -0,0 +1,27 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum CloudPcProvisioningSourceType implements ValuedEnum { + Image("image"), + Snapshot("snapshot"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + CloudPcProvisioningSourceType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static CloudPcProvisioningSourceType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "image": return Image; + case "snapshot": return Snapshot; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningType.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningType.java index b64f10bd1c9..10b9d7af51e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcProvisioningType.java @@ -9,7 +9,8 @@ public enum CloudPcProvisioningType implements ValuedEnum { Shared("shared"), UnknownFutureValue("unknownFutureValue"), SharedByUser("sharedByUser"), - SharedByEntraGroup("sharedByEntraGroup"); + SharedByEntraGroup("sharedByEntraGroup"), + Reserve("reserve"); public final String value; CloudPcProvisioningType(final String value) { this.value = value; @@ -25,6 +26,7 @@ public static CloudPcProvisioningType forValue(@jakarta.annotation.Nonnull final case "unknownFutureValue": return UnknownFutureValue; case "sharedByUser": return SharedByUser; case "sharedByEntraGroup": return SharedByEntraGroup; + case "reserve": return Reserve; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcSnapshotType.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcSnapshotType.java index 66b3b00f134..0ef822af224 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcSnapshotType.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcSnapshotType.java @@ -7,7 +7,8 @@ public enum CloudPcSnapshotType implements ValuedEnum { Automatic("automatic"), Manual("manual"), - UnknownFutureValue("unknownFutureValue"); + UnknownFutureValue("unknownFutureValue"), + Retention("retention"); public final String value; CloudPcSnapshotType(final String value) { this.value = value; @@ -21,6 +22,7 @@ public static CloudPcSnapshotType forValue(@jakarta.annotation.Nonnull final Str case "automatic": return Automatic; case "manual": return Manual; case "unknownFutureValue": return UnknownFutureValue; + case "retention": return Retention; default: return null; } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcStatusSummary.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcStatusSummary.java new file mode 100644 index 00000000000..9eeabeb0a54 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcStatusSummary.java @@ -0,0 +1,141 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CloudPcStatusSummary implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link CloudPcStatusSummary} and sets the default values. + */ + public CloudPcStatusSummary() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link CloudPcStatusSummary} + */ + @jakarta.annotation.Nonnull + public static CloudPcStatusSummary createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new CloudPcStatusSummary(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * Gets the count property value. The count of Cloud PCs with this status. + * @return a {@link Integer} + */ + @jakarta.annotation.Nullable + public Integer getCount() { + return this.backingStore.get("count"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(3); + deserializerMap.put("count", (n) -> { this.setCount(n.getIntegerValue()); }); + deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("status", (n) -> { this.setStatus(n.getEnumValue(CloudPcStatus::forValue)); }); + return deserializerMap; + } + /** + * Gets the @odata.type property value. The OdataType property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getOdataType() { + return this.backingStore.get("odataType"); + } + /** + * Gets the status property value. The status property + * @return a {@link CloudPcStatus} + */ + @jakarta.annotation.Nullable + public CloudPcStatus getStatus() { + return this.backingStore.get("status"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeIntegerValue("count", this.getCount()); + writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("status", this.getStatus()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the count property value. The count of Cloud PCs with this status. + * @param value Value to set for the count property. + */ + public void setCount(@jakarta.annotation.Nullable final Integer value) { + this.backingStore.set("count", value); + } + /** + * Sets the @odata.type property value. The OdataType property + * @param value Value to set for the @odata.type property. + */ + public void setOdataType(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("odataType", value); + } + /** + * Sets the status property value. The status property + * @param value Value to set for the status property. + */ + public void setStatus(@jakarta.annotation.Nullable final CloudPcStatus value) { + this.backingStore.set("status", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcUserSetting.java b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcUserSetting.java index cbe0ad72b93..fd3efbed29c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcUserSetting.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CloudPcUserSetting.java @@ -71,6 +71,7 @@ public Map> getFieldDeserializers deserializerMap.put("lastModifiedDateTime", (n) -> { this.setLastModifiedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("localAdminEnabled", (n) -> { this.setLocalAdminEnabled(n.getBooleanValue()); }); deserializerMap.put("notificationSetting", (n) -> { this.setNotificationSetting(n.getObjectValue(CloudPcNotificationSetting::createFromDiscriminatorValue)); }); + deserializerMap.put("provisioningSourceType", (n) -> { this.setProvisioningSourceType(n.getEnumValue(CloudPcProvisioningSourceType::forValue)); }); deserializerMap.put("resetEnabled", (n) -> { this.setResetEnabled(n.getBooleanValue()); }); deserializerMap.put("restorePointSetting", (n) -> { this.setRestorePointSetting(n.getObjectValue(CloudPcRestorePointSetting::createFromDiscriminatorValue)); }); deserializerMap.put("selfServiceEnabled", (n) -> { this.setSelfServiceEnabled(n.getBooleanValue()); }); @@ -100,6 +101,14 @@ public Boolean getLocalAdminEnabled() { public CloudPcNotificationSetting getNotificationSetting() { return this.backingStore.get("notificationSetting"); } + /** + * Gets the provisioningSourceType property value. The provisioningSourceType property + * @return a {@link CloudPcProvisioningSourceType} + */ + @jakarta.annotation.Nullable + public CloudPcProvisioningSourceType getProvisioningSourceType() { + return this.backingStore.get("provisioningSourceType"); + } /** * Gets the resetEnabled property value. Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset isn't allowed. The default value is false. * @return a {@link Boolean} @@ -138,6 +147,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("lastModifiedDateTime", this.getLastModifiedDateTime()); writer.writeBooleanValue("localAdminEnabled", this.getLocalAdminEnabled()); writer.writeObjectValue("notificationSetting", this.getNotificationSetting()); + writer.writeEnumValue("provisioningSourceType", this.getProvisioningSourceType()); writer.writeBooleanValue("resetEnabled", this.getResetEnabled()); writer.writeObjectValue("restorePointSetting", this.getRestorePointSetting()); writer.writeBooleanValue("selfServiceEnabled", this.getSelfServiceEnabled()); @@ -191,6 +201,13 @@ public void setLocalAdminEnabled(@jakarta.annotation.Nullable final Boolean valu public void setNotificationSetting(@jakarta.annotation.Nullable final CloudPcNotificationSetting value) { this.backingStore.set("notificationSetting", value); } + /** + * Sets the provisioningSourceType property value. The provisioningSourceType property + * @param value Value to set for the provisioningSourceType property. + */ + public void setProvisioningSourceType(@jakarta.annotation.Nullable final CloudPcProvisioningSourceType value) { + this.backingStore.set("provisioningSourceType", value); + } /** * Sets the resetEnabled property value. Indicates whether an end user is allowed to reset their Cloud PC. When true, the user is allowed to reset their Cloud PC. When false, end-user initiated reset isn't allowed. The default value is false. * @param value Value to set for the resetEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationApplication.java b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationApplication.java index 4dc996dd4ef..4f531a69e42 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationApplication.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ConfigurationApplication.java @@ -33,6 +33,14 @@ public static ConfigurationApplication createFromDiscriminatorValue(@jakarta.ann public String getAppId() { return this.backingStore.get("appId"); } + /** + * Gets the appOwnerOrganizationId property value. The appOwnerOrganizationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getAppOwnerOrganizationId() { + return this.backingStore.get("appOwnerOrganizationId"); + } /** * Gets the clientCredentials property value. The clientCredentials property * @return a {@link ClientCredentials} @@ -81,6 +89,7 @@ public String getDisplayName() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); deserializerMap.put("appId", (n) -> { this.setAppId(n.getStringValue()); }); + deserializerMap.put("appOwnerOrganizationId", (n) -> { this.setAppOwnerOrganizationId(n.getStringValue()); }); deserializerMap.put("clientCredentials", (n) -> { this.setClientCredentials(n.getObjectValue(ClientCredentials::createFromDiscriminatorValue)); }); deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getObjectValue(IdentitySet::createFromDiscriminatorValue)); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); @@ -123,6 +132,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ Objects.requireNonNull(writer); super.serialize(writer); writer.writeStringValue("appId", this.getAppId()); + writer.writeStringValue("appOwnerOrganizationId", this.getAppOwnerOrganizationId()); writer.writeObjectValue("clientCredentials", this.getClientCredentials()); writer.writeObjectValue("createdBy", this.getCreatedBy()); writer.writeStringValue("description", this.getDescription()); @@ -136,6 +146,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ public void setAppId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("appId", value); } + /** + * Sets the appOwnerOrganizationId property value. The appOwnerOrganizationId property + * @param value Value to set for the appOwnerOrganizationId property. + */ + public void setAppOwnerOrganizationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("appOwnerOrganizationId", value); + } /** * Sets the clientCredentials property value. The clientCredentials property * @param value Value to set for the clientCredentials property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionCallbackConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionCallbackConfiguration.java index 10ebf2ad472..6ea0f168103 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionCallbackConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionCallbackConfiguration.java @@ -38,6 +38,7 @@ public static CustomExtensionCallbackConfiguration createFromDiscriminatorValue( if (mappingValueNode != null) { final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { + case "#microsoft.graph.accessPackageRequestApprovalStageCallbackConfiguration": return new AccessPackageRequestApprovalStageCallbackConfiguration(); case "#microsoft.graph.identityGovernance.customTaskExtensionCallbackConfiguration": return new CustomTaskExtensionCallbackConfiguration(); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java index bcd4eb45c96..269d76c676e 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/CustomExtensionData.java @@ -39,6 +39,7 @@ public static CustomExtensionData createFromDiscriminatorValue(@jakarta.annotati final String mappingValue = mappingValueNode.getStringValue(); switch (mappingValue) { case "#microsoft.graph.accessPackageAssignmentRequestCallbackData": return new AccessPackageAssignmentRequestCallbackData(); + case "#microsoft.graph.assignmentRequestApprovalStageCallbackData": return new AssignmentRequestApprovalStageCallbackData(); case "#microsoft.graph.identityGovernance.customTaskExtensionCallbackData": return new CustomTaskExtensionCallbackData(); case "#microsoft.graph.identityGovernance.customTaskExtensionCalloutData": return new CustomTaskExtensionCalloutData(); } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceCompliancePolicy.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceCompliancePolicy.java index c281082874b..8ee264d9149 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceCompliancePolicy.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceCompliancePolicy.java @@ -141,7 +141,7 @@ public java.util.List getRoleScopeTagIds() { return this.backingStore.get("roleScopeTagIds"); } /** - * Gets the scheduledActionsForRule property value. The list of scheduled action for this rule + * Gets the scheduledActionsForRule property value. The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -257,7 +257,7 @@ public void setRoleScopeTagIds(@jakarta.annotation.Nullable final java.util.List this.backingStore.set("roleScopeTagIds", value); } /** - * Sets the scheduledActionsForRule property value. The list of scheduled action for this rule + * Sets the scheduledActionsForRule property value. The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. * @param value Value to set for the scheduledActionsForRule property. */ public void setScheduledActionsForRule(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java index 9d962f08cdd..42252f201f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationSettingDefinition.java @@ -47,7 +47,7 @@ public EnumSet getAccessTypes() return this.backingStore.get("accessTypes"); } /** - * Gets the applicability property value. Details which device setting is applicable on. Supports: $filters. + * Gets the applicability property value. Details which device setting is applicable on * @return a {@link DeviceManagementConfigurationSettingApplicability} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public String getBaseUri() { return this.backingStore.get("baseUri"); } /** - * Gets the categoryId property value. Specify category in which the setting is under. Support $filters. + * Gets the categoryId property value. Specifies the area group under which the setting is configured in a specified configuration service provider (CSP) * @return a {@link String} */ @jakarta.annotation.Nullable @@ -71,7 +71,7 @@ public String getCategoryId() { return this.backingStore.get("categoryId"); } /** - * Gets the description property value. Description of the setting. + * Gets the description property value. Description of the item * @return a {@link String} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. Name of the setting. For example: Allow Toast. + * Gets the displayName property value. Display name of the item * @return a {@link String} */ @jakarta.annotation.Nullable @@ -115,7 +115,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the helpText property value. Help text of the setting. Give more details of the setting. + * Gets the helpText property value. Help text of the item * @return a {@link String} */ @jakarta.annotation.Nullable @@ -123,7 +123,7 @@ public String getHelpText() { return this.backingStore.get("helpText"); } /** - * Gets the infoUrls property value. List of links more info for the setting can be found at. + * Gets the infoUrls property value. List of links more info for the setting can be found at * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -179,7 +179,7 @@ public EnumSet getRiskLevel() { return this.backingStore.get("riskLevel"); } /** - * Gets the rootDefinitionId property value. Root setting definition id if the setting is a child setting. + * Gets the rootDefinitionId property value. Root setting definition if the setting is a child setting. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -253,7 +253,7 @@ public void setAccessTypes(@jakarta.annotation.Nullable final EnumSet value) { @@ -344,7 +344,7 @@ public void setRiskLevel(@jakarta.annotation.Nullable final EnumSet> getFieldDeserializers return deserializerMap; } /** - * Gets the maximumCount property value. Maximum number of simple settings in the collection. Valid values 1 to 100 + * Gets the maximumCount property value. Maximum number of simple settings in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Integer getMaximumCount() { return this.backingStore.get("maximumCount"); } /** - * Gets the minimumCount property value. Minimum number of simple settings in the collection. Valid values 1 to 100 + * Gets the minimumCount property value. Minimum number of simple settings in the collection * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeIntegerValue("minimumCount", this.getMinimumCount()); } /** - * Sets the maximumCount property value. Maximum number of simple settings in the collection. Valid values 1 to 100 + * Sets the maximumCount property value. Maximum number of simple settings in the collection * @param value Value to set for the maximumCount property. */ public void setMaximumCount(@jakarta.annotation.Nullable final Integer value) { this.backingStore.set("maximumCount", value); } /** - * Sets the minimumCount property value. Minimum number of simple settings in the collection. Valid values 1 to 100 + * Sets the minimumCount property value. Minimum number of simple settings in the collection * @param value Value to set for the minimumCount property. */ public void setMinimumCount(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java index d7c609e56e6..6d677e428e3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/DeviceManagementConfigurationStringSettingValueDefinition.java @@ -52,7 +52,7 @@ public java.util.List getFileTypes() { return this.backingStore.get("fileTypes"); } /** - * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub, bashScript, unknownFutureValue. + * Gets the format property value. Pre-defined format of the string. Possible values are: none, email, guid, ip, base64, url, version, xml, date, time, binary, regEx, json, dateTime, surfaceHub. * @return a {@link DeviceManagementConfigurationStringFormat} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public Boolean getIsSecret() { return this.backingStore.get("isSecret"); } /** - * Gets the maximumLength property value. Maximum length of string. Valid values 0 to 87516 + * Gets the maximumLength property value. Maximum length of string * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public Long getMaximumLength() { return this.backingStore.get("maximumLength"); } /** - * Gets the minimumLength property value. Minimum length of string. Valid values 0 to 87516 + * Gets the minimumLength property value. Minimum length of string * @return a {@link Long} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public void setFileTypes(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers return deserializerMap; } /** - * Gets the institution property value. The institution property + * Gets the institution property value. Contains details of the institution studied at. * @return a {@link InstitutionData} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public InstitutionData getInstitution() { return this.backingStore.get("institution"); } /** - * Gets the program property value. The program property + * Gets the program property value. Contains extended information about the program or course. * @return a {@link EducationalActivityDetail} */ @jakarta.annotation.Nullable @@ -108,14 +108,14 @@ public void setEndMonthYear(@jakarta.annotation.Nullable final LocalDate value) this.backingStore.set("endMonthYear", value); } /** - * Sets the institution property value. The institution property + * Sets the institution property value. Contains details of the institution studied at. * @param value Value to set for the institution property. */ public void setInstitution(@jakarta.annotation.Nullable final InstitutionData value) { this.backingStore.set("institution", value); } /** - * Sets the program property value. The program property + * Sets the program property value. Contains extended information about the program or course. * @param value Value to set for the program property. */ public void setProgram(@jakarta.annotation.Nullable final EducationalActivityDetail value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java index 03bfb66fa24..b442726d3fc 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Entity.java @@ -11,12 +11,13 @@ import com.microsoft.graph.beta.models.devicemanagement.AlertRule; import com.microsoft.graph.beta.models.devicemanagement.Monitoring; import com.microsoft.graph.beta.models.ediscovery.AddToReviewSetOperation; +import com.microsoft.graph.beta.models.ediscovery.CaseEscaped; import com.microsoft.graph.beta.models.ediscovery.CaseExportOperation; import com.microsoft.graph.beta.models.ediscovery.CaseHoldOperation; import com.microsoft.graph.beta.models.ediscovery.CaseIndexOperation; -import com.microsoft.graph.beta.models.ediscovery.CaseOperation; import com.microsoft.graph.beta.models.ediscovery.CaseSettings; import com.microsoft.graph.beta.models.ediscovery.Custodian; +import com.microsoft.graph.beta.models.ediscovery.DataSource; import com.microsoft.graph.beta.models.ediscovery.DataSourceContainer; import com.microsoft.graph.beta.models.ediscovery.Ediscoveryroot; import com.microsoft.graph.beta.models.ediscovery.EstimateStatisticsOperation; @@ -191,7 +192,7 @@ import com.microsoft.graph.beta.models.security.AuditLogQuery; import com.microsoft.graph.beta.models.security.AuditLogRecord; import com.microsoft.graph.beta.models.security.AuthorityTemplate; -import com.microsoft.graph.beta.models.security.CaseEscaped; +import com.microsoft.graph.beta.models.security.CaseOperation; import com.microsoft.graph.beta.models.security.CasesRoot; import com.microsoft.graph.beta.models.security.CategoryTemplate; import com.microsoft.graph.beta.models.security.CitationTemplate; @@ -200,7 +201,6 @@ import com.microsoft.graph.beta.models.security.DataDiscoveryReport; import com.microsoft.graph.beta.models.security.DataDiscoveryRoot; import com.microsoft.graph.beta.models.security.DataSet; -import com.microsoft.graph.beta.models.security.DataSource; import com.microsoft.graph.beta.models.security.DepartmentTemplate; import com.microsoft.graph.beta.models.security.DetectionRule; import com.microsoft.graph.beta.models.security.DiscoveredCloudAppDetail; @@ -1084,6 +1084,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.extension": return new Extension(); case "#microsoft.graph.extensionProperty": return new ExtensionProperty(); case "#microsoft.graph.external": return new External(); + case "#microsoft.graph.externalAuthenticationMethod": return new ExternalAuthenticationMethod(); case "#microsoft.graph.externalAuthenticationMethodConfiguration": return new ExternalAuthenticationMethodConfiguration(); case "#microsoft.graph.externalConnection": return new ExternalConnection(); case "#microsoft.graph.externalConnectors.connectionOperation": return new ConnectionOperation(); @@ -1392,7 +1393,6 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull case "#microsoft.graph.managedAppConfiguration": return new ManagedAppConfiguration(); case "#microsoft.graph.managedAppLogCollectionRequest": return new ManagedAppLogCollectionRequest(); case "#microsoft.graph.managedAppOperation": return new ManagedAppOperation(); - case "#microsoft.graph.managedAppPolicy": return new ManagedAppPolicy(); } return null; } @@ -1404,6 +1404,7 @@ private static Entity createFromDiscriminatorValue_1(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.managedAppPolicy": return new ManagedAppPolicy(); case "#microsoft.graph.managedAppPolicyDeploymentSummary": return new ManagedAppPolicyDeploymentSummary(); case "#microsoft.graph.managedAppProtection": return new ManagedAppProtection(); case "#microsoft.graph.managedAppProtectionPolicySetItem": return new ManagedAppProtectionPolicySetItem(); @@ -1624,6 +1625,7 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.onPremisesConditionalAccessSettings": return new OnPremisesConditionalAccessSettings(); case "#microsoft.graph.onPremisesDirectorySynchronization": return new OnPremisesDirectorySynchronization(); case "#microsoft.graph.onPremisesPublishingProfile": return new OnPremisesPublishingProfile(); + case "#microsoft.graph.onPremisesSyncBehavior": return new OnPremisesSyncBehavior(); case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return new OnTokenIssuanceStartCustomExtension(); case "#microsoft.graph.onTokenIssuanceStartListener": return new OnTokenIssuanceStartListener(); case "#microsoft.graph.onUserCreateStartListener": return new OnUserCreateStartListener(); @@ -1902,8 +1904,6 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull case "#microsoft.graph.security.dataDiscoveryRoot": return new DataDiscoveryRoot(); case "#microsoft.graph.security.dataSet": return new DataSet(); case "#microsoft.graph.security.dataSource": return new DataSource(); - case "#microsoft.graph.security.dataSourceContainer": return new DataSourceContainer(); - case "#microsoft.graph.security.departmentTemplate": return new DepartmentTemplate(); } return null; } @@ -1915,6 +1915,8 @@ private static Entity createFromDiscriminatorValue_2(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.security.dataSourceContainer": return new DataSourceContainer(); + case "#microsoft.graph.security.departmentTemplate": return new DepartmentTemplate(); case "#microsoft.graph.security.detectionRule": return new DetectionRule(); case "#microsoft.graph.security.discoveredCloudAppDetail": return new DiscoveredCloudAppDetail(); case "#microsoft.graph.security.discoveredCloudAppInfo": return new DiscoveredCloudAppInfo(); @@ -2200,6 +2202,7 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.trustFrameworkPolicy": return new TrustFrameworkPolicy(); case "#microsoft.graph.unenforcedMfaAwsUserFinding": return new UnenforcedMfaAwsUserFinding(); case "#microsoft.graph.unifiedRbacApplication": return new UnifiedRbacApplication(); + case "#microsoft.graph.unifiedRbacApplicationMultiple": return new UnifiedRbacApplicationMultiple(); case "#microsoft.graph.unifiedRbacResourceAction": return new UnifiedRbacResourceAction(); case "#microsoft.graph.unifiedRbacResourceNamespace": return new UnifiedRbacResourceNamespace(); case "#microsoft.graph.unifiedRbacResourceScope": return new UnifiedRbacResourceScope(); @@ -2412,9 +2415,6 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull case "#microsoft.graph.windowsMicrosoftEdgeApp": return new WindowsMicrosoftEdgeApp(); case "#microsoft.graph.windowsMobileMSI": return new WindowsMobileMSI(); case "#microsoft.graph.windowsPhone81AppX": return new WindowsPhone81AppX(); - case "#microsoft.graph.windowsPhone81AppXBundle": return new WindowsPhone81AppXBundle(); - case "#microsoft.graph.windowsPhone81CertificateProfileBase": return new WindowsPhone81CertificateProfileBase(); - case "#microsoft.graph.windowsPhone81CompliancePolicy": return new WindowsPhone81CompliancePolicy(); } return null; } @@ -2426,6 +2426,9 @@ private static Entity createFromDiscriminatorValue_3(@jakarta.annotation.Nonnull @jakarta.annotation.Nonnull private static Entity createFromDiscriminatorValue_4(@jakarta.annotation.Nonnull final String discriminatorValue) { switch (discriminatorValue) { + case "#microsoft.graph.windowsPhone81AppXBundle": return new WindowsPhone81AppXBundle(); + case "#microsoft.graph.windowsPhone81CertificateProfileBase": return new WindowsPhone81CertificateProfileBase(); + case "#microsoft.graph.windowsPhone81CompliancePolicy": return new WindowsPhone81CompliancePolicy(); case "#microsoft.graph.windowsPhone81CustomConfiguration": return new WindowsPhone81CustomConfiguration(); case "#microsoft.graph.windowsPhone81GeneralConfiguration": return new WindowsPhone81GeneralConfiguration(); case "#microsoft.graph.windowsPhone81ImportedPFXCertificateProfile": return new WindowsPhone81ImportedPFXCertificateProfile(); diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ExtendedKeyUsage.java b/src/main/java/com/microsoft/graph/beta/generated/models/ExtendedKeyUsage.java index 277f6b98d13..e6fb7868044 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ExtendedKeyUsage.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ExtendedKeyUsage.java @@ -71,7 +71,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + * Gets the name property value. Extended Key Usage Name * @return a {@link String} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public String getName() { return this.backingStore.get("name"); } /** - * Gets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + * Gets the objectIdentifier property value. Extended Key Usage Object Identifier * @return a {@link String} */ @jakarta.annotation.Nullable @@ -121,14 +121,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the name property value. The extended key usage (EKU) name that provides a user-friendly way to identify an EKU. + * Sets the name property value. Extended Key Usage Name * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("name", value); } /** - * Sets the objectIdentifier property value. The object identifier (OID) of an extended key usage of a certificate. For example, '1.3.6.1.5.5.7.3.2' for client authentication. + * Sets the objectIdentifier property value. Extended Key Usage Object Identifier * @param value Value to set for the objectIdentifier property. */ public void setObjectIdentifier(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethod.java b/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethod.java new file mode 100644 index 00000000000..35c0e5fb14a --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethod.java @@ -0,0 +1,79 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExternalAuthenticationMethod extends AuthenticationMethod implements Parsable { + /** + * Instantiates a new {@link ExternalAuthenticationMethod} and sets the default values. + */ + public ExternalAuthenticationMethod() { + super(); + this.setOdataType("#microsoft.graph.externalAuthenticationMethod"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ExternalAuthenticationMethod} + */ + @jakarta.annotation.Nonnull + public static ExternalAuthenticationMethod createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExternalAuthenticationMethod(); + } + /** + * Gets the configurationId property value. The configurationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getConfigurationId() { + return this.backingStore.get("configurationId"); + } + /** + * Gets the displayName property value. The displayName property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getDisplayName() { + return this.backingStore.get("displayName"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("configurationId", (n) -> { this.setConfigurationId(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeStringValue("configurationId", this.getConfigurationId()); + writer.writeStringValue("displayName", this.getDisplayName()); + } + /** + * Sets the configurationId property value. The configurationId property + * @param value Value to set for the configurationId property. + */ + public void setConfigurationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("configurationId", value); + } + /** + * Sets the displayName property value. The displayName property + * @param value Value to set for the displayName property. + */ + public void setDisplayName(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("displayName", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethodCollectionResponse.java b/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethodCollectionResponse.java new file mode 100644 index 00000000000..4f9ffb7facc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ExternalAuthenticationMethodCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExternalAuthenticationMethodCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link ExternalAuthenticationMethodCollectionResponse} and sets the default values. + */ + public ExternalAuthenticationMethodCollectionResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ExternalAuthenticationMethodCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static ExternalAuthenticationMethodCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ExternalAuthenticationMethodCollectionResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(ExternalAuthenticationMethod::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Group.java b/src/main/java/com/microsoft/graph/beta/generated/models/Group.java index 409b2e6cff2..77340bdd3e7 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Group.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Group.java @@ -272,6 +272,7 @@ public Map> getFieldDeserializers deserializerMap.put("onPremisesProvisioningErrors", (n) -> { this.setOnPremisesProvisioningErrors(n.getCollectionOfObjectValues(OnPremisesProvisioningError::createFromDiscriminatorValue)); }); deserializerMap.put("onPremisesSamAccountName", (n) -> { this.setOnPremisesSamAccountName(n.getStringValue()); }); deserializerMap.put("onPremisesSecurityIdentifier", (n) -> { this.setOnPremisesSecurityIdentifier(n.getStringValue()); }); + deserializerMap.put("onPremisesSyncBehavior", (n) -> { this.setOnPremisesSyncBehavior(n.getObjectValue(OnPremisesSyncBehavior::createFromDiscriminatorValue)); }); deserializerMap.put("onPremisesSyncEnabled", (n) -> { this.setOnPremisesSyncEnabled(n.getBooleanValue()); }); deserializerMap.put("organizationId", (n) -> { this.setOrganizationId(n.getStringValue()); }); deserializerMap.put("owners", (n) -> { this.setOwners(n.getCollectionOfObjectValues(DirectoryObject::createFromDiscriminatorValue)); }); @@ -528,6 +529,14 @@ public String getOnPremisesSamAccountName() { public String getOnPremisesSecurityIdentifier() { return this.backingStore.get("onPremisesSecurityIdentifier"); } + /** + * Gets the onPremisesSyncBehavior property value. Indicates the state of synchronization for a group between the cloud and on-premises Active Directory. Supports $filter only with advanced query capabilities. For example, $filter=onPremisesSyncBehavior/isCloudManaged eq true&$count=true. + * @return a {@link OnPremisesSyncBehavior} + */ + @jakarta.annotation.Nullable + public OnPremisesSyncBehavior getOnPremisesSyncBehavior() { + return this.backingStore.get("onPremisesSyncBehavior"); + } /** * Gets the onPremisesSyncEnabled property value. true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). * @return a {@link Boolean} @@ -826,6 +835,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("onPremisesProvisioningErrors", this.getOnPremisesProvisioningErrors()); writer.writeStringValue("onPremisesSamAccountName", this.getOnPremisesSamAccountName()); writer.writeStringValue("onPremisesSecurityIdentifier", this.getOnPremisesSecurityIdentifier()); + writer.writeObjectValue("onPremisesSyncBehavior", this.getOnPremisesSyncBehavior()); writer.writeBooleanValue("onPremisesSyncEnabled", this.getOnPremisesSyncEnabled()); writer.writeStringValue("organizationId", this.getOrganizationId()); writer.writeCollectionOfObjectValues("owners", this.getOwners()); @@ -1214,6 +1224,13 @@ public void setOnPremisesSamAccountName(@jakarta.annotation.Nullable final Strin public void setOnPremisesSecurityIdentifier(@jakarta.annotation.Nullable final String value) { this.backingStore.set("onPremisesSecurityIdentifier", value); } + /** + * Sets the onPremisesSyncBehavior property value. Indicates the state of synchronization for a group between the cloud and on-premises Active Directory. Supports $filter only with advanced query capabilities. For example, $filter=onPremisesSyncBehavior/isCloudManaged eq true&$count=true. + * @param value Value to set for the onPremisesSyncBehavior property. + */ + public void setOnPremisesSyncBehavior(@jakarta.annotation.Nullable final OnPremisesSyncBehavior value) { + this.backingStore.set("onPremisesSyncBehavior", value); + } /** * Sets the onPremisesSyncEnabled property value. true if this group is synced from an on-premises directory; false if this group was originally synced from an on-premises directory but is no longer synced; null if this object has never been synced from an on-premises directory (default). Returned by default. Read-only. Supports $filter (eq, ne, not, in, and eq on null values). * @param value Value to set for the onPremisesSyncEnabled property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java b/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java index 979cd5cddce..e531061389b 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/IosManagedAppProtection.java @@ -77,7 +77,7 @@ public java.util.List getApps() { return this.backingStore.get("apps"); } /** - * Gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. When this property is configured, ManagedBrowserToOpenLinksRequired should be true. + * Gets the customBrowserProtocol property value. A custom browser protocol to open weblink on iOS. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -338,7 +338,7 @@ public void setApps(@jakarta.annotation.Nullable final java.util.List getAllowedAudiences() { return this.backingStore.get("allowedAudiences"); } /** - * Gets the createdBy property value. The createdBy property + * Gets the createdBy property value. Provides the identifier of the user and/or application that created the entity. * @return a {@link IdentitySet} */ @jakarta.annotation.Nullable @@ -111,7 +111,7 @@ public Boolean getIsSearchable() { return this.backingStore.get("isSearchable"); } /** - * Gets the lastModifiedBy property value. The lastModifiedBy property + * Gets the lastModifiedBy property value. Provides the identifier of the user and/or application that last modified the entity. * @return a {@link IdentitySet} */ @jakarta.annotation.Nullable @@ -167,7 +167,7 @@ public void setAllowedAudiences(@jakarta.annotation.Nullable final EnumSet> getFieldDeserializers return deserializerMap; } /** - * Gets the key property value. Contains the name of the field that a value is associated with. + * Gets the key property value. Key. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the value property value. Contains the corresponding value for the specified key. + * Gets the value property value. Value. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,7 +118,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the key property value. Contains the name of the field that a value is associated with. + * Sets the key property value. Key. * @param value Value to set for the key property. */ public void setKey(@jakarta.annotation.Nullable final String value) { @@ -132,7 +132,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the value property value. Contains the corresponding value for the specified key. + * Sets the value property value. Value. * @param value Value to set for the value property. */ public void setValue(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java b/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java index 76cca558daf..8717bd61df0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/MobileApp.java @@ -91,7 +91,7 @@ public java.util.List getCategories() { return this.backingStore.get("categories"); } /** - * Gets the createdDateTime property value. The date and time the app was created. This property is read-only. + * Gets the createdDateTime property value. The date and time the app was created. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the dependentAppCount property value. The total number of dependencies the child app has. This property is read-only. + * Gets the dependentAppCount property value. The total number of dependencies the child app has. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -170,7 +170,7 @@ public String getInformationUrl() { return this.backingStore.get("informationUrl"); } /** - * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. This property is read-only. + * Gets the isAssigned property value. The value indicating whether the app is assigned to at least one group. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -194,7 +194,7 @@ public MimeContent getLargeIcon() { return this.backingStore.get("largeIcon"); } /** - * Gets the lastModifiedDateTime property value. The date and time the app was last modified. This property is read-only. + * Gets the lastModifiedDateTime property value. The date and time the app was last modified. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -242,7 +242,7 @@ public MobileAppPublishingState getPublishingState() { return this.backingStore.get("publishingState"); } /** - * Gets the relationships property value. The set of direct relationships for this app. + * Gets the relationships property value. List of relationships for this mobile app. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -274,7 +274,7 @@ public Integer getSupersedingAppCount() { return this.backingStore.get("supersedingAppCount"); } /** - * Gets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + * Gets the uploadState property value. The upload state. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -319,14 +319,14 @@ public void setCategories(@jakarta.annotation.Nullable final java.util.List value) { @@ -452,7 +452,7 @@ public void setSupersedingAppCount(@jakarta.annotation.Nullable final Integer va this.backingStore.set("supersedingAppCount", value); } /** - * Sets the uploadState property value. The upload state. Possible values are: 0 - Not Ready, 1 - Ready, 2 - Processing. This property is read-only. + * Sets the uploadState property value. The upload state. * @param value Value to set for the uploadState property. */ public void setUploadState(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesSyncBehavior.java b/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesSyncBehavior.java new file mode 100644 index 00000000000..3918ed93705 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/OnPremisesSyncBehavior.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class OnPremisesSyncBehavior extends Entity implements Parsable { + /** + * Instantiates a new {@link OnPremisesSyncBehavior} and sets the default values. + */ + public OnPremisesSyncBehavior() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link OnPremisesSyncBehavior} + */ + @jakarta.annotation.Nonnull + public static OnPremisesSyncBehavior createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new OnPremisesSyncBehavior(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("isCloudManaged", (n) -> { this.setIsCloudManaged(n.getBooleanValue()); }); + return deserializerMap; + } + /** + * Gets the isCloudManaged property value. Indicates the state of synchronization for an object between the cloud and on-premises Active Directory. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsCloudManaged() { + return this.backingStore.get("isCloudManaged"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeBooleanValue("isCloudManaged", this.getIsCloudManaged()); + } + /** + * Sets the isCloudManaged property value. Indicates the state of synchronization for an object between the cloud and on-premises Active Directory. If true, updates from on-premises Active Directory are blocked in the cloud; if false, updates from on-premises Active Directory are allowed in the cloud and the object can be taken over by on-premises Active Directory. + * @param value Value to set for the isCloudManaged property. + */ + public void setIsCloudManaged(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isCloudManaged", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ProtectionPolicyBase.java b/src/main/java/com/microsoft/graph/beta/generated/models/ProtectionPolicyBase.java index 9dbdfe8a0aa..36db69c8156 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/ProtectionPolicyBase.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ProtectionPolicyBase.java @@ -34,6 +34,14 @@ public static ProtectionPolicyBase createFromDiscriminatorValue(@jakarta.annotat } return new ProtectionPolicyBase(); } + /** + * Gets the billingPolicyId property value. The billingPolicyId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getBillingPolicyId() { + return this.backingStore.get("billingPolicyId"); + } /** * Gets the createdBy property value. The identity of person who created the policy. * @return a {@link IdentitySet} @@ -65,6 +73,7 @@ public String getDisplayName() { @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("billingPolicyId", (n) -> { this.setBillingPolicyId(n.getStringValue()); }); deserializerMap.put("createdBy", (n) -> { this.setCreatedBy(n.getObjectValue(IdentitySet::createFromDiscriminatorValue)); }); deserializerMap.put("createdDateTime", (n) -> { this.setCreatedDateTime(n.getOffsetDateTimeValue()); }); deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); @@ -113,6 +122,7 @@ public ProtectionPolicyStatus getStatus() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeStringValue("billingPolicyId", this.getBillingPolicyId()); writer.writeObjectValue("createdBy", this.getCreatedBy()); writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); writer.writeStringValue("displayName", this.getDisplayName()); @@ -121,6 +131,13 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeCollectionOfObjectValues("retentionSettings", this.getRetentionSettings()); writer.writeEnumValue("status", this.getStatus()); } + /** + * Sets the billingPolicyId property value. The billingPolicyId property + * @param value Value to set for the billingPolicyId property. + */ + public void setBillingPolicyId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("billingPolicyId", value); + } /** * Sets the createdBy property value. The identity of person who created the policy. * @param value Value to set for the createdBy property. diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RbacApplicationMultiple.java b/src/main/java/com/microsoft/graph/beta/generated/models/RbacApplicationMultiple.java index f33c42ba17f..d41f1938238 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RbacApplicationMultiple.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RbacApplicationMultiple.java @@ -22,6 +22,13 @@ public RbacApplicationMultiple() { @jakarta.annotation.Nonnull public static RbacApplicationMultiple createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { Objects.requireNonNull(parseNode); + final ParseNode mappingValueNode = parseNode.getChildNode("@odata.type"); + if (mappingValueNode != null) { + final String mappingValue = mappingValueNode.getStringValue(); + switch (mappingValue) { + case "#microsoft.graph.unifiedRbacApplicationMultiple": return new UnifiedRbacApplicationMultiple(); + } + } return new RbacApplicationMultiple(); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Report.java b/src/main/java/com/microsoft/graph/beta/generated/models/Report.java index d99a393990c..d563e1b88a4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Report.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Report.java @@ -59,7 +59,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the content property value. Report content; details vary by report type. + * Gets the content property value. The http content that has the data * @return a {@link byte[]} */ @jakarta.annotation.Nullable @@ -111,7 +111,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the content property value. Report content; details vary by report type. + * Sets the content property value. The http content that has the data * @param value Value to set for the content property. */ public void setContent(@jakarta.annotation.Nullable final byte[] value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/ReportAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/ReportAction.java new file mode 100644 index 00000000000..cf7e8500352 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/ReportAction.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum ReportAction implements ValuedEnum { + Unknown("unknown"), + Junk("junk"), + NotJunk("notJunk"), + Phish("phish"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + ReportAction(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static ReportAction forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "unknown": return Unknown; + case "junk": return Junk; + case "notJunk": return NotJunk; + case "phish": return Phish; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/RoleManagement.java b/src/main/java/com/microsoft/graph/beta/generated/models/RoleManagement.java index 867f5bd4617..ef9caa75ee4 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/RoleManagement.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/RoleManagement.java @@ -65,10 +65,10 @@ public RbacApplicationMultiple getCloudPC() { } /** * Gets the defender property value. The defender property - * @return a {@link RbacApplicationMultiple} + * @return a {@link UnifiedRbacApplicationMultiple} */ @jakarta.annotation.Nullable - public RbacApplicationMultiple getDefender() { + public UnifiedRbacApplicationMultiple getDefender() { return this.backingStore.get("defender"); } /** @@ -119,7 +119,7 @@ public UnifiedRbacApplication getExchange() { public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(8); deserializerMap.put("cloudPC", (n) -> { this.setCloudPC(n.getObjectValue(RbacApplicationMultiple::createFromDiscriminatorValue)); }); - deserializerMap.put("defender", (n) -> { this.setDefender(n.getObjectValue(RbacApplicationMultiple::createFromDiscriminatorValue)); }); + deserializerMap.put("defender", (n) -> { this.setDefender(n.getObjectValue(UnifiedRbacApplicationMultiple::createFromDiscriminatorValue)); }); deserializerMap.put("deviceManagement", (n) -> { this.setDeviceManagement(n.getObjectValue(RbacApplicationMultiple::createFromDiscriminatorValue)); }); deserializerMap.put("directory", (n) -> { this.setDirectory(n.getObjectValue(RbacApplication::createFromDiscriminatorValue)); }); deserializerMap.put("enterpriseApps", (n) -> { this.setEnterpriseApps(n.getCollectionOfObjectValues(RbacApplication::createFromDiscriminatorValue)); }); @@ -178,7 +178,7 @@ public void setCloudPC(@jakarta.annotation.Nullable final RbacApplicationMultipl * Sets the defender property value. The defender property * @param value Value to set for the defender property. */ - public void setDefender(@jakarta.annotation.Nullable final RbacApplicationMultiple value) { + public void setDefender(@jakarta.annotation.Nullable final UnifiedRbacApplicationMultiple value) { this.backingStore.set("defender", value); } /** diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/Security.java b/src/main/java/com/microsoft/graph/beta/generated/models/Security.java index 17a33ad3f2a..c25e86a1428 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/Security.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/Security.java @@ -225,7 +225,7 @@ public java.util.List getIncidents() { return this.backingStore.get("incidents"); } /** - * Gets the incidentTasks property value. The incidentTasks property + * Gets the incidentTasks property value. A collection of tasks associated with security incidents. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -522,7 +522,7 @@ public void setIncidents(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UnifiedRbacApplicationMultiple.java b/src/main/java/com/microsoft/graph/beta/generated/models/UnifiedRbacApplicationMultiple.java new file mode 100644 index 00000000000..85b38f319c0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UnifiedRbacApplicationMultiple.java @@ -0,0 +1,62 @@ +package com.microsoft.graph.beta.models; + +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UnifiedRbacApplicationMultiple extends RbacApplicationMultiple implements Parsable { + /** + * Instantiates a new {@link UnifiedRbacApplicationMultiple} and sets the default values. + */ + public UnifiedRbacApplicationMultiple() { + super(); + this.setOdataType("#microsoft.graph.unifiedRbacApplicationMultiple"); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link UnifiedRbacApplicationMultiple} + */ + @jakarta.annotation.Nonnull + public static UnifiedRbacApplicationMultiple createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UnifiedRbacApplicationMultiple(); + } + /** + * Gets the customAppScopes property value. Represents the resources that the principal has been granted access. + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCustomAppScopes() { + return this.backingStore.get("customAppScopes"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("customAppScopes", (n) -> { this.setCustomAppScopes(n.getCollectionOfObjectValues(CustomAppScope::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("customAppScopes", this.getCustomAppScopes()); + } + /** + * Sets the customAppScopes property value. Represents the resources that the principal has been granted access. + * @param value Value to set for the customAppScopes property. + */ + public void setCustomAppScopes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("customAppScopes", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/UserAccountInformation.java b/src/main/java/com/microsoft/graph/beta/generated/models/UserAccountInformation.java index ed41e9274d5..3418ae610db 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/UserAccountInformation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/UserAccountInformation.java @@ -55,7 +55,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the preferredLanguageTag property value. The preferredLanguageTag property + * Gets the preferredLanguageTag property value. Contains the language the user has associated as preferred for the account. * @return a {@link LocaleInfo} */ @jakarta.annotation.Nullable @@ -97,7 +97,7 @@ public void setCountryCode(@jakarta.annotation.Nullable final String value) { this.backingStore.set("countryCode", value); } /** - * Sets the preferredLanguageTag property value. The preferredLanguageTag property + * Sets the preferredLanguageTag property value. Contains the language the user has associated as preferred for the account. * @param value Value to set for the preferredLanguageTag property. */ public void setPreferredLanguageTag(@jakarta.annotation.Nullable final LocaleInfo value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WebAccount.java b/src/main/java/com/microsoft/graph/beta/generated/models/WebAccount.java index b537ab7c624..a3fb416ea62 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WebAccount.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WebAccount.java @@ -49,7 +49,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the service property value. The service property + * Gets the service property value. Contains basic detail about the service that is being associated. * @return a {@link ServiceInformation} */ @jakarta.annotation.Nullable @@ -110,7 +110,7 @@ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the service property value. The service property + * Sets the service property value. Contains basic detail about the service that is being associated. * @param value Value to set for the service property. */ public void setService(@jakarta.annotation.Nullable final ServiceInformation value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsAppXAppAssignmentSettings.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsAppXAppAssignmentSettings.java index ee26fcc3eea..64dbc36d101 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsAppXAppAssignmentSettings.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsAppXAppAssignmentSettings.java @@ -39,7 +39,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + * Gets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("useDeviceContext", this.getUseDeviceContext()); } /** - * Sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + * Sets the useDeviceContext property value. When TRUE, indicates that device execution context will be used for the AppX mobile app. When FALSE, indicates that user context will be used for the AppX mobile app. By default, this property is set to FALSE. Once this property has been set to TRUE it cannot be changed. * @param value Value to set for the useDeviceContext property. */ public void setUseDeviceContext(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java index 5559029a4ea..d258eae6c09 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WindowsDomainJoinConfiguration.java @@ -67,7 +67,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity + * Gets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -117,7 +117,7 @@ public void setComputerNameSuffixRandomCharCount(@jakarta.annotation.Nullable fi this.backingStore.set("computerNameSuffixRandomCharCount", value); } /** - * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity + * Sets the networkAccessConfigurations property value. Reference to device configurations required for network connectivity. This collection can contain a maximum of 2 elements. * @param value Value to set for the networkAccessConfigurations property. */ public void setNetworkAccessConfigurations(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/WorkPosition.java b/src/main/java/com/microsoft/graph/beta/generated/models/WorkPosition.java index eed81d4347f..5a9abc8a0b6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/WorkPosition.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/WorkPosition.java @@ -42,7 +42,7 @@ public java.util.List getColleagues() { return this.backingStore.get("colleagues"); } /** - * Gets the detail property value. The detail property + * Gets the detail property value. Contains detailed information about the position. * @return a {@link PositionDetail} */ @jakarta.annotation.Nullable @@ -107,7 +107,7 @@ public void setColleagues(@jakarta.annotation.Nullable final java.util.List> getFieldDeserializers() { - final HashMap> deserializerMap = new HashMap>(3); + final HashMap> deserializerMap = new HashMap>(4); deserializerMap.put("allowStudentContactAssociation", (n) -> { this.setAllowStudentContactAssociation(n.getBooleanValue()); }); deserializerMap.put("markAllStudentsAsMinors", (n) -> { this.setMarkAllStudentsAsMinors(n.getBooleanValue()); }); deserializerMap.put("@odata.type", (n) -> { this.setOdataType(n.getStringValue()); }); + deserializerMap.put("studentAgeGroup", (n) -> { this.setStudentAgeGroup(n.getEnumValue(StudentAgeGroup::forValue)); }); return deserializerMap; } /** @@ -91,6 +92,14 @@ public Boolean getMarkAllStudentsAsMinors() { public String getOdataType() { return this.backingStore.get("odataType"); } + /** + * Gets the studentAgeGroup property value. Indicates the age group classification for students. Possible values are: minor, notAdult, adult, unknownFutureValue. Use null to disable age group enforcement. + * @return a {@link StudentAgeGroup} + */ + @jakarta.annotation.Nullable + public StudentAgeGroup getStudentAgeGroup() { + return this.backingStore.get("studentAgeGroup"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -100,6 +109,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("allowStudentContactAssociation", this.getAllowStudentContactAssociation()); writer.writeBooleanValue("markAllStudentsAsMinors", this.getMarkAllStudentsAsMinors()); writer.writeStringValue("@odata.type", this.getOdataType()); + writer.writeEnumValue("studentAgeGroup", this.getStudentAgeGroup()); writer.writeAdditionalData(this.getAdditionalData()); } /** @@ -138,4 +148,11 @@ public void setMarkAllStudentsAsMinors(@jakarta.annotation.Nullable final Boolea public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } + /** + * Sets the studentAgeGroup property value. Indicates the age group classification for students. Possible values are: minor, notAdult, adult, unknownFutureValue. Use null to disable age group enforcement. + * @param value Value to set for the studentAgeGroup property. + */ + public void setStudentAgeGroup(@jakarta.annotation.Nullable final StudentAgeGroup value) { + this.backingStore.set("studentAgeGroup", value); + } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/industrydata/StudentAgeGroup.java b/src/main/java/com/microsoft/graph/beta/generated/models/industrydata/StudentAgeGroup.java new file mode 100644 index 00000000000..95fa6d120d3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/models/industrydata/StudentAgeGroup.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.beta.models.industrydata; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum StudentAgeGroup implements ValuedEnum { + Minor("minor"), + NotAdult("notAdult"), + Adult("adult"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + StudentAgeGroup(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static StudentAgeGroup forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "minor": return Minor; + case "notAdult": return NotAdult; + case "adult": return Adult; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoveryExportOperation.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoveryExportOperation.java index 9dc54e2fba6..ea83bca4231 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoveryExportOperation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoveryExportOperation.java @@ -58,7 +58,7 @@ public java.util.List getExportFileMetadata() { return this.backingStore.get("exportFileMetadata"); } /** - * Gets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. The fileInfo member is deprecated and stopped returning data on April 30, 2023. Going forward, the summary and load files are always included. Possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue, splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize. + * Gets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. The fileInfo member is deprecated and stopped returning data on April 30, 2023. Going forward, the summary and load files are always included. Possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue, splitSource, includeFolderAndPath, friendlyName, condensePaths. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: splitSource, includeFolderAndPath, friendlyName, condensePaths. * @return a {@link EnumSet} */ @jakarta.annotation.Nullable @@ -66,7 +66,7 @@ public EnumSet getExportOptions() { return this.backingStore.get("exportOptions"); } /** - * Gets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. + * Gets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. The directory member is deprecated. It remains in beta for backward compatibility. Going forward, use either pst or msg. * @return a {@link ExportFileStructure} */ @jakarta.annotation.Nullable @@ -171,14 +171,14 @@ public void setExportFileMetadata(@jakarta.annotation.Nullable final java.util.L this.backingStore.set("exportFileMetadata", value); } /** - * Sets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. The fileInfo member is deprecated and stopped returning data on April 30, 2023. Going forward, the summary and load files are always included. Possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue, splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: splitSource, includeFolderAndPath, friendlyName, condensePaths, optimizedPartitionSize. + * Sets the exportOptions property value. The options provided for the export. For more information, see reviewSet: export. The fileInfo member is deprecated and stopped returning data on April 30, 2023. Going forward, the summary and load files are always included. Possible values are: originalFiles, text, pdfReplacement, tags, unknownFutureValue, splitSource, includeFolderAndPath, friendlyName, condensePaths. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: splitSource, includeFolderAndPath, friendlyName, condensePaths. * @param value Value to set for the exportOptions property. */ public void setExportOptions(@jakarta.annotation.Nullable final EnumSet value) { this.backingStore.set("exportOptions", value); } /** - * Sets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory, pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. + * Sets the exportStructure property value. The options that specify the structure of the export. For more information, see reviewSet: export. Possible values are: none, directory (deprecated), pst, unknownFutureValue, msg. Use the Prefer: include-unknown-enum-members request header to get the following value from this evolvable enum: msg. The directory member is deprecated. It remains in beta for backward compatibility. Going forward, use either pst or msg. * @param value Value to set for the exportStructure property. */ public void setExportStructure(@jakarta.annotation.Nullable final ExportFileStructure value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoverySearchExportOperation.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoverySearchExportOperation.java index bc110c0cfed..aa4b63bbb32 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoverySearchExportOperation.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/EdiscoverySearchExportOperation.java @@ -26,7 +26,7 @@ public static EdiscoverySearchExportOperation createFromDiscriminatorValue(@jaka return new EdiscoverySearchExportOperation(); } /** - * Gets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue, htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, optimizedPartitionSize, includeReport. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, optimizedPartitionSize, includeReport. + * Gets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue, htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport. * @return a {@link EnumSet} */ @jakarta.annotation.Nullable @@ -82,7 +82,7 @@ public java.util.List getExportFileMetadata() { return this.backingStore.get("exportFileMetadata"); } /** - * Gets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. + * Gets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml (deprecated), unknownFutureValue. The eml member is deprecated. It remains in beta for backward compatibility. Going forward, use either pst or msg. * @return a {@link ExportFormat} */ @jakarta.annotation.Nullable @@ -153,7 +153,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("search", this.getSearch()); } /** - * Sets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue, htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, optimizedPartitionSize, includeReport. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, optimizedPartitionSize, includeReport. + * Sets the additionalOptions property value. The additional items to include in the export. The possible values are: none, teamsAndYammerConversations, cloudAttachments, allDocumentVersions, subfolderContents, listAttachments, unknownFutureValue, htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport. Use the Prefer: include-unknown-enum-members request header to get the following values from this evolvable enum: htmlTranscripts, advancedIndexing, allItemsInFolder, includeFolderAndPath, condensePaths, friendlyName, splitSource, includeReport. * @param value Value to set for the additionalOptions property. */ public void setAdditionalOptions(@jakarta.annotation.Nullable final EnumSet value) { @@ -202,7 +202,7 @@ public void setExportFileMetadata(@jakarta.annotation.Nullable final java.util.L this.backingStore.set("exportFileMetadata", value); } /** - * Sets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml, unknownFutureValue. + * Sets the exportFormat property value. Format of the emails of the export. The possible values are: pst, msg, eml (deprecated), unknownFutureValue. The eml member is deprecated. It remains in beta for backward compatibility. Going forward, use either pst or msg. * @param value Value to set for the exportFormat property. */ public void setExportFormat(@jakarta.annotation.Nullable final ExportFormat value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/EventQuery.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/EventQuery.java index 01caeeebe91..65dd7b2f3b2 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/EventQuery.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/EventQuery.java @@ -76,7 +76,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint Online and OneDrive for Business, 'keywords' for Exchange Online. + * Gets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint in Microsoft 365 and OneDrive for work or school, 'keywords' for Exchange Online. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getQuery() { return this.backingStore.get("query"); } /** - * Gets the queryType property value. Represents the type of query associated with an event. 'files' for SPO and ODB and 'messages' for EXO.The possible values are: files, messages, unknownFutureValue. + * Gets the queryType property value. Represents the type of query associated with an event. 'files' for SharePoint in Microsoft 365 and OneDrive for work or school, and 'messages' for Exchange Online. The possible values are: files, messages, unknownFutureValue. * @return a {@link QueryType} */ @jakarta.annotation.Nullable @@ -125,14 +125,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint Online and OneDrive for Business, 'keywords' for Exchange Online. + * Sets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint in Microsoft 365 and OneDrive for work or school, 'keywords' for Exchange Online. * @param value Value to set for the query property. */ public void setQuery(@jakarta.annotation.Nullable final String value) { this.backingStore.set("query", value); } /** - * Sets the queryType property value. Represents the type of query associated with an event. 'files' for SPO and ODB and 'messages' for EXO.The possible values are: files, messages, unknownFutureValue. + * Sets the queryType property value. Represents the type of query associated with an event. 'files' for SharePoint in Microsoft 365 and OneDrive for work or school, and 'messages' for Exchange Online. The possible values are: files, messages, unknownFutureValue. * @param value Value to set for the queryType property. */ public void setQueryType(@jakarta.annotation.Nullable final QueryType value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTask.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTask.java index 9fe22390669..d1bcf659dab 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTask.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTask.java @@ -43,7 +43,7 @@ public IncidentTaskActionType getActionType() { return this.backingStore.get("actionType"); } /** - * Gets the createdByDisplayName property value. The createdByDisplayName property + * Gets the createdByDisplayName property value. Name of the entity that created the task. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -51,7 +51,7 @@ public String getCreatedByDisplayName() { return this.backingStore.get("createdByDisplayName"); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Creation time of the task. Read-only. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the description property value. The description property + * Gets the description property value. Description of the remediation action. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -67,7 +67,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. Title of the task. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -96,7 +96,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the incident property value. The incident property + * Gets the incident property value. Required. The incident that contains this task. Must contain a valid incident ID. * @return a {@link Incident} */ @jakarta.annotation.Nullable @@ -104,7 +104,7 @@ public Incident getIncident() { return this.backingStore.get("incident"); } /** - * Gets the lastModifiedByDisplayName property value. The lastModifiedByDisplayName property + * Gets the lastModifiedByDisplayName property value. Name of the entity that last updated the task. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -112,7 +112,7 @@ public String getLastModifiedByDisplayName() { return this.backingStore.get("lastModifiedByDisplayName"); } /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Gets the lastModifiedDateTime property value. Last update time of the task. Read-only. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -120,7 +120,7 @@ public OffsetDateTime getLastModifiedDateTime() { return this.backingStore.get("lastModifiedDateTime"); } /** - * Gets the responseAction property value. The responseAction property + * Gets the responseAction property value. The reponse action. * @return a {@link IncidentTaskResponseAction} */ @jakarta.annotation.Nullable @@ -178,56 +178,56 @@ public void setActionType(@jakarta.annotation.Nullable final IncidentTaskActionT this.backingStore.set("actionType", value); } /** - * Sets the createdByDisplayName property value. The createdByDisplayName property + * Sets the createdByDisplayName property value. Name of the entity that created the task. Read-only. * @param value Value to set for the createdByDisplayName property. */ public void setCreatedByDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("createdByDisplayName", value); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Creation time of the task. Read-only. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("createdDateTime", value); } /** - * Sets the description property value. The description property + * Sets the description property value. Description of the remediation action. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { this.backingStore.set("description", value); } /** - * Sets the displayName property value. The displayName property + * Sets the displayName property value. Title of the task. * @param value Value to set for the displayName property. */ public void setDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("displayName", value); } /** - * Sets the incident property value. The incident property + * Sets the incident property value. Required. The incident that contains this task. Must contain a valid incident ID. * @param value Value to set for the incident property. */ public void setIncident(@jakarta.annotation.Nullable final Incident value) { this.backingStore.set("incident", value); } /** - * Sets the lastModifiedByDisplayName property value. The lastModifiedByDisplayName property + * Sets the lastModifiedByDisplayName property value. Name of the entity that last updated the task. Read-only. * @param value Value to set for the lastModifiedByDisplayName property. */ public void setLastModifiedByDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("lastModifiedByDisplayName", value); } /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Sets the lastModifiedDateTime property value. Last update time of the task. Read-only. * @param value Value to set for the lastModifiedDateTime property. */ public void setLastModifiedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("lastModifiedDateTime", value); } /** - * Sets the responseAction property value. The responseAction property + * Sets the responseAction property value. The reponse action. * @param value Value to set for the responseAction property. */ public void setResponseAction(@jakarta.annotation.Nullable final IncidentTaskResponseAction value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTaskResponseAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTaskResponseAction.java index 6fec3ff4a98..d89ce0e0560 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTaskResponseAction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/IncidentTaskResponseAction.java @@ -56,7 +56,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the identifierValue property value. The identifierValue property + * Gets the identifierValue property value. Required. The identifier value for the response action. This value is specific to the type of action being performed. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("identifierValue", this.getIdentifierValue()); } /** - * Sets the identifierValue property value. The identifierValue property + * Sets the identifierValue property value. Required. The identifier value for the response action. This value is specific to the type of action being performed. * @param value Value to set for the identifierValue property. */ public void setIdentifierValue(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/models/security/StopAndQuarantineFileIncidentTaskResponseAction.java b/src/main/java/com/microsoft/graph/beta/generated/models/security/StopAndQuarantineFileIncidentTaskResponseAction.java index fc64bca9351..44e37158d31 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/models/security/StopAndQuarantineFileIncidentTaskResponseAction.java +++ b/src/main/java/com/microsoft/graph/beta/generated/models/security/StopAndQuarantineFileIncidentTaskResponseAction.java @@ -26,7 +26,7 @@ public static StopAndQuarantineFileIncidentTaskResponseAction createFromDiscrimi return new StopAndQuarantineFileIncidentTaskResponseAction(); } /** - * Gets the deviceId property value. The deviceId property + * Gets the deviceId property value. Optional. The identifier of the device where the file is located. This property allows targeting the action to a specific device when the same file exists on multiple devices. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("deviceId", this.getDeviceId()); } /** - * Sets the deviceId property value. The deviceId property + * Sets the deviceId property value. Optional. The identifier of the device where the file is located. This property allows targeting the action to a specific device when the same file exists on multiple devices. * @param value Value to set for the deviceId property. */ public void setDeviceId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java index 44357c2243a..0420b233c46 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/networkaccess/filteringprofiles/item/policies/item/PolicyLinkItemRequestBuilder.java @@ -90,23 +90,23 @@ public PolicyLink get(@jakarta.annotation.Nullable final java.util.function.Cons return this.requestAdapter.send(requestInfo, errorMapping, PolicyLink::createFromDiscriminatorValue); } /** - * Update the properties of a tlsInspectionPolicyLink object. + * Update the properties of a threatIntelligencePolicyLink object. * @param body The request body * @return a {@link PolicyLink} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public PolicyLink patch(@jakarta.annotation.Nonnull final PolicyLink body) { return patch(body, null); } /** - * Update the properties of a tlsInspectionPolicyLink object. + * Update the properties of a threatIntelligencePolicyLink object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link PolicyLink} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public PolicyLink patch(@jakarta.annotation.Nonnull final PolicyLink body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a tlsInspectionPolicyLink object. + * Update the properties of a threatIntelligencePolicyLink object. * @param body The request body * @return a {@link RequestInformation} */ @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a tlsInspectionPolicyLink object. + * Update the properties of a threatIntelligencePolicyLink object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java index 7f141e622cf..9ffe5488a9d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/policies/crosstenantaccesspolicy/partners/item/identitysynchronization/IdentitySynchronizationRequestBuilder.java @@ -81,23 +81,23 @@ public CrossTenantIdentitySyncPolicyPartner get(@jakarta.annotation.Nullable fin return this.requestAdapter.send(requestInfo, errorMapping, CrossTenantIdentitySyncPolicyPartner::createFromDiscriminatorValue); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull final CrossTenantIdentitySyncPolicyPartner body) { return put(body, null); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link CrossTenantIdentitySyncPolicyPartner} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public CrossTenantIdentitySyncPolicyPartner put(@jakarta.annotation.Nonnull final CrossTenantIdentitySyncPolicyPartner body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPutRequestInformation(@jakarta.annotation.Nonnull fi return toPutRequestInformation(body, null); } /** - * Update the user synchronization policy of a partner-specific configuration. + * Create a cross-tenant user synchronization policy for a partner-specific configuration. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/DefenderRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/DefenderRequestBuilder.java index cf380b8eade..5ef18130540 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/DefenderRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/DefenderRequestBuilder.java @@ -1,7 +1,8 @@ package com.microsoft.graph.beta.rolemanagement.defender; import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.RbacApplicationMultiple; +import com.microsoft.graph.beta.models.UnifiedRbacApplicationMultiple; +import com.microsoft.graph.beta.rolemanagement.defender.customappscopes.CustomAppScopesRequestBuilder; import com.microsoft.graph.beta.rolemanagement.defender.resourcenamespaces.ResourceNamespacesRequestBuilder; import com.microsoft.graph.beta.rolemanagement.defender.roleassignments.RoleAssignmentsRequestBuilder; import com.microsoft.graph.beta.rolemanagement.defender.roledefinitions.RoleDefinitionsRequestBuilder; @@ -23,6 +24,17 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class DefenderRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplicationMultiple entity. + * @return a {@link CustomAppScopesRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CustomAppScopesRequestBuilder customAppScopes() { + return new CustomAppScopesRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplicationMultiple entity. * @return a {@link ResourceNamespacesRequestBuilder} @@ -98,62 +110,62 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume } /** * Get defender from roleManagement - * @return a {@link RbacApplicationMultiple} + * @return a {@link UnifiedRbacApplicationMultiple} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 */ @jakarta.annotation.Nullable @Deprecated - public RbacApplicationMultiple get() { + public UnifiedRbacApplicationMultiple get() { return get(null); } /** * Get defender from roleManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RbacApplicationMultiple} + * @return a {@link UnifiedRbacApplicationMultiple} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 */ @jakarta.annotation.Nullable @Deprecated - public RbacApplicationMultiple get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public UnifiedRbacApplicationMultiple get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, RbacApplicationMultiple::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UnifiedRbacApplicationMultiple::createFromDiscriminatorValue); } /** * Update the navigation property defender in roleManagement * @param body The request body - * @return a {@link RbacApplicationMultiple} + * @return a {@link UnifiedRbacApplicationMultiple} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 */ @jakarta.annotation.Nullable @Deprecated - public RbacApplicationMultiple patch(@jakarta.annotation.Nonnull final RbacApplicationMultiple body) { + public UnifiedRbacApplicationMultiple patch(@jakarta.annotation.Nonnull final UnifiedRbacApplicationMultiple body) { return patch(body, null); } /** * Update the navigation property defender in roleManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RbacApplicationMultiple} + * @return a {@link UnifiedRbacApplicationMultiple} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 */ @jakarta.annotation.Nullable @Deprecated - public RbacApplicationMultiple patch(@jakarta.annotation.Nonnull final RbacApplicationMultiple body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public UnifiedRbacApplicationMultiple patch(@jakarta.annotation.Nonnull final UnifiedRbacApplicationMultiple body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); final HashMap> errorMapping = new HashMap>(); errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, RbacApplicationMultiple::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, UnifiedRbacApplicationMultiple::createFromDiscriminatorValue); } /** * Delete navigation property defender for roleManagement @@ -216,7 +228,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f */ @jakarta.annotation.Nonnull @Deprecated - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RbacApplicationMultiple body) { + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRbacApplicationMultiple body) { return toPatchRequestInformation(body, null); } /** @@ -229,7 +241,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull */ @jakarta.annotation.Nonnull @Deprecated - public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RbacApplicationMultiple body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final UnifiedRbacApplicationMultiple body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/CustomAppScopesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/CustomAppScopesRequestBuilder.java new file mode 100644 index 00000000000..81346e643c6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/CustomAppScopesRequestBuilder.java @@ -0,0 +1,210 @@ +package com.microsoft.graph.beta.rolemanagement.defender.customappscopes; + +import com.microsoft.graph.beta.models.CustomAppScopeCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count.CountRequestBuilder; +import com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item.CustomAppScopeItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplicationMultiple entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CustomAppScopesRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @Deprecated + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplicationMultiple entity. + * @param customAppScopeId The unique identifier of customAppScope + * @return a {@link CustomAppScopeItemRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CustomAppScopeItemRequestBuilder byCustomAppScopeId(@jakarta.annotation.Nonnull final String customAppScopeId) { + Objects.requireNonNull(customAppScopeId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("customAppScope%2Did", customAppScopeId); + return new CustomAppScopeItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CustomAppScopesRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CustomAppScopesRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CustomAppScopesRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CustomAppScopesRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get a list of customAppScope objects for an RBAC provider. Only the Microsoft Defender XDR Unified RBAC provider is supported. + * @return a {@link CustomAppScopeCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + * @see Find more info here + */ + @jakarta.annotation.Nullable + @Deprecated + public CustomAppScopeCollectionResponse get() { + return get(null); + } + /** + * Get a list of customAppScope objects for an RBAC provider. Only the Microsoft Defender XDR Unified RBAC provider is supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CustomAppScopeCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + * @see Find more info here + */ + @jakarta.annotation.Nullable + @Deprecated + public CustomAppScopeCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, CustomAppScopeCollectionResponse::createFromDiscriminatorValue); + } + /** + * Get a list of customAppScope objects for an RBAC provider. Only the Microsoft Defender XDR Unified RBAC provider is supported. + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get a list of customAppScope objects for an RBAC provider. Only the Microsoft Defender XDR Unified RBAC provider is supported. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CustomAppScopesRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CustomAppScopesRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CustomAppScopesRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get a list of customAppScope objects for an RBAC provider. Only the Microsoft Defender XDR Unified RBAC provider is supported. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/count/CountRequestBuilder.java new file mode 100644 index 00000000000..da963da3594 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/count/CountRequestBuilder.java @@ -0,0 +1,143 @@ +package com.microsoft.graph.beta.rolemanagement.defender.customappscopes.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/item/CustomAppScopeItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/item/CustomAppScopeItemRequestBuilder.java new file mode 100644 index 00000000000..68969bb128f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/defender/customappscopes/item/CustomAppScopeItemRequestBuilder.java @@ -0,0 +1,144 @@ +package com.microsoft.graph.beta.rolemanagement.defender.customappscopes.item; + +import com.microsoft.graph.beta.models.CustomAppScope; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the customAppScopes property of the microsoft.graph.unifiedRbacApplicationMultiple entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CustomAppScopeItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CustomAppScopeItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CustomAppScopeItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes/{customAppScope%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link CustomAppScopeItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CustomAppScopeItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/defender/customAppScopes/{customAppScope%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Represents the resources that the principal has been granted access. + * @return a {@link CustomAppScope} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public CustomAppScope get() { + return get(null); + } + /** + * Represents the resources that the principal has been granted access. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link CustomAppScope} + * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nullable + @Deprecated + public CustomAppScope get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, CustomAppScope::createFromDiscriminatorValue); + } + /** + * Represents the resources that the principal has been granted access. + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Represents the resources that the principal has been granted access. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CustomAppScopeItemRequestBuilder} + * @deprecated + * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 + */ + @jakarta.annotation.Nonnull + @Deprecated + public CustomAppScopeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CustomAppScopeItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Represents the resources that the principal has been granted access. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java index 54eec252b75..b8413460950 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/rolemanagement/devicemanagement/roleassignments/RoleAssignmentsRequestBuilder.java @@ -66,12 +66,12 @@ public RoleAssignmentsRequestBuilder(@jakarta.annotation.Nonnull final String ra super(requestAdapter, "{+baseurl}/roleManagement/deviceManagement/roleAssignments{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @return a {@link UnifiedRoleAssignmentMultipleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -79,13 +79,13 @@ public UnifiedRoleAssignmentMultipleCollectionResponse get() { return get(null); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link UnifiedRoleAssignmentMultipleCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable @Deprecated @@ -129,7 +129,7 @@ public UnifiedRoleAssignmentMultiple post(@jakarta.annotation.Nonnull final Unif return this.requestAdapter.send(requestInfo, errorMapping, UnifiedRoleAssignmentMultiple::createFromDiscriminatorValue); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @return a {@link RequestInformation} * @deprecated * This version is being deprecated and is scheduled for removal on 2025-12-01.Please migrate to the latest version before the removal date. as of 2025-01/PrivatePreview:microsoft.applicationAuthorization on 2025-01-01 and will be removed 2025-12-01 @@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} * @deprecated @@ -198,7 +198,7 @@ public RoleAssignmentsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S return new RoleAssignmentsRequestBuilder(rawUrl, requestAdapter); } /** - * Get a list of unifiedRoleAssignmentMultiple objects for an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. + * Get the properties and relationships of a unifiedRoleAssignmentMultiple object of an RBAC provider. The following RBAC providers are currently supported:- Cloud PC - device management (Intune)- Defender (Microsoft Defender XDR Unified RBAC) For other Microsoft 365 applications (like Microsoft Entra ID), use unifiedRoleAssignment. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/IncidentTasksRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/IncidentTasksRequestBuilder.java index 825602a9c6b..d7f1f61f351 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/IncidentTasksRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/IncidentTasksRequestBuilder.java @@ -60,19 +60,21 @@ public IncidentTasksRequestBuilder(@jakarta.annotation.Nonnull final String rawU super(requestAdapter, "{+baseurl}/security/incidentTasks{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get incidentTasks from security + * Get incident tasks that Microsoft Defender Experts for XDR identified for remediation. * @return a {@link IncidentTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public IncidentTaskCollectionResponse get() { return get(null); } /** - * Get incidentTasks from security + * Get incident tasks that Microsoft Defender Experts for XDR identified for remediation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IncidentTaskCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public IncidentTaskCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public IncidentTask post(@jakarta.annotation.Nonnull final IncidentTask body, @j return this.requestAdapter.send(requestInfo, errorMapping, IncidentTask::createFromDiscriminatorValue); } /** - * Get incidentTasks from security + * Get incident tasks that Microsoft Defender Experts for XDR identified for remediation. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get incidentTasks from security + * Get incident tasks that Microsoft Defender Experts for XDR identified for remediation. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +163,7 @@ public IncidentTasksRequestBuilder withUrl(@jakarta.annotation.Nonnull final Str return new IncidentTasksRequestBuilder(rawUrl, requestAdapter); } /** - * Get incidentTasks from security + * Get incident tasks that Microsoft Defender Experts for XDR identified for remediation. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/IncidentTaskItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/IncidentTaskItemRequestBuilder.java index d3c1698610e..950fb14ebb6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/IncidentTaskItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/IncidentTaskItemRequestBuilder.java @@ -73,7 +73,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get incidentTasks from security + * A collection of tasks associated with security incidents. * @return a {@link IncidentTask} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -82,7 +82,7 @@ public IncidentTask get() { return get(null); } /** - * Get incidentTasks from security + * A collection of tasks associated with security incidents. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link IncidentTask} * @throws ODataError When receiving a 4XX or 5XX status code @@ -140,7 +140,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get incidentTasks from security + * A collection of tasks associated with security incidents. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get incidentTasks from security + * A collection of tasks associated with security incidents. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -200,7 +200,7 @@ public IncidentTaskItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get incidentTasks from security + * A collection of tasks associated with security incidents. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/incident/IncidentRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/incident/IncidentRequestBuilder.java index 697e0b04e41..1814aaf1657 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/incident/IncidentRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/incident/IncidentRequestBuilder.java @@ -37,7 +37,7 @@ public IncidentRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ super(requestAdapter, "{+baseurl}/security/incidentTasks/{incidentTask%2Did}/incident{?%24expand,%24select}", rawUrl); } /** - * Get incident from security + * Required. The incident that contains this task. Must contain a valid incident ID. * @return a {@link Incident} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public Incident get() { return get(null); } /** - * Get incident from security + * Required. The incident that contains this task. Must contain a valid incident ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Incident} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public Incident get(@jakarta.annotation.Nullable final java.util.function.Consum return this.requestAdapter.send(requestInfo, errorMapping, Incident::createFromDiscriminatorValue); } /** - * Get incident from security + * Required. The incident that contains this task. Must contain a valid incident ID. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get incident from security + * Required. The incident that contains this task. Must contain a valid incident ID. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public IncidentRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r return new IncidentRequestBuilder(rawUrl, requestAdapter); } /** - * Get incident from security + * Required. The incident that contains this task. Must contain a valid incident ID. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/microsoftgraphsecurityexecuteresponseaction/MicrosoftGraphSecurityExecuteResponseActionRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/microsoftgraphsecurityexecuteresponseaction/MicrosoftGraphSecurityExecuteResponseActionRequestBuilder.java index cb32f491aa9..a2a39134629 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/microsoftgraphsecurityexecuteresponseaction/MicrosoftGraphSecurityExecuteResponseActionRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/security/incidenttasks/item/microsoftgraphsecurityexecuteresponseaction/MicrosoftGraphSecurityExecuteResponseActionRequestBuilder.java @@ -35,16 +35,18 @@ public MicrosoftGraphSecurityExecuteResponseActionRequestBuilder(@jakarta.annota super(requestAdapter, "{+baseurl}/security/incidentTasks/{incidentTask%2Did}/microsoft.graph.security.executeResponseAction", rawUrl); } /** - * Invoke action executeResponseAction + * Execute a remediation action on a Microsoft Defender XDR incident task. Only the following actionType values are supported for automated execution: collectInvestigationPackage, isolateDevice, unRestrictAppExecution, unIsolateDevice, restrictAppExecution, runAntiVirusScan, stopAndQuarantineFile, submitIocRule. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action executeResponseAction + * Execute a remediation action on a Microsoft Defender XDR incident task. Only the following actionType values are supported for automated execution: collectInvestigationPackage, isolateDevice, unRestrictAppExecution, unIsolateDevice, restrictAppExecution, runAntiVirusScan, stopAndQuarantineFile, submitIocRule. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toPostRequestInformation(requestConfiguration); @@ -53,7 +55,7 @@ public void post(@jakarta.annotation.Nullable final java.util.function.Consumer< this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action executeResponseAction + * Execute a remediation action on a Microsoft Defender XDR incident task. Only the following actionType values are supported for automated execution: collectInvestigationPackage, isolateDevice, unRestrictAppExecution, unIsolateDevice, restrictAppExecution, runAntiVirusScan, stopAndQuarantineFile, submitIocRule. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action executeResponseAction + * Execute a remediation action on a Microsoft Defender XDR incident task. Only the following actionType values are supported for automated execution: collectInvestigationPackage, isolateDevice, unRestrictAppExecution, unIsolateDevice, restrictAppExecution, runAntiVirusScan, stopAndQuarantineFile, submitIocRule. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java index d4a0deee011..b3e7b596b6c 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/TokenIssuancePoliciesRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.beta.models.TokenIssuancePolicyCollectionResponse; import com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.count.CountRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.TokenIssuancePolicyItemRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref.RefRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,7 +32,15 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. + * Provides operations to manage the collection of servicePrincipal entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } + /** + * Gets an item from the com.Microsoft.Graph.Beta.servicePrincipals.item.tokenIssuancePolicies.item collection * @param tokenIssuancePolicyId The unique identifier of tokenIssuancePolicy * @return a {@link TokenIssuancePolicyItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/TokenIssuancePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/TokenIssuancePolicyItemRequestBuilder.java index 6422be4989a..50a48181999 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/TokenIssuancePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/TokenIssuancePolicyItemRequestBuilder.java @@ -1,32 +1,30 @@ package com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item; -import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.TokenIssuancePolicy; +import com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref.RefRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; -import com.microsoft.kiota.BaseRequestConfiguration; -import com.microsoft.kiota.HttpMethod; -import com.microsoft.kiota.QueryParameters; import com.microsoft.kiota.RequestAdapter; -import com.microsoft.kiota.RequestInformation; -import com.microsoft.kiota.RequestOption; -import com.microsoft.kiota.serialization.Parsable; -import com.microsoft.kiota.serialization.ParsableFactory; -import java.util.Collection; import java.util.HashMap; -import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the tokenIssuancePolicies property of the microsoft.graph.servicePrincipal entity. + * Builds and executes requests for operations under /servicePrincipals/{servicePrincipal-id}/tokenIssuancePolicies/{tokenIssuancePolicy-id} */ @jakarta.annotation.Generated("com.microsoft.kiota") public class TokenIssuancePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the collection of servicePrincipal entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link TokenIssuancePolicyItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ public TokenIssuancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}{?%24expand,%24select}", pathParameters); + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}", pathParameters); } /** * Instantiates a new {@link TokenIssuancePolicyItemRequestBuilder} and sets the default values. @@ -34,96 +32,6 @@ public TokenIssuancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final H * @param requestAdapter The request adapter to use to execute the requests. */ public TokenIssuancePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}{?%24expand,%24select}", rawUrl); - } - /** - * The tokenIssuancePolicies assigned to this service principal. Supports $expand. - * @return a {@link TokenIssuancePolicy} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public TokenIssuancePolicy get() { - return get(null); - } - /** - * The tokenIssuancePolicies assigned to this service principal. Supports $expand. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link TokenIssuancePolicy} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public TokenIssuancePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, TokenIssuancePolicy::createFromDiscriminatorValue); - } - /** - * The tokenIssuancePolicies assigned to this service principal. Supports $expand. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation() { - return toGetRequestInformation(null); - } - /** - * The tokenIssuancePolicies assigned to this service principal. Supports $expand. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param rawUrl The raw URL to use for the request builder. - * @return a {@link TokenIssuancePolicyItemRequestBuilder} - */ - @jakarta.annotation.Nonnull - public TokenIssuancePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { - Objects.requireNonNull(rawUrl); - return new TokenIssuancePolicyItemRequestBuilder(rawUrl, requestAdapter); - } - /** - * The tokenIssuancePolicies assigned to this service principal. Supports $expand. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetQueryParameters implements QueryParameters { - /** - * Expand related entities - */ - @jakarta.annotation.Nullable - public String[] expand; - /** - * Select properties to be returned - */ - @jakarta.annotation.Nullable - public String[] select; - /** - * Extracts the query parameters into a map for the URI template parsing. - * @return a {@link Map} - */ - @jakarta.annotation.Nonnull - public Map toQueryParameters() { - final Map allQueryParams = new HashMap(); - allQueryParams.put("%24expand", expand); - allQueryParams.put("%24select", select); - return allQueryParams; - } - } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetRequestConfiguration extends BaseRequestConfiguration { - /** - * Request query parameters - */ - @jakarta.annotation.Nullable - public GetQueryParameters queryParameters = new GetQueryParameters(); + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}", rawUrl); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..c565e15c506 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/item/ref/RefRequestBuilder.java @@ -0,0 +1,91 @@ +package com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.item.ref; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the collection of servicePrincipal entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/{tokenIssuancePolicy%2Did}/$ref", rawUrl); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..170e34c906f --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenissuancepolicies/ref/RefRequestBuilder.java @@ -0,0 +1,275 @@ +package com.microsoft.graph.beta.serviceprincipals.item.tokenissuancepolicies.ref; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ReferenceCreate; +import com.microsoft.graph.beta.models.StringCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the collection of servicePrincipal entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public StringCollectionResponse get() { + return get(null); + } + /** + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, StringCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { + post(body, null); + } + /** + * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref?@id={%40id}", pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property ref to tokenIssuancePolicies for servicePrincipals + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenIssuancePolicies/$ref", pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(rawUrl, requestAdapter); + } + /** + * Delete ref of navigation property tokenIssuancePolicies for servicePrincipals + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteQueryParameters implements QueryParameters { + /** + * The delete Uri + */ + @jakarta.annotation.Nullable + public String id; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%40id", id); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public DeleteQueryParameters queryParameters = new DeleteQueryParameters(); + } + /** + * The tokenIssuancePolicies assigned to this service principal. Supports $expand. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24orderby", orderby); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java index fa07ed486f4..eeecf2749fd 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/TokenLifetimePoliciesRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.beta.models.TokenLifetimePolicyCollectionResponse; import com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.count.CountRequestBuilder; import com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.TokenLifetimePolicyItemRequestBuilder; +import com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref.RefRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -31,7 +32,15 @@ public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } /** - * Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity. + * Provides operations to manage the collection of servicePrincipal entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } + /** + * Gets an item from the com.Microsoft.Graph.Beta.servicePrincipals.item.tokenLifetimePolicies.item collection * @param tokenLifetimePolicyId The unique identifier of tokenLifetimePolicy * @return a {@link TokenLifetimePolicyItemRequestBuilder} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/TokenLifetimePolicyItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/TokenLifetimePolicyItemRequestBuilder.java index 91df47c86a5..73287082ce9 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/TokenLifetimePolicyItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/TokenLifetimePolicyItemRequestBuilder.java @@ -1,32 +1,30 @@ package com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item; -import com.microsoft.graph.beta.models.odataerrors.ODataError; -import com.microsoft.graph.beta.models.TokenLifetimePolicy; +import com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref.RefRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; -import com.microsoft.kiota.BaseRequestConfiguration; -import com.microsoft.kiota.HttpMethod; -import com.microsoft.kiota.QueryParameters; import com.microsoft.kiota.RequestAdapter; -import com.microsoft.kiota.RequestInformation; -import com.microsoft.kiota.RequestOption; -import com.microsoft.kiota.serialization.Parsable; -import com.microsoft.kiota.serialization.ParsableFactory; -import java.util.Collection; import java.util.HashMap; -import java.util.Map; import java.util.Objects; /** - * Provides operations to manage the tokenLifetimePolicies property of the microsoft.graph.servicePrincipal entity. + * Builds and executes requests for operations under /servicePrincipals/{servicePrincipal-id}/tokenLifetimePolicies/{tokenLifetimePolicy-id} */ @jakarta.annotation.Generated("com.microsoft.kiota") public class TokenLifetimePolicyItemRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the collection of servicePrincipal entities. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder ref() { + return new RefRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link TokenLifetimePolicyItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request * @param requestAdapter The request adapter to use to execute the requests. */ public TokenLifetimePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}{?%24expand,%24select}", pathParameters); + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}", pathParameters); } /** * Instantiates a new {@link TokenLifetimePolicyItemRequestBuilder} and sets the default values. @@ -34,96 +32,6 @@ public TokenLifetimePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final H * @param requestAdapter The request adapter to use to execute the requests. */ public TokenLifetimePolicyItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { - super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}{?%24expand,%24select}", rawUrl); - } - /** - * The tokenLifetimePolicies assigned to this service principal. Supports $expand. - * @return a {@link TokenLifetimePolicy} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public TokenLifetimePolicy get() { - return get(null); - } - /** - * The tokenLifetimePolicies assigned to this service principal. Supports $expand. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link TokenLifetimePolicy} - * @throws ODataError When receiving a 4XX or 5XX status code - */ - @jakarta.annotation.Nullable - public TokenLifetimePolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); - final HashMap> errorMapping = new HashMap>(); - errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); - return this.requestAdapter.send(requestInfo, errorMapping, TokenLifetimePolicy::createFromDiscriminatorValue); - } - /** - * The tokenLifetimePolicies assigned to this service principal. Supports $expand. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation() { - return toGetRequestInformation(null); - } - /** - * The tokenLifetimePolicies assigned to this service principal. Supports $expand. - * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. - * @return a {@link RequestInformation} - */ - @jakarta.annotation.Nonnull - public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { - final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); - requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); - requestInfo.headers.tryAdd("Accept", "application/json"); - return requestInfo; - } - /** - * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. - * @param rawUrl The raw URL to use for the request builder. - * @return a {@link TokenLifetimePolicyItemRequestBuilder} - */ - @jakarta.annotation.Nonnull - public TokenLifetimePolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { - Objects.requireNonNull(rawUrl); - return new TokenLifetimePolicyItemRequestBuilder(rawUrl, requestAdapter); - } - /** - * The tokenLifetimePolicies assigned to this service principal. Supports $expand. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetQueryParameters implements QueryParameters { - /** - * Expand related entities - */ - @jakarta.annotation.Nullable - public String[] expand; - /** - * Select properties to be returned - */ - @jakarta.annotation.Nullable - public String[] select; - /** - * Extracts the query parameters into a map for the URI template parsing. - * @return a {@link Map} - */ - @jakarta.annotation.Nonnull - public Map toQueryParameters() { - final Map allQueryParams = new HashMap(); - allQueryParams.put("%24expand", expand); - allQueryParams.put("%24select", select); - return allQueryParams; - } - } - /** - * Configuration for the request such as headers, query parameters, and middleware options. - */ - @jakarta.annotation.Generated("com.microsoft.kiota") - public class GetRequestConfiguration extends BaseRequestConfiguration { - /** - * Request query parameters - */ - @jakarta.annotation.Nullable - public GetQueryParameters queryParameters = new GetQueryParameters(); + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}", rawUrl); } } diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..9436467c51b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/item/ref/RefRequestBuilder.java @@ -0,0 +1,93 @@ +package com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.item.ref; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the collection of servicePrincipal entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/{tokenLifetimePolicy%2Did}/$ref", rawUrl); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java new file mode 100644 index 00000000000..5761871f2e2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/serviceprincipals/item/tokenlifetimepolicies/ref/RefRequestBuilder.java @@ -0,0 +1,281 @@ +package com.microsoft.graph.beta.serviceprincipals.item.tokenlifetimepolicies.ref; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.models.ReferenceCreate; +import com.microsoft.graph.beta.models.StringCollectionResponse; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the collection of servicePrincipal entities. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RefRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RefRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RefRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}{&%24count,%24filter,%24orderby,%24search,%24skip,%24top}", rawUrl); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete() { + delete(null); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public StringCollectionResponse get() { + return get(null); + } + /** + * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link StringCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public StringCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, StringCollectionResponse::createFromDiscriminatorValue); + } + /** + * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. + * @param body The request body + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate body) { + post(body, null); + } + /** + * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + public void post(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref?@id={%40id}", pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref{?%24count,%24filter,%24orderby,%24search,%24skip,%24top}", pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body) { + return toPostRequestInformation(body, null); + } + /** + * Assign a tokenLifetimePolicy to a servicePrincipal. You can have multiple tokenLifetimePolicy policies in a tenant but can assign only one tokenLifetimePolicy per service principal. + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReferenceCreate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, "{+baseurl}/servicePrincipals/{servicePrincipal%2Did}/tokenLifetimePolicies/$ref", pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RefRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RefRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RefRequestBuilder(rawUrl, requestAdapter); + } + /** + * Remove a tokenLifetimePolicy object from a service principal. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteQueryParameters implements QueryParameters { + /** + * The delete Uri + */ + @jakarta.annotation.Nullable + public String id; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%40id", id); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public DeleteQueryParameters queryParameters = new DeleteQueryParameters(); + } + /** + * List the tokenLifetimePolicy objects that are assigned to a servicePrincipal. Only one object is returned in the collection because only one tokenLifetimePolicy can be assigned to a service principal. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24orderby", orderby); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/ContainersRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/ContainersRequestBuilder.java index 77e095e6193..e73a7c9e85d 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/ContainersRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/storage/filestorage/containers/ContainersRequestBuilder.java @@ -60,7 +60,7 @@ public ContainersRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, super(requestAdapter, "{+baseurl}/storage/fileStorage/containers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Retrieve a list of fileStorageContainer objects that are visible to the caller. The containerTypeId filter parameter is required. + * Get a list of fileStorageContainer objects that are accessible to a caller. The containerTypeId filter parameter is required. * @return a {@link FileStorageContainerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -70,7 +70,7 @@ public FileStorageContainerCollectionResponse get() { return get(null); } /** - * Retrieve a list of fileStorageContainer objects that are visible to the caller. The containerTypeId filter parameter is required. + * Get a list of fileStorageContainer objects that are accessible to a caller. The containerTypeId filter parameter is required. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link FileStorageContainerCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -111,7 +111,7 @@ public FileStorageContainer post(@jakarta.annotation.Nonnull final FileStorageCo return this.requestAdapter.send(requestInfo, errorMapping, FileStorageContainer::createFromDiscriminatorValue); } /** - * Retrieve a list of fileStorageContainer objects that are visible to the caller. The containerTypeId filter parameter is required. + * Get a list of fileStorageContainer objects that are accessible to a caller. The containerTypeId filter parameter is required. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -119,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Retrieve a list of fileStorageContainer objects that are visible to the caller. The containerTypeId filter parameter is required. + * Get a list of fileStorageContainer objects that are accessible to a caller. The containerTypeId filter parameter is required. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -165,7 +165,7 @@ public ContainersRequestBuilder withUrl(@jakarta.annotation.Nonnull final String return new ContainersRequestBuilder(rawUrl, requestAdapter); } /** - * Retrieve a list of fileStorageContainer objects that are visible to the caller. The containerTypeId filter parameter is required. + * Get a list of fileStorageContainer objects that are accessible to a caller. The containerTypeId filter parameter is required. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java index 53c480cbd8c..b8f3bf4694a 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/teams/item/channels/item/members/item/ConversationMemberItemRequestBuilder.java @@ -81,23 +81,23 @@ public ConversationMember get(@jakarta.annotation.Nullable final java.util.funct return this.requestAdapter.send(requestInfo, errorMapping, ConversationMember::createFromDiscriminatorValue); } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param body The request body * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body) { return patch(body, null); } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link ConversationMember} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public ConversationMember patch(@jakarta.annotation.Nonnull final ConversationMember body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -148,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param body The request body * @return a {@link RequestInformation} */ @@ -157,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the role of a conversationMember in a team.or channel. + * Update the role of a conversationMember in a channel. This operation is allowed only for channels with a membershipType value of private or shared. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java index 87467d94fbc..2bfd9cbbefa 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/tenantrelationships/multitenantorganization/MultiTenantOrganizationRequestBuilder.java @@ -79,23 +79,23 @@ public MultiTenantOrganization get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantOrganization::createFromDiscriminatorValue); } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param body The request body * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body) { return patch(body, null); } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantOrganization} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public MultiTenantOrganization patch(@jakarta.annotation.Nonnull final MultiTenantOrganization body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -126,7 +126,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param body The request body * @return a {@link RequestInformation} */ @@ -135,7 +135,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the properties of a multi-tenant organization. + * Create a new multi-tenant organization. By default, the creator tenant becomes an owner tenant upon successful creation. Only owner tenants can manage a multi-tenant organization. To allow for asynchronous processing, you must wait a minimum of 2 hours between creation and joining a multi-tenant organization. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/AuthenticationRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/AuthenticationRequestBuilder.java index 2a93ffc163d..185352746b5 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/AuthenticationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/AuthenticationRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.beta.models.Authentication; import com.microsoft.graph.beta.models.odataerrors.ODataError; import com.microsoft.graph.beta.users.item.authentication.emailmethods.EmailMethodsRequestBuilder; +import com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.ExternalAuthenticationMethodsRequestBuilder; import com.microsoft.graph.beta.users.item.authentication.fido2methods.Fido2MethodsRequestBuilder; import com.microsoft.graph.beta.users.item.authentication.hardwareoathmethods.HardwareOathMethodsRequestBuilder; import com.microsoft.graph.beta.users.item.authentication.methods.MethodsRequestBuilder; @@ -44,6 +45,14 @@ public class AuthenticationRequestBuilder extends BaseRequestBuilder { public EmailMethodsRequestBuilder emailMethods() { return new EmailMethodsRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + * @return a {@link ExternalAuthenticationMethodsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExternalAuthenticationMethodsRequestBuilder externalAuthenticationMethods() { + return new ExternalAuthenticationMethodsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the fido2Methods property of the microsoft.graph.authentication entity. * @return a {@link Fido2MethodsRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java new file mode 100644 index 00000000000..62ff6151e7b --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/ExternalAuthenticationMethodsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods; + +import com.microsoft.graph.beta.models.ExternalAuthenticationMethod; +import com.microsoft.graph.beta.models.ExternalAuthenticationMethodCollectionResponse; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count.CountRequestBuilder; +import com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item.ExternalAuthenticationMethodItemRequestBuilder; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExternalAuthenticationMethodsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to count the resources in the collection. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder count() { + return new CountRequestBuilder(pathParameters, requestAdapter); + } + /** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + * @param externalAuthenticationMethodId The unique identifier of externalAuthenticationMethod + * @return a {@link ExternalAuthenticationMethodItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExternalAuthenticationMethodItemRequestBuilder byExternalAuthenticationMethodId(@jakarta.annotation.Nonnull final String externalAuthenticationMethodId) { + Objects.requireNonNull(externalAuthenticationMethodId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("externalAuthenticationMethod%2Did", externalAuthenticationMethodId); + return new ExternalAuthenticationMethodItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link ExternalAuthenticationMethodsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExternalAuthenticationMethodsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link ExternalAuthenticationMethodsRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExternalAuthenticationMethodsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get externalAuthenticationMethods from users + * @return a {@link ExternalAuthenticationMethodCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethodCollectionResponse get() { + return get(null); + } + /** + * Get externalAuthenticationMethods from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExternalAuthenticationMethodCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethodCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethodCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to externalAuthenticationMethods for users + * @param body The request body + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body) { + return post(body, null); + } + /** + * Create new navigation property to externalAuthenticationMethods for users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod post(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); + } + /** + * Get externalAuthenticationMethods from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get externalAuthenticationMethods from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Create new navigation property to externalAuthenticationMethods for users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to externalAuthenticationMethods for users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ExternalAuthenticationMethodsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExternalAuthenticationMethodsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExternalAuthenticationMethodsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get externalAuthenticationMethods from users + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Order items by property values + */ + @jakarta.annotation.Nullable + public String[] orderby; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24orderby", orderby); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/count/CountRequestBuilder.java new file mode 100644 index 00000000000..662ff8caafc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.count; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to count the resources in the collection. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CountRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/$count{?%24filter,%24search}", pathParameters); + } + /** + * Instantiates a new {@link CountRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CountRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/$count{?%24filter,%24search}", rawUrl); + } + /** + * Get the number of the resource + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get() { + return get(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Integer} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Integer get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Integer.class); + } + /** + * Get the number of the resource + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the number of the resource + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "text/plain;q=0.9"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link CountRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CountRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CountRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get the number of the resource + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java new file mode 100644 index 00000000000..e51b8d94e3c --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/externalauthenticationmethods/item/ExternalAuthenticationMethodItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.beta.users.item.authentication.externalauthenticationmethods.item; + +import com.microsoft.graph.beta.models.ExternalAuthenticationMethod; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to manage the externalAuthenticationMethods property of the microsoft.graph.authentication entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ExternalAuthenticationMethodItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ExternalAuthenticationMethodItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExternalAuthenticationMethodItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link ExternalAuthenticationMethodItemRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ExternalAuthenticationMethodItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/externalAuthenticationMethods/{externalAuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property externalAuthenticationMethods for users + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property externalAuthenticationMethods for users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); + } + /** + * Get externalAuthenticationMethods from users + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod get() { + return get(null); + } + /** + * Get externalAuthenticationMethods from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); + } + /** + * Update the navigation property externalAuthenticationMethods in users + * @param body The request body + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod patch(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body) { + return patch(body, null); + } + /** + * Update the navigation property externalAuthenticationMethods in users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link ExternalAuthenticationMethod} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public ExternalAuthenticationMethod patch(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPatchRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, ExternalAuthenticationMethod::createFromDiscriminatorValue); + } + /** + * Delete navigation property externalAuthenticationMethods for users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property externalAuthenticationMethods for users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.DELETE, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, DeleteRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Get externalAuthenticationMethods from users + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get externalAuthenticationMethods from users + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Update the navigation property externalAuthenticationMethods in users + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property externalAuthenticationMethods in users + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final ExternalAuthenticationMethod body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.PATCH, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PatchRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ExternalAuthenticationMethodItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ExternalAuthenticationMethodItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ExternalAuthenticationMethodItemRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class DeleteRequestConfiguration extends BaseRequestConfiguration { + } + /** + * Get externalAuthenticationMethods from users + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Expand related entities + */ + @jakarta.annotation.Nullable + public String[] expand; + /** + * Select properties to be returned + */ + @jakarta.annotation.Nullable + public String[] select; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24expand", expand); + allQueryParams.put("%24select", select); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PatchRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/fido2methods/item/Fido2AuthenticationMethodItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/fido2methods/item/Fido2AuthenticationMethodItemRequestBuilder.java index 7ef75865be0..e5464644cb6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/fido2methods/item/Fido2AuthenticationMethodItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/authentication/fido2methods/item/Fido2AuthenticationMethodItemRequestBuilder.java @@ -37,7 +37,7 @@ public Fido2AuthenticationMethodItemRequestBuilder(@jakarta.annotation.Nonnull f super(requestAdapter, "{+baseurl}/users/{user%2Did}/authentication/fido2Methods/{fido2AuthenticationMethod%2Did}{?%24expand,%24select}", rawUrl); } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. + * Deletes a user's FIDO2 security key authentication method object. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here */ @@ -45,7 +45,7 @@ public void delete() { delete(null); } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. + * Deletes a user's FIDO2 security key authentication method object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -79,7 +79,7 @@ public Fido2AuthenticationMethod get(@jakarta.annotation.Nullable final java.uti return this.requestAdapter.send(requestInfo, errorMapping, Fido2AuthenticationMethod::createFromDiscriminatorValue); } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. + * Deletes a user's FIDO2 security key authentication method object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -87,7 +87,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Deletes a user's FIDO2 Security Key Authentication Method object. + * Deletes a user's FIDO2 security key authentication method object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/CloudPCsRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/CloudPCsRequestBuilder.java index fafb8a9a168..ca244e740f1 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/CloudPCsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/CloudPCsRequestBuilder.java @@ -6,6 +6,7 @@ import com.microsoft.graph.beta.users.item.cloudpcs.count.CountRequestBuilder; import com.microsoft.graph.beta.users.item.cloudpcs.getprovisionedcloudpcswithgroupidwithserviceplanid.GetProvisionedCloudPCsWithGroupIdWithServicePlanIdRequestBuilder; import com.microsoft.graph.beta.users.item.cloudpcs.item.CloudPCItemRequestBuilder; +import com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus.RetrieveCloudPcCountByStatusRequestBuilder; import com.microsoft.graph.beta.users.item.cloudpcs.validatebulkresize.ValidateBulkResizeRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -33,6 +34,14 @@ public class CloudPCsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the retrieveCloudPcCountByStatus method. + * @return a {@link RetrieveCloudPcCountByStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcCountByStatusRequestBuilder retrieveCloudPcCountByStatus() { + return new RetrieveCloudPcCountByStatusRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the validateBulkResize method. * @return a {@link ValidateBulkResizeRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java new file mode 100644 index 00000000000..eace00cb2c9 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusGetResponse.java @@ -0,0 +1,63 @@ +package com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus; + +import com.microsoft.graph.beta.models.BaseCollectionPaginationCountResponse; +import com.microsoft.graph.beta.models.CloudPcStatusSummary; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcCountByStatusGetResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusGetResponse} and sets the default values. + */ + public RetrieveCloudPcCountByStatusGetResponse() { + super(); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + */ + @jakarta.annotation.Nonnull + public static RetrieveCloudPcCountByStatusGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RetrieveCloudPcCountByStatusGetResponse(); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("value", (n) -> { this.setValue(n.getCollectionOfObjectValues(CloudPcStatusSummary::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getValue() { + return this.backingStore.get("value"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + super.serialize(writer); + writer.writeCollectionOfObjectValues("value", this.getValue()); + } + /** + * Sets the value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java new file mode 100644 index 00000000000..277c5e121c6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/cloudpcs/retrievecloudpccountbystatus/RetrieveCloudPcCountByStatusRequestBuilder.java @@ -0,0 +1,148 @@ +package com.microsoft.graph.beta.users.item.cloudpcs.retrievecloudpccountbystatus; + +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.QueryParameters; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the retrieveCloudPcCountByStatus method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RetrieveCloudPcCountByStatusRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetrieveCloudPcCountByStatusRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/retrieveCloudPcCountByStatus(){?%24count,%24filter,%24search,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link RetrieveCloudPcCountByStatusRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RetrieveCloudPcCountByStatusRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/cloudPCs/retrieveCloudPcCountByStatus(){?%24count,%24filter,%24search,%24skip,%24top}", rawUrl); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RetrieveCloudPcCountByStatusGetResponse get() { + return get(null); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RetrieveCloudPcCountByStatusGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public RetrieveCloudPcCountByStatusGetResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = toGetRequestInformation(requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, RetrieveCloudPcCountByStatusGetResponse::createFromDiscriminatorValue); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Retrieve the Cloud PC count grouped by status. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + final RequestInformation requestInfo = new RequestInformation(HttpMethod.GET, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, GetRequestConfiguration::new, x -> x.queryParameters); + requestInfo.headers.tryAdd("Accept", "application/json"); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link RetrieveCloudPcCountByStatusRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RetrieveCloudPcCountByStatusRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RetrieveCloudPcCountByStatusRequestBuilder(rawUrl, requestAdapter); + } + /** + * Retrieve the Cloud PC count grouped by status. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetQueryParameters implements QueryParameters { + /** + * Include count of items + */ + @jakarta.annotation.Nullable + public Boolean count; + /** + * Filter items by property values + */ + @jakarta.annotation.Nullable + public String filter; + /** + * Search items by search phrases + */ + @jakarta.annotation.Nullable + public String search; + /** + * Skip the first n items + */ + @jakarta.annotation.Nullable + public Integer skip; + /** + * Show only the first n items + */ + @jakarta.annotation.Nullable + public Integer top; + /** + * Extracts the query parameters into a map for the URI template parsing. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map toQueryParameters() { + final Map allQueryParams = new HashMap(); + allQueryParams.put("%24count", count); + allQueryParams.put("%24filter", filter); + allQueryParams.put("%24search", search); + allQueryParams.put("%24skip", skip); + allQueryParams.put("%24top", top); + return allQueryParams; + } + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + /** + * Request query parameters + */ + @jakarta.annotation.Nullable + public GetQueryParameters queryParameters = new GetQueryParameters(); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/MessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/MessageItemRequestBuilder.java index 11e462cb41a..74a14dd0daf 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/MessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/MessageItemRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.permanentdelete.PermanentDeleteRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reply.ReplyRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.replyall.ReplyAllRequestBuilder; +import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.send.SendRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.unsubscribe.UnsubscribeRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.value.ContentRequestBuilder; @@ -157,6 +158,14 @@ public ReplyRequestBuilder reply() { public ReplyAllRequestBuilder replyAll() { return new ReplyAllRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the reportMessage method. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder reportMessage() { + return new ReportMessageRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the send method. * @return a {@link SendRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java index 73f0b9e793e..6d3abb03649 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsJunkRequestBuilder} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java index 451aece6a79..c4f3321f8a0 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsNotJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawU * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsNotJunkRequestBuilder} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsNotJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsNotJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java new file mode 100644 index 00000000000..5de051ee104 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.ReportAction; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessagePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReportMessagePostRequestBody} and sets the default values. + */ + public ReportMessagePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReportMessagePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReportMessagePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReportMessagePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("IsMessageMoveRequested", (n) -> { this.setIsMessageMoveRequested(n.getBooleanValue()); }); + deserializerMap.put("ReportAction", (n) -> { this.setReportAction(n.getEnumValue(ReportAction::forValue)); }); + return deserializerMap; + } + /** + * Gets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsMessageMoveRequested() { + return this.backingStore.get("isMessageMoveRequested"); + } + /** + * Gets the ReportAction property value. The ReportAction property + * @return a {@link ReportAction} + */ + @jakarta.annotation.Nullable + public ReportAction getReportAction() { + return this.backingStore.get("reportAction"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("IsMessageMoveRequested", this.getIsMessageMoveRequested()); + writer.writeEnumValue("ReportAction", this.getReportAction()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @param value Value to set for the IsMessageMoveRequested property. + */ + public void setIsMessageMoveRequested(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isMessageMoveRequested", value); + } + /** + * Sets the ReportAction property value. The ReportAction property + * @param value Value to set for the ReportAction property. + */ + public void setReportAction(@jakarta.annotation.Nullable final ReportAction value) { + this.backingStore.set("reportAction", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java new file mode 100644 index 00000000000..0b9e8398e21 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/childfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.users.item.mailfolders.item.childfolders.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.Message; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the reportMessage method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessageRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", pathParameters); + } + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/childFolders/{mailFolder%2Did1}/messages/{message%2Did}/reportMessage", rawUrl); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReportMessageRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/MessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/MessageItemRequestBuilder.java index de0c23ab27e..59797ffdba6 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/MessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/MessageItemRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.permanentdelete.PermanentDeleteRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reply.ReplyRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.replyall.ReplyAllRequestBuilder; +import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage.ReportMessageRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.send.SendRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.unsubscribe.UnsubscribeRequestBuilder; import com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.value.ContentRequestBuilder; @@ -157,6 +158,14 @@ public ReplyRequestBuilder reply() { public ReplyAllRequestBuilder replyAll() { return new ReplyAllRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the reportMessage method. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder reportMessage() { + return new ReportMessageRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the send method. * @return a {@link SendRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java index ea7f425439e..f46d4e8c412 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsJunkRequestBuilder} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java index 1cca5dd7c7b..4039b1aff13 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsNotJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawU * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsNotJunkRequestBuilder} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsNotJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsNotJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java new file mode 100644 index 00000000000..deb29992171 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessagePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.ReportAction; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessagePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReportMessagePostRequestBody} and sets the default values. + */ + public ReportMessagePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReportMessagePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReportMessagePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReportMessagePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("IsMessageMoveRequested", (n) -> { this.setIsMessageMoveRequested(n.getBooleanValue()); }); + deserializerMap.put("ReportAction", (n) -> { this.setReportAction(n.getEnumValue(ReportAction::forValue)); }); + return deserializerMap; + } + /** + * Gets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsMessageMoveRequested() { + return this.backingStore.get("isMessageMoveRequested"); + } + /** + * Gets the ReportAction property value. The ReportAction property + * @return a {@link ReportAction} + */ + @jakarta.annotation.Nullable + public ReportAction getReportAction() { + return this.backingStore.get("reportAction"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("IsMessageMoveRequested", this.getIsMessageMoveRequested()); + writer.writeEnumValue("ReportAction", this.getReportAction()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @param value Value to set for the IsMessageMoveRequested property. + */ + public void setIsMessageMoveRequested(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isMessageMoveRequested", value); + } + /** + * Sets the ReportAction property value. The ReportAction property + * @param value Value to set for the ReportAction property. + */ + public void setReportAction(@jakarta.annotation.Nullable final ReportAction value) { + this.backingStore.set("reportAction", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java new file mode 100644 index 00000000000..bad561e43cc --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/mailfolders/item/messages/item/reportmessage/ReportMessageRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.users.item.mailfolders.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.Message; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the reportMessage method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessageRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", pathParameters); + } + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/mailFolders/{mailFolder%2Did}/messages/{message%2Did}/reportMessage", rawUrl); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReportMessageRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/MessageItemRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/MessageItemRequestBuilder.java index 56a48112112..c23795f5c79 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/MessageItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/MessageItemRequestBuilder.java @@ -16,6 +16,7 @@ import com.microsoft.graph.beta.users.item.messages.item.permanentdelete.PermanentDeleteRequestBuilder; import com.microsoft.graph.beta.users.item.messages.item.reply.ReplyRequestBuilder; import com.microsoft.graph.beta.users.item.messages.item.replyall.ReplyAllRequestBuilder; +import com.microsoft.graph.beta.users.item.messages.item.reportmessage.ReportMessageRequestBuilder; import com.microsoft.graph.beta.users.item.messages.item.send.SendRequestBuilder; import com.microsoft.graph.beta.users.item.messages.item.unsubscribe.UnsubscribeRequestBuilder; import com.microsoft.graph.beta.users.item.messages.item.value.ContentRequestBuilder; @@ -157,6 +158,14 @@ public ReplyRequestBuilder reply() { public ReplyAllRequestBuilder replyAll() { return new ReplyAllRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the reportMessage method. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder reportMessage() { + return new ReportMessageRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to call the send method. * @return a {@link SendRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java index 73188b32d12..f4266cb2b5f 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasjunk/MarkAsJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody * Mark a message as junk. This API adds the sender to the list of blocked senders and moves the message to the Junk Email folder, when moveToJunk is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsJunkRequestBuilder} + * @deprecated + * The MarkAsJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java index eb14090378f..421529f5491 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/markasnotjunk/MarkAsNotJunkRequestBuilder.java @@ -40,9 +40,12 @@ public MarkAsNotJunkRequestBuilder(@jakarta.annotation.Nonnull final String rawU * @param body The request body * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return post(body, null); } @@ -52,9 +55,12 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Message} * @throws ODataError When receiving a 4XX or 5XX status code + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 * @see Find more info here */ @jakarta.annotation.Nullable + @Deprecated public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); @@ -66,8 +72,11 @@ public Message post(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBo * Mark a message as not junk. This API removes the sender from the list of blocked senders and moves the message to the Inbox folder, when moveToInbox is true. * @param body The request body * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body) { return toPostRequestInformation(body, null); } @@ -76,8 +85,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final MarkAsNotJunkPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); @@ -90,8 +102,11 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. * @param rawUrl The raw URL to use for the request builder. * @return a {@link MarkAsNotJunkRequestBuilder} + * @deprecated + * The MarkAsNotJunk API is deprecated and will stop working from Dec 30, 2025. Please use the ReportMessage API. as of 2022-09/Mark_As_Not_Junk on 2025-04-25 and will be removed 2025-12-30 */ @jakarta.annotation.Nonnull + @Deprecated public MarkAsNotJunkRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { Objects.requireNonNull(rawUrl); return new MarkAsNotJunkRequestBuilder(rawUrl, requestAdapter); diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessagePostRequestBody.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessagePostRequestBody.java new file mode 100644 index 00000000000..87badd85259 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessagePostRequestBody.java @@ -0,0 +1,125 @@ +package com.microsoft.graph.beta.users.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.ReportAction; +import com.microsoft.kiota.serialization.AdditionalDataHolder; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParseNode; +import com.microsoft.kiota.serialization.SerializationWriter; +import com.microsoft.kiota.store.BackedModel; +import com.microsoft.kiota.store.BackingStore; +import com.microsoft.kiota.store.BackingStoreFactorySingleton; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessagePostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link ReportMessagePostRequestBody} and sets the default values. + */ + public ReportMessagePostRequestBody() { + this.backingStore = BackingStoreFactorySingleton.instance.createBackingStore(); + this.setAdditionalData(new HashMap<>()); + } + /** + * Creates a new instance of the appropriate class based on discriminator value + * @param parseNode The parse node to use to read the discriminator value and create the object + * @return a {@link ReportMessagePostRequestBody} + */ + @jakarta.annotation.Nonnull + public static ReportMessagePostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new ReportMessagePostRequestBody(); + } + /** + * Gets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @return a {@link Map} + */ + @jakarta.annotation.Nonnull + public Map getAdditionalData() { + Map value = this.backingStore.get("additionalData"); + if(value == null) { + value = new HashMap<>(); + this.setAdditionalData(value); + } + return value; + } + /** + * Gets the backingStore property value. Stores model information. + * @return a {@link BackingStore} + */ + @jakarta.annotation.Nonnull + public BackingStore getBackingStore() { + return this.backingStore; + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(2); + deserializerMap.put("IsMessageMoveRequested", (n) -> { this.setIsMessageMoveRequested(n.getBooleanValue()); }); + deserializerMap.put("ReportAction", (n) -> { this.setReportAction(n.getEnumValue(ReportAction::forValue)); }); + return deserializerMap; + } + /** + * Gets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsMessageMoveRequested() { + return this.backingStore.get("isMessageMoveRequested"); + } + /** + * Gets the ReportAction property value. The ReportAction property + * @return a {@link ReportAction} + */ + @jakarta.annotation.Nullable + public ReportAction getReportAction() { + return this.backingStore.get("reportAction"); + } + /** + * Serializes information the current object + * @param writer Serialization writer to use to serialize this model + */ + public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { + Objects.requireNonNull(writer); + writer.writeBooleanValue("IsMessageMoveRequested", this.getIsMessageMoveRequested()); + writer.writeEnumValue("ReportAction", this.getReportAction()); + writer.writeAdditionalData(this.getAdditionalData()); + } + /** + * Sets the AdditionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + * @param value Value to set for the AdditionalData property. + */ + public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { + this.backingStore.set("additionalData", value); + } + /** + * Sets the backingStore property value. Stores model information. + * @param value Value to set for the backingStore property. + */ + public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value) { + Objects.requireNonNull(value); + this.backingStore = value; + } + /** + * Sets the IsMessageMoveRequested property value. The IsMessageMoveRequested property + * @param value Value to set for the IsMessageMoveRequested property. + */ + public void setIsMessageMoveRequested(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isMessageMoveRequested", value); + } + /** + * Sets the ReportAction property value. The ReportAction property + * @param value Value to set for the ReportAction property. + */ + public void setReportAction(@jakarta.annotation.Nullable final ReportAction value) { + this.backingStore.set("reportAction", value); + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessageRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessageRequestBuilder.java new file mode 100644 index 00000000000..6f184eb48d7 --- /dev/null +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/messages/item/reportmessage/ReportMessageRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.beta.users.item.messages.item.reportmessage; + +import com.microsoft.graph.beta.models.Message; +import com.microsoft.graph.beta.models.odataerrors.ODataError; +import com.microsoft.kiota.BaseRequestBuilder; +import com.microsoft.kiota.BaseRequestConfiguration; +import com.microsoft.kiota.HttpMethod; +import com.microsoft.kiota.RequestAdapter; +import com.microsoft.kiota.RequestInformation; +import com.microsoft.kiota.RequestOption; +import com.microsoft.kiota.serialization.Parsable; +import com.microsoft.kiota.serialization.ParsableFactory; +import java.util.Collection; +import java.util.HashMap; +import java.util.Map; +import java.util.Objects; +/** + * Provides operations to call the reportMessage method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class ReportMessageRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/reportMessage", pathParameters); + } + /** + * Instantiates a new {@link ReportMessageRequestBuilder} and sets the default values. + * @param rawUrl The raw URL to use for the request builder. + * @param requestAdapter The request adapter to use to execute the requests. + */ + public ReportMessageRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/users/{user%2Did}/messages/{message%2Did}/reportMessage", rawUrl); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return post(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link Message} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public Message post(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = toPostRequestInformation(body, requestConfiguration); + final HashMap> errorMapping = new HashMap>(); + errorMapping.put("XXX", ODataError::createFromDiscriminatorValue); + return this.requestAdapter.send(requestInfo, errorMapping, Message::createFromDiscriminatorValue); + } + /** + * Invoke action reportMessage + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action reportMessage + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final ReportMessagePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { + Objects.requireNonNull(body); + final RequestInformation requestInfo = new RequestInformation(HttpMethod.POST, urlTemplate, pathParameters); + requestInfo.configure(requestConfiguration, PostRequestConfiguration::new); + requestInfo.headers.tryAdd("Accept", "application/json"); + requestInfo.setContentFromParsable(requestAdapter, "application/json", body); + return requestInfo; + } + /** + * Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. + * @param rawUrl The raw URL to use for the request builder. + * @return a {@link ReportMessageRequestBuilder} + */ + @jakarta.annotation.Nonnull + public ReportMessageRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new ReportMessageRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class PostRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java b/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java index dd09337d80d..1294023c5f3 100644 --- a/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/beta/generated/users/item/presence/PresenceRequestBuilder.java @@ -100,21 +100,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get() { return get(null); } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link Presence} * @throws ODataError When receiving a 4XX or 5XX status code - * @see Find more info here + * @see Find more info here */ @jakarta.annotation.Nullable public Presence get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -169,7 +169,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -177,7 +177,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -229,7 +229,7 @@ public PresenceRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get a user's presence information. + * Set a presence status message for a user. An optional expiration date and time can be supplied. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {