From 0a9b963f896b28125ba3626bf688643f75e7f910 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Tue, 6 Oct 2026 19:55:42 +0000 Subject: [PATCH] feat(generation): update request builders and models Update generated files with build 247501 --- .../TenantGovernanceRequestBuilder.java | 10 +- .../GovernanceInvitationsRequestBuilder.java | 22 +- ...overnanceInvitationItemRequestBuilder.java | 22 +- ...vernancePolicyTemplatesRequestBuilder.java | 22 +- ...nancePolicyTemplateItemRequestBuilder.java | 32 +- ...GovernanceRelationshipsRequestBuilder.java | 12 +- ...ernanceRelationshipItemRequestBuilder.java | 22 +- .../GovernanceRequestsRequestBuilder.java | 22 +- .../GovernanceRequestItemRequestBuilder.java | 22 +- ...overnancePolicyTemplateRequestBuilder.java | 10 +- .../RelatedTenantsRequestBuilder.java | 12 +- .../item/RelatedTenantItemRequestBuilder.java | 12 +- ...2BSignInActivityMetricsRequestBuilder.java | 10 +- .../B2BRegistrationMetricsRequestBuilder.java | 10 +- ...2BSignInActivityMetricsRequestBuilder.java | 10 +- .../BillingMetricsRequestBuilder.java | 10 +- ...enantApplicationMetricsRequestBuilder.java | 10 +- .../refresh/RefreshRequestBuilder.java | 10 +- .../settings/SettingsRequestBuilder.java | 22 +- .../EnableRelatedTenantsRequestBuilder.java | 10 +- .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ ...ovidedResourceDecisionsRequestBuilder.java | 10 +- ...ovidedResourceDecisionsRequestBuilder.java | 10 +- ...ovidedResourceDecisionsRequestBuilder.java | 10 +- .../PrivilegedAccessRequestBuilder.java | 9 + .../CustomExtensionsRequestBuilder.java | 243 +++++++++++++ .../count/CountRequestBuilder.java | 128 +++++++ ...tomCalloutExtensionItemRequestBuilder.java | 228 ++++++++++++ ...mentScheduleRequestItemRequestBuilder.java | 9 + .../UpdateRequestPostRequestBody.java | 160 +++++++++ .../UpdateRequestRequestBuilder.java | 103 ++++++ .../graph/generated/kiota-dom-export.txt | 335 ++++++++++++++++++ .../microsoft/graph/generated/kiota-lock.json | 2 +- .../AccessReviewInstanceDecisionItem.java | 4 +- ...ecisionItemCustomDataProvidedResource.java | 12 +- ...sReviewInstanceDecisionItemPermission.java | 16 +- ...essReviewInstanceDecisionItemResource.java | 8 +- .../generated/models/ApiApplication.java | 4 +- .../graph/generated/models/Application.java | 4 +- .../models/ApplicationResourcePermission.java | 8 +- .../ApplicationsRequiredResourceAccess.java | 8 +- .../models/B2BRegistrationMetricsBase.java | 12 +- .../models/B2BRegistrationMetricsInitial.java | 4 +- .../models/B2BRegistrationMetricsRecent.java | 4 +- .../models/B2BSignInActivityMetricsBase.java | 20 +- .../B2BSignInActivityMetricsInitial.java | 4 +- .../B2BSignInActivityMetricsRecent.java | 4 +- .../generated/models/BillingMetricsBase.java | 32 +- .../models/BillingMetricsInitial.java | 4 +- .../models/BillingMetricsRecent.java | 4 +- .../models/CustomCalloutExtension.java | 1 + .../models/CustomCalloutExtensionType.java | 31 ++ .../models/CustomExtensionResourceType.java | 29 ++ ...DelegatedAdministrationRoleAssignment.java | 8 +- ...dAdministrationRoleAssignmentSnapshot.java | 12 +- .../graph/generated/models/Directory.java | 4 +- .../graph/generated/models/Entity.java | 4 +- .../generated/models/EvaluationOutcome.java | 27 ++ .../FileStorageContainerTypeSettings.java | 4 +- .../models/GovernanceInvitation.java | 24 +- .../models/GovernanceRelationship.java | 20 +- .../generated/models/GovernanceRequest.java | 28 +- .../MultiTenantApplicationMetricsBase.java | 12 +- .../MultiTenantApplicationMetricsInitial.java | 4 +- .../MultiTenantApplicationMetricsRecent.java | 4 +- .../MultiTenantApplicationsToProvision.java | 16 +- ...TenantApplicationsToProvisionSnapshot.java | 16 +- .../models/PrivilegedAccessRoot.java | 17 + .../graph/generated/models/RelatedTenant.java | 28 +- .../models/RelatedTenantsRefreshRequest.java | 4 +- .../generated/models/RelationshipPolicy.java | 20 +- .../RoleManagementCustomCalloutExtension.java | 96 +++++ ...tomCalloutExtensionCollectionResponse.java | 61 ++++ .../graph/generated/models/RoleTemplate.java | 8 +- .../generated/models/ServicePrincipal.java | 8 +- .../graph/generated/models/Subscription.java | 51 +++ .../generated/models/TenantGovernance.java | 24 +- .../TenantGovernancePolicyTemplate.java | 32 +- .../models/TenantGovernanceSetting.java | 8 +- ...leManagementPolicyCustomExtensionRule.java | 113 ++++++ .../UnifiedRoleManagementPolicyRule.java | 1 + ...mentScheduleRequestItemRequestBuilder.java | 9 + .../UpdateRequestPostRequestBody.java | 160 +++++++++ .../UpdateRequestRequestBuilder.java | 103 ++++++ ...mentScheduleRequestItemRequestBuilder.java | 9 + .../UpdateRequestPostRequestBody.java | 160 +++++++++ .../UpdateRequestRequestBuilder.java | 103 ++++++ .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ .../SubscriptionsRequestBuilder.java | 9 + .../GetVapidPublicKeyGetResponse.java | 107 ++++++ .../GetVapidPublicKeyRequestBuilder.java | 97 +++++ .../SetCurrentLocationRequestBuilder.java | 8 +- ...DateTimeWithEndDateTimeRequestBuilder.java | 10 +- 106 files changed, 3891 insertions(+), 375 deletions(-) create mode 100644 src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/CustomExtensionsRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/count/CountRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/item/RoleManagementCustomCalloutExtensionItemRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtensionType.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/CustomExtensionResourceType.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/EvaluationOutcome.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtension.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtensionCollectionResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyCustomExtensionRule.java create mode 100644 src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java create mode 100644 src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java create mode 100644 src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java create mode 100644 src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java index 991c9725dab..f61c888cf48 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/TenantGovernanceRequestBuilder.java @@ -109,7 +109,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get tenantGovernance from directory + * Container for Microsoft Entra Tenant Governance capabilities. * @return a {@link TenantGovernance} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -118,7 +118,7 @@ public TenantGovernance get() { return get(null); } /** - * Get tenantGovernance from directory + * Container for Microsoft Entra Tenant Governance capabilities. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernance} * @throws ODataError When receiving a 4XX or 5XX status code @@ -176,7 +176,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get tenantGovernance from directory + * Container for Microsoft Entra Tenant Governance capabilities. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -184,7 +184,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get tenantGovernance from directory + * Container for Microsoft Entra Tenant Governance capabilities. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -236,7 +236,7 @@ public TenantGovernanceRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get tenantGovernance from directory + * Container for Microsoft Entra Tenant Governance capabilities. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java index b8e040755a4..b843ec5371a 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/GovernanceInvitationsRequestBuilder.java @@ -60,19 +60,21 @@ public GovernanceInvitationsRequestBuilder(@jakarta.annotation.Nonnull final Str super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get governanceInvitations from directory + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link GovernanceInvitationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitationCollectionResponse get() { return get(null); } /** - * Get governanceInvitations from directory + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInvitationCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public GovernanceInvitationCollectionResponse get(@jakarta.annotation.Nullable f return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitationCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to governanceInvitations for directory + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. * @param body The request body * @return a {@link GovernanceInvitation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body) { return post(body, null); } /** - * Create new navigation property to governanceInvitations for directory + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInvitation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInvitation body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public GovernanceInvitation post(@jakarta.annotation.Nonnull final GovernanceInv return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue); } /** - * Get governanceInvitations from directory + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceInvitations from directory + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to governanceInvitations for directory + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to governanceInvitations for directory + * Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +165,7 @@ public GovernanceInvitationsRequestBuilder withUrl(@jakarta.annotation.Nonnull f return new GovernanceInvitationsRequestBuilder(rawUrl, requestAdapter); } /** - * Get governanceInvitations from directory + * Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java index f720555bba9..2ec11000592 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governanceinvitations/item/GovernanceInvitationItemRequestBuilder.java @@ -37,16 +37,18 @@ public GovernanceInvitationItemRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceInvitations/{governanceInvitation%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property governanceInvitations for directory + * Delete a governanceInvitation object. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property governanceInvitations for directory + * Delete a governanceInvitation 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 */ public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration); @@ -55,19 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get governanceInvitations from directory + * Read the properties of a governanceInvitation object. * @return a {@link GovernanceInvitation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitation get() { return get(null); } /** - * Get governanceInvitations from directory + * Read the properties of a governanceInvitation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceInvitation} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceInvitation get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -102,7 +106,7 @@ public GovernanceInvitation patch(@jakarta.annotation.Nonnull final GovernanceIn return this.requestAdapter.send(requestInfo, errorMapping, GovernanceInvitation::createFromDiscriminatorValue); } /** - * Delete navigation property governanceInvitations for directory + * Delete a governanceInvitation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -110,7 +114,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property governanceInvitations for directory + * Delete a governanceInvitation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get governanceInvitations from directory + * Read the properties of a governanceInvitation object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +134,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceInvitations from directory + * Read the properties of a governanceInvitation object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -182,7 +186,7 @@ public GovernanceInvitationItemRequestBuilder withUrl(@jakarta.annotation.Nonnul public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get governanceInvitations from directory + * Read the properties of a governanceInvitation object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java index eaa5f68183a..907b0d70003 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/GovernancePolicyTemplatesRequestBuilder.java @@ -60,19 +60,21 @@ public GovernancePolicyTemplatesRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get governancePolicyTemplates from directory + * Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. * @return a {@link TenantGovernancePolicyTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplateCollectionResponse get() { return get(null); } /** - * Get governancePolicyTemplates from directory + * Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernancePolicyTemplateCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplateCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public TenantGovernancePolicyTemplateCollectionResponse get(@jakarta.annotation. return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplateCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to governancePolicyTemplates for directory + * Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate post(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return post(body, null); } /** - * Create new navigation property to governancePolicyTemplates for directory + * Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate post(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public TenantGovernancePolicyTemplate post(@jakarta.annotation.Nonnull final Ten return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** - * Get governancePolicyTemplates from directory + * Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governancePolicyTemplates from directory + * Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to governancePolicyTemplates for directory + * Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to governancePolicyTemplates for directory + * Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +165,7 @@ public GovernancePolicyTemplatesRequestBuilder withUrl(@jakarta.annotation.Nonnu return new GovernancePolicyTemplatesRequestBuilder(rawUrl, requestAdapter); } /** - * Get governancePolicyTemplates from directory + * Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java index 17eed8a358c..94ddc7f0a77 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancepolicytemplates/item/TenantGovernancePolicyTemplateItemRequestBuilder.java @@ -37,16 +37,18 @@ public TenantGovernancePolicyTemplateItemRequestBuilder(@jakarta.annotation.Nonn super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governancePolicyTemplates/{tenantGovernancePolicyTemplate%2Did}{?%24expand,%24select}", rawUrl); } /** - * Delete navigation property governancePolicyTemplates for directory + * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void delete() { delete(null); } /** - * Delete navigation property governancePolicyTemplates for directory + * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @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); @@ -55,19 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get governancePolicyTemplates from directory + * Read the properties of a tenantGovernancePolicyTemplate object. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate get() { return get(null); } /** - * Get governancePolicyTemplates from directory + * Read the properties of a tenantGovernancePolicyTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -77,21 +81,23 @@ public TenantGovernancePolicyTemplate get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** - * Update the navigation property governancePolicyTemplates in directory + * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body) { return patch(body, null); } /** - * Update the navigation property governancePolicyTemplates in directory + * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final TenantGovernancePolicyTemplate body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -102,7 +108,7 @@ public TenantGovernancePolicyTemplate patch(@jakarta.annotation.Nonnull final Te return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** - * Delete navigation property governancePolicyTemplates for directory + * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -110,7 +116,7 @@ public RequestInformation toDeleteRequestInformation() { return toDeleteRequestInformation(null); } /** - * Delete navigation property governancePolicyTemplates for directory + * Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -122,7 +128,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get governancePolicyTemplates from directory + * Read the properties of a tenantGovernancePolicyTemplate object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +136,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governancePolicyTemplates from directory + * Read the properties of a tenantGovernancePolicyTemplate object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -142,7 +148,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property governancePolicyTemplates in directory + * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @return a {@link RequestInformation} */ @@ -151,7 +157,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property governancePolicyTemplates in directory + * Update the properties of a tenantGovernancePolicyTemplate object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -182,7 +188,7 @@ public TenantGovernancePolicyTemplateItemRequestBuilder withUrl(@jakarta.annotat public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get governancePolicyTemplates from directory + * Read the properties of a tenantGovernancePolicyTemplate object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java index 5317db2987a..355e89b8d87 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/GovernanceRelationshipsRequestBuilder.java @@ -60,19 +60,21 @@ public GovernanceRelationshipsRequestBuilder(@jakarta.annotation.Nonnull final S super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRelationships{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get governanceRelationships from directory + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link GovernanceRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationshipCollectionResponse get() { return get(null); } /** - * Get governanceRelationships from directory + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRelationshipCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationshipCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +109,7 @@ public GovernanceRelationship post(@jakarta.annotation.Nonnull final GovernanceR return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationship::createFromDiscriminatorValue); } /** - * Get governanceRelationships from directory + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +117,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceRelationships from directory + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -161,7 +163,7 @@ public GovernanceRelationshipsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new GovernanceRelationshipsRequestBuilder(rawUrl, requestAdapter); } /** - * Get governanceRelationships from directory + * Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java index 0f6b8cea802..b22657d1858 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerelationships/item/GovernanceRelationshipItemRequestBuilder.java @@ -55,19 +55,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get governanceRelationships from directory + * Read the properties of a governanceRelationship object. * @return a {@link GovernanceRelationship} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationship get() { return get(null); } /** - * Get governanceRelationships from directory + * Read the properties of a governanceRelationship object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRelationship} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationship get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -77,21 +79,23 @@ public GovernanceRelationship get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRelationship::createFromDiscriminatorValue); } /** - * Update the navigation property governanceRelationships in directory + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. * @param body The request body * @return a {@link GovernanceRelationship} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationship patch(@jakarta.annotation.Nonnull final GovernanceRelationship body) { return patch(body, null); } /** - * Update the navigation property governanceRelationships in directory + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRelationship} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRelationship patch(@jakarta.annotation.Nonnull final GovernanceRelationship body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -122,7 +126,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get governanceRelationships from directory + * Read the properties of a governanceRelationship object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -130,7 +134,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceRelationships from directory + * Read the properties of a governanceRelationship object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -142,7 +146,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property governanceRelationships in directory + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. * @param body The request body * @return a {@link RequestInformation} */ @@ -151,7 +155,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property governanceRelationships in directory + * Update the status property of a governanceRelationship to initiate the termination process. There are two models for termination:1) Initiated by the governing tenant: After the governing tenant updates the status to terminationRequestedByGoverningTenant, the governed tenant may subsequently update the status to terminated.1) Directly terminated by the governed tenant: The governed tenant updates the status to terminated to immediately terminate the relationship. When the governed tenant updates the status to terminated in either model, the resources that were provisioned in the governed tenant upon relationship creation are deleted. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -182,7 +186,7 @@ public GovernanceRelationshipItemRequestBuilder withUrl(@jakarta.annotation.Nonn public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get governanceRelationships from directory + * Read the properties of a governanceRelationship object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java index 5bf3822259c..4692ca47af3 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/GovernanceRequestsRequestBuilder.java @@ -60,19 +60,21 @@ public GovernanceRequestsRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get governanceRequests from directory + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link GovernanceRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequestCollectionResponse get() { return get(null); } /** - * Get governanceRequests from directory + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRequestCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequestCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -82,21 +84,23 @@ public GovernanceRequestCollectionResponse get(@jakarta.annotation.Nullable fina return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequestCollectionResponse::createFromDiscriminatorValue); } /** - * Create new navigation property to governanceRequests for directory + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. * @param body The request body * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest post(@jakarta.annotation.Nonnull final GovernanceRequest body) { return post(body, null); } /** - * Create new navigation property to governanceRequests for directory + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest post(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -107,7 +111,7 @@ public GovernanceRequest post(@jakarta.annotation.Nonnull final GovernanceReques return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequest::createFromDiscriminatorValue); } /** - * Get governanceRequests from directory + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -115,7 +119,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceRequests from directory + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -127,7 +131,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Create new navigation property to governanceRequests for directory + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. * @param body The request body * @return a {@link RequestInformation} */ @@ -136,7 +140,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Create new navigation property to governanceRequests for directory + * Create a new governanceRequest to establish a governance relationship with a governed tenant. The governed tenant can then accept or reject the request. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -161,7 +165,7 @@ public GovernanceRequestsRequestBuilder withUrl(@jakarta.annotation.Nonnull fina return new GovernanceRequestsRequestBuilder(rawUrl, requestAdapter); } /** - * Get governanceRequests from directory + * Get a list of the governanceRequest objects and their properties. This API method returns all governance requests where the calling tenant is either the governing tenant or the governed tenant. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java index de6e92bb56e..3101c5bcc16 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/GovernanceRequestItemRequestBuilder.java @@ -64,19 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get governanceRequests from directory + * Read the properties of a governanceRequest object. * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest get() { return get(null); } /** - * Get governanceRequests from directory + * Read the properties of a governanceRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -86,21 +88,23 @@ public GovernanceRequest get(@jakarta.annotation.Nullable final java.util.functi return this.requestAdapter.send(requestInfo, errorMapping, GovernanceRequest::createFromDiscriminatorValue); } /** - * Update the navigation property governanceRequests in directory + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest patch(@jakarta.annotation.Nonnull final GovernanceRequest body) { return patch(body, null); } /** - * Update the navigation property governanceRequests in directory + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link GovernanceRequest} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public GovernanceRequest patch(@jakarta.annotation.Nonnull final GovernanceRequest body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +135,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get governanceRequests from directory + * Read the properties of a governanceRequest object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +143,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governanceRequests from directory + * Read the properties of a governanceRequest object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -151,7 +155,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property governanceRequests in directory + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @return a {@link RequestInformation} */ @@ -160,7 +164,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property governanceRequests in directory + * Update the status property of a governanceRequest to accept or reject the governance request. Only the governed tenant can update the request status. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -191,7 +195,7 @@ public GovernanceRequestItemRequestBuilder withUrl(@jakarta.annotation.Nonnull f public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get governanceRequests from directory + * Read the properties of a governanceRequest object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java index bdaa5f7f729..e94d7c2c346 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/governancerequests/item/governancepolicytemplate/GovernancePolicyTemplateRequestBuilder.java @@ -37,7 +37,7 @@ public GovernancePolicyTemplateRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/governanceRequests/{governanceRequest%2Did}/governancePolicyTemplate{?%24expand,%24select}", rawUrl); } /** - * Get governancePolicyTemplate from directory + * The governance policy template associated with this request. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public TenantGovernancePolicyTemplate get() { return get(null); } /** - * Get governancePolicyTemplate from directory + * The governance policy template associated with this request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernancePolicyTemplate} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public TenantGovernancePolicyTemplate get(@jakarta.annotation.Nullable final jav return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernancePolicyTemplate::createFromDiscriminatorValue); } /** - * Get governancePolicyTemplate from directory + * The governance policy template associated with this request. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get governancePolicyTemplate from directory + * The governance policy template associated with this request. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public GovernancePolicyTemplateRequestBuilder withUrl(@jakarta.annotation.Nonnul return new GovernancePolicyTemplateRequestBuilder(rawUrl, requestAdapter); } /** - * Get governancePolicyTemplate from directory + * The governance policy template associated with this request. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java index fd130f5b139..838a88b2091 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/RelatedTenantsRequestBuilder.java @@ -69,19 +69,21 @@ public RelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get relatedTenants from directory + * Get a list of relatedTenant objects and their properties, including relationship metrics. * @return a {@link RelatedTenantCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RelatedTenantCollectionResponse get() { return get(null); } /** - * Get relatedTenants from directory + * Get a list of relatedTenant objects and their properties, including relationship metrics. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RelatedTenantCollectionResponse} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RelatedTenantCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -116,7 +118,7 @@ public RelatedTenant post(@jakarta.annotation.Nonnull final RelatedTenant body, return this.requestAdapter.send(requestInfo, errorMapping, RelatedTenant::createFromDiscriminatorValue); } /** - * Get relatedTenants from directory + * Get a list of relatedTenant objects and their properties, including relationship metrics. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -124,7 +126,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get relatedTenants from directory + * Get a list of relatedTenant objects and their properties, including relationship metrics. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -170,7 +172,7 @@ public RelatedTenantsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new RelatedTenantsRequestBuilder(rawUrl, requestAdapter); } /** - * Get relatedTenants from directory + * Get a list of relatedTenant objects and their properties, including relationship metrics. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java index 814e771621e..acdfbf87a05 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/RelatedTenantItemRequestBuilder.java @@ -100,19 +100,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get relatedTenants from directory + * Read the properties and relationships of a relatedTenant object. * @return a {@link RelatedTenant} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RelatedTenant get() { return get(null); } /** - * Get relatedTenants from directory + * Read the properties and relationships of a relatedTenant object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RelatedTenant} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public RelatedTenant get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -167,7 +169,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get relatedTenants from directory + * Read the properties and relationships of a relatedTenant object. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -175,7 +177,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get relatedTenants from directory + * Read the properties and relationships of a relatedTenant object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -227,7 +229,7 @@ public RelatedTenantItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get relatedTenants from directory + * Read the properties and relationships of a relatedTenant object. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java index be06261c3c0..a5b6d0f066c 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/appb2bsigninactivitymetrics/AppB2BSignInActivityMetricsRequestBuilder.java @@ -37,7 +37,7 @@ public AppB2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull fin super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/appB2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); } /** - * Get appB2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2BSignInActivityMetrics get() { return get(null); } /** - * Get appB2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); } /** - * Get appB2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get appB2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public AppB2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Non return new AppB2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Get appB2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java index bb56f44bdb1..9196dff3731 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bregistrationmetrics/B2BRegistrationMetricsRequestBuilder.java @@ -37,7 +37,7 @@ public B2BRegistrationMetricsRequestBuilder(@jakarta.annotation.Nonnull final St super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BRegistrationMetrics{?%24expand,%24select}", rawUrl); } /** - * Get b2BRegistrationMetrics from directory + * B2B registration metrics for this related tenant. Expanded by default. * @return a {@link B2bRegistrationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2bRegistrationMetrics get() { return get(null); } /** - * Get b2BRegistrationMetrics from directory + * B2B registration metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2bRegistrationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2bRegistrationMetrics get(@jakarta.annotation.Nullable final java.util.f return this.requestAdapter.send(requestInfo, errorMapping, B2bRegistrationMetrics::createFromDiscriminatorValue); } /** - * Get b2BRegistrationMetrics from directory + * B2B registration metrics for this related tenant. Expanded by default. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get b2BRegistrationMetrics from directory + * B2B registration metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public B2BRegistrationMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull return new B2BRegistrationMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Get b2BRegistrationMetrics from directory + * B2B registration metrics for this related tenant. Expanded by default. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java index 099c7612952..39eeda41cc8 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/b2bsigninactivitymetrics/B2BSignInActivityMetricsRequestBuilder.java @@ -37,7 +37,7 @@ public B2BSignInActivityMetricsRequestBuilder(@jakarta.annotation.Nonnull final super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/b2BSignInActivityMetrics{?%24expand,%24select}", rawUrl); } /** - * Get b2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public B2BSignInActivityMetrics get() { return get(null); } /** - * Get b2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link B2BSignInActivityMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public B2BSignInActivityMetrics get(@jakarta.annotation.Nullable final java.util return this.requestAdapter.send(requestInfo, errorMapping, B2BSignInActivityMetrics::createFromDiscriminatorValue); } /** - * Get b2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get b2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public B2BSignInActivityMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnul return new B2BSignInActivityMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Get b2BSignInActivityMetrics from directory + * B2B sign-in activity metrics for this related tenant. Expanded by default. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java index 6a99d4ddb69..5c5a6d4a704 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/billingmetrics/BillingMetricsRequestBuilder.java @@ -37,7 +37,7 @@ public BillingMetricsRequestBuilder(@jakarta.annotation.Nonnull final String raw super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/billingMetrics{?%24expand,%24select}", rawUrl); } /** - * Get billingMetrics from directory + * Billing metrics for this related tenant. Expanded by default. * @return a {@link BillingMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public BillingMetrics get() { return get(null); } /** - * Get billingMetrics from directory + * Billing metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link BillingMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public BillingMetrics get(@jakarta.annotation.Nullable final java.util.function. return this.requestAdapter.send(requestInfo, errorMapping, BillingMetrics::createFromDiscriminatorValue); } /** - * Get billingMetrics from directory + * Billing metrics for this related tenant. Expanded by default. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get billingMetrics from directory + * Billing metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public BillingMetricsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St return new BillingMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Get billingMetrics from directory + * Billing metrics for this related tenant. Expanded by default. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java index f490904bf81..e4129c3aad2 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/item/multitenantapplicationmetrics/MultiTenantApplicationMetricsRequestBuilder.java @@ -37,7 +37,7 @@ public MultiTenantApplicationMetricsRequestBuilder(@jakarta.annotation.Nonnull f super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/{relatedTenant%2Did}/multiTenantApplicationMetrics{?%24expand,%24select}", rawUrl); } /** - * Get multiTenantApplicationMetrics from directory + * Multi-tenant application usage metrics for this related tenant. Expanded by default. * @return a {@link MultiTenantApplicationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code */ @@ -46,7 +46,7 @@ public MultiTenantApplicationMetrics get() { return get(null); } /** - * Get multiTenantApplicationMetrics from directory + * Multi-tenant application usage metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link MultiTenantApplicationMetrics} * @throws ODataError When receiving a 4XX or 5XX status code @@ -59,7 +59,7 @@ public MultiTenantApplicationMetrics get(@jakarta.annotation.Nullable final java return this.requestAdapter.send(requestInfo, errorMapping, MultiTenantApplicationMetrics::createFromDiscriminatorValue); } /** - * Get multiTenantApplicationMetrics from directory + * Multi-tenant application usage metrics for this related tenant. Expanded by default. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -67,7 +67,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get multiTenantApplicationMetrics from directory + * Multi-tenant application usage metrics for this related tenant. Expanded by default. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -89,7 +89,7 @@ public MultiTenantApplicationMetricsRequestBuilder withUrl(@jakarta.annotation.N return new MultiTenantApplicationMetricsRequestBuilder(rawUrl, requestAdapter); } /** - * Get multiTenantApplicationMetrics from directory + * Multi-tenant application usage metrics for this related tenant. Expanded by default. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java index a3ac3e55717..cc0d204abad 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/relatedtenants/refresh/RefreshRequestBuilder.java @@ -35,16 +35,18 @@ public RefreshRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @j super(requestAdapter, "{+baseurl}/directory/tenantGovernance/relatedTenants/refresh", rawUrl); } /** - * Invoke action refresh + * Refresh the list of related tenants. The list is also automatically refreshed daily. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action refresh + * Refresh the list of related tenants. The list is also automatically refreshed daily. * @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 refresh + * Refresh the list of related tenants. The list is also automatically refreshed daily. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action refresh + * Refresh the list of related tenants. The list is also automatically refreshed daily. * @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/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java index bd5f062f4d5..f7e8b61d91c 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/SettingsRequestBuilder.java @@ -64,19 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Get settings from directory + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @return a {@link TenantGovernanceSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernanceSetting get() { return get(null); } /** - * Get settings from directory + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernanceSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernanceSetting get(@jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -86,21 +88,23 @@ public TenantGovernanceSetting get(@jakarta.annotation.Nullable final java.util. return this.requestAdapter.send(requestInfo, errorMapping, TenantGovernanceSetting::createFromDiscriminatorValue); } /** - * Update the navigation property settings in directory + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @param body The request body * @return a {@link TenantGovernanceSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernanceSetting patch(@jakarta.annotation.Nonnull final TenantGovernanceSetting body) { return patch(body, null); } /** - * Update the navigation property settings in directory + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link TenantGovernanceSetting} * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ @jakarta.annotation.Nullable public TenantGovernanceSetting patch(@jakarta.annotation.Nonnull final TenantGovernanceSetting body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { @@ -131,7 +135,7 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl return requestInfo; } /** - * Get settings from directory + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -139,7 +143,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get settings from directory + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -151,7 +155,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f return requestInfo; } /** - * Update the navigation property settings in directory + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @param body The request body * @return a {@link RequestInformation} */ @@ -160,7 +164,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull return toPatchRequestInformation(body, null); } /** - * Update the navigation property settings in directory + * Update the canReceiveInvitations property of the tenantGovernanceSetting singleton. This property controls whether the tenant can receive governance invitations. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} @@ -191,7 +195,7 @@ public SettingsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String r public class DeleteRequestConfiguration extends BaseRequestConfiguration { } /** - * Get settings from directory + * Read the properties of the tenantGovernanceSetting singleton, which controls related tenant discovery and invitation capabilities. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters { diff --git a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java index 291d0e48e77..1733a987daf 100644 --- a/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/directory/tenantgovernance/settings/enablerelatedtenants/EnableRelatedTenantsRequestBuilder.java @@ -35,16 +35,18 @@ public EnableRelatedTenantsRequestBuilder(@jakarta.annotation.Nonnull final Stri super(requestAdapter, "{+baseurl}/directory/tenantGovernance/settings/enableRelatedTenants", rawUrl); } /** - * Invoke action enableRelatedTenants + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here */ public void post() { post(null); } /** - * Invoke action enableRelatedTenants + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @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 enableRelatedTenants + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -61,7 +63,7 @@ public RequestInformation toPostRequestInformation() { return toPostRequestInformation(null); } /** - * Invoke action enableRelatedTenants + * Enable the related tenants feature for tenant discovery. After calling this action, the isRelatedTenantsEnabled property of tenantGovernanceSetting is set to true, which allows the use of related tenant APIs. * @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/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java index d2bd5934cac..522e877a5ae 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.drives.item.items.item.subscriptions; import com.microsoft.graph.drives.item.items.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.drives.item.items.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..a9880f4ccdd --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..79e8f19258a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/drives/item/items/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java index 9099c180b04..40726626aab 100644 --- a/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.drives.item.list.subscriptions; import com.microsoft.graph.drives.item.list.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.drives.item.list.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..61429866f35 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..a55601b5628 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/drives/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/drives/{drive%2Did}/list/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java index 4821d72a697..eac094ca3e2 100644 --- a/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java @@ -1,6 +1,7 @@ package com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions; import com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Subscription; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..1b9b254bbd5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..0d53606ab62 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/groups/item/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/groups/{group%2Did}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index eb6296cc140..db94399b33b 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -35,18 +35,20 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno super(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions", rawUrl); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 4b7dc67f808..988c7c4eb7c 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/definitions/item/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -35,18 +35,20 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno super(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/unified/definitions/{accessReviewScheduleDefinition%2Did}/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions", rawUrl); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java index 6939237bd74..a0fcc5ac3e3 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/accessreviews/unified/instances/item/batchapplycustomdataprovidedresourcedecisions/BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder.java @@ -35,18 +35,20 @@ public BatchApplyCustomDataProvidedResourceDecisionsRequestBuilder(@jakarta.anno super(requestAdapter, "{+baseurl}/identityGovernance/accessReviews/unified/instances/{accessReviewInstance%2Did}/batchApplyCustomDataProvidedResourceDecisions", rawUrl); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body) { post(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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 BatchApplyCustomDataProvidedResourceDecisionsPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer requestConfiguration) { Objects.requireNonNull(body); @@ -56,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final BatchApplyCustomDataProvidedR this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @param body The request body * @return a {@link RequestInformation} */ @@ -65,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Invoke action batchApplyCustomDataProvidedResourceDecisions + * Enables reviewers to set the applyResult and applyDescription on all accessReviewInstanceDecisionItem objects in a specific accessReviewInstance in batches by using customDataProvidedResourceId. NOTE: The access review instance must be in an Applying state. This action is part of the unified access reviews surface and is available only through the /identityGovernance/accessReviews/unified route. For more information, see unifiedRoot. * @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/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java index 5dab5fb976f..e79820697d0 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/PrivilegedAccessRequestBuilder.java @@ -1,5 +1,6 @@ package com.microsoft.graph.identitygovernance.privilegedaccess; +import com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder; import com.microsoft.graph.identitygovernance.privilegedaccess.group.GroupRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.PrivilegedAccessRoot; @@ -21,6 +22,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class PrivilegedAccessRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to manage the customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + * @return a {@link CustomExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CustomExtensionsRequestBuilder customExtensions() { + return new CustomExtensionsRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the group property of the microsoft.graph.privilegedAccessRoot entity. * @return a {@link GroupRequestBuilder} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/CustomExtensionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/CustomExtensionsRequestBuilder.java new file mode 100644 index 00000000000..9d521c1ac44 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/CustomExtensionsRequestBuilder.java @@ -0,0 +1,243 @@ +package com.microsoft.graph.identitygovernance.privilegedaccess.customextensions; + +import com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder; +import com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder; +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.RoleManagementCustomCalloutExtension; +import com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse; +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 customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class CustomExtensionsRequestBuilder 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 customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + * @param roleManagementCustomCalloutExtensionId The unique identifier of roleManagementCustomCalloutExtension + * @return a {@link RoleManagementCustomCalloutExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RoleManagementCustomCalloutExtensionItemRequestBuilder byRoleManagementCustomCalloutExtensionId(@jakarta.annotation.Nonnull final String roleManagementCustomCalloutExtensionId) { + Objects.requireNonNull(roleManagementCustomCalloutExtensionId); + final HashMap urlTplParams = new HashMap(this.pathParameters); + urlTplParams.put("roleManagementCustomCalloutExtension%2Did", roleManagementCustomCalloutExtensionId); + return new RoleManagementCustomCalloutExtensionItemRequestBuilder(urlTplParams, requestAdapter); + } + /** + * Instantiates a new {@link CustomExtensionsRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public CustomExtensionsRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters); + } + /** + * Instantiates a new {@link CustomExtensionsRequestBuilder} 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 CustomExtensionsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); + } + /** + * Get customExtensions from identityGovernance + * @return a {@link RoleManagementCustomCalloutExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtensionCollectionResponse get() { + return get(null); + } + /** + * Get customExtensions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RoleManagementCustomCalloutExtensionCollectionResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtensionCollectionResponse 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, RoleManagementCustomCalloutExtensionCollectionResponse::createFromDiscriminatorValue); + } + /** + * Create new navigation property to customExtensions for identityGovernance + * @param body The request body + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension post(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension body) { + return post(body, null); + } + /** + * Create new navigation property to customExtensions for identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension post(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension 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, RoleManagementCustomCalloutExtension::createFromDiscriminatorValue); + } + /** + * Get customExtensions from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get customExtensions from identityGovernance + * @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 customExtensions for identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension body) { + return toPostRequestInformation(body, null); + } + /** + * Create new navigation property to customExtensions for identityGovernance + * @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 RoleManagementCustomCalloutExtension 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 CustomExtensionsRequestBuilder} + */ + @jakarta.annotation.Nonnull + public CustomExtensionsRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new CustomExtensionsRequestBuilder(rawUrl, requestAdapter); + } + /** + * Get customExtensions from identityGovernance + */ + @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/generated/identitygovernance/privilegedaccess/customextensions/count/CountRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/count/CountRequestBuilder.java new file mode 100644 index 00000000000..2b107df50ab --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/count/CountRequestBuilder.java @@ -0,0 +1,128 @@ +package com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count; + +import com.microsoft.graph.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}/identityGovernance/privilegedAccess/customExtensions/$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}/identityGovernance/privilegedAccess/customExtensions/$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/generated/identitygovernance/privilegedaccess/customextensions/item/RoleManagementCustomCalloutExtensionItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/item/RoleManagementCustomCalloutExtensionItemRequestBuilder.java new file mode 100644 index 00000000000..cdbd26b31f0 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/customextensions/item/RoleManagementCustomCalloutExtensionItemRequestBuilder.java @@ -0,0 +1,228 @@ +package com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.RoleManagementCustomCalloutExtension; +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 customExtensions property of the microsoft.graph.privilegedAccessRoot entity. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class RoleManagementCustomCalloutExtensionItemRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link RoleManagementCustomCalloutExtensionItemRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public RoleManagementCustomCalloutExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions/{roleManagementCustomCalloutExtension%2Did}{?%24expand,%24select}", pathParameters); + } + /** + * Instantiates a new {@link RoleManagementCustomCalloutExtensionItemRequestBuilder} 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 RoleManagementCustomCalloutExtensionItemRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/customExtensions/{roleManagementCustomCalloutExtension%2Did}{?%24expand,%24select}", rawUrl); + } + /** + * Delete navigation property customExtensions for identityGovernance + * @throws ODataError When receiving a 4XX or 5XX status code + */ + public void delete() { + delete(null); + } + /** + * Delete navigation property customExtensions for identityGovernance + * @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 customExtensions from identityGovernance + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension get() { + return get(null); + } + /** + * Get customExtensions from identityGovernance + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension 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, RoleManagementCustomCalloutExtension::createFromDiscriminatorValue); + } + /** + * Update the navigation property customExtensions in identityGovernance + * @param body The request body + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension patch(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension body) { + return patch(body, null); + } + /** + * Update the navigation property customExtensions in identityGovernance + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link RoleManagementCustomCalloutExtension} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public RoleManagementCustomCalloutExtension patch(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension 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, RoleManagementCustomCalloutExtension::createFromDiscriminatorValue); + } + /** + * Delete navigation property customExtensions for identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toDeleteRequestInformation() { + return toDeleteRequestInformation(null); + } + /** + * Delete navigation property customExtensions for identityGovernance + * @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 customExtensions from identityGovernance + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get customExtensions from identityGovernance + * @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 customExtensions in identityGovernance + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull final RoleManagementCustomCalloutExtension body) { + return toPatchRequestInformation(body, null); + } + /** + * Update the navigation property customExtensions in identityGovernance + * @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 RoleManagementCustomCalloutExtension 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 RoleManagementCustomCalloutExtensionItemRequestBuilder} + */ + @jakarta.annotation.Nonnull + public RoleManagementCustomCalloutExtensionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new RoleManagementCustomCalloutExtensionItemRequestBuilder(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 customExtensions from identityGovernance + */ + @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/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java index 1d89967a79b..f9a450ab553 100644 --- a/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder.java @@ -5,6 +5,7 @@ import com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.group.GroupRequestBuilder; import com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.principal.PrincipalRequestBuilder; import com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder; +import com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder; import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.PrivilegedAccessGroupAssignmentScheduleRequest; import com.microsoft.kiota.BaseRequestBuilder; @@ -65,6 +66,14 @@ public PrincipalRequestBuilder principal() { public TargetScheduleRequestBuilder targetSchedule() { return new TargetScheduleRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the updateRequest method. + * @return a {@link UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder updateRequest() { + return new UpdateRequestRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java new file mode 100644 index 00000000000..6038fbbc027 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java @@ -0,0 +1,160 @@ +package com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.EvaluationOutcome; +import com.microsoft.graph.models.RequestSchedule; +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 UpdateRequestPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UpdateRequestPostRequestBody} and sets the default values. + */ + public UpdateRequestPostRequestBody() { + 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 UpdateRequestPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static UpdateRequestPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UpdateRequestPostRequestBody(); + } + /** + * 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 evaluationId property value. The evaluationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEvaluationId() { + return this.backingStore.get("evaluationId"); + } + /** + * Gets the evaluationOutcome property value. The evaluationOutcome property + * @return a {@link EvaluationOutcome} + */ + @jakarta.annotation.Nullable + public EvaluationOutcome getEvaluationOutcome() { + return this.backingStore.get("evaluationOutcome"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("evaluationId", (n) -> { this.setEvaluationId(n.getStringValue()); }); + deserializerMap.put("evaluationOutcome", (n) -> { this.setEvaluationOutcome(n.getEnumValue(EvaluationOutcome::forValue)); }); + deserializerMap.put("reason", (n) -> { this.setReason(n.getStringValue()); }); + deserializerMap.put("scheduleInfo", (n) -> { this.setScheduleInfo(n.getObjectValue(RequestSchedule::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the reason property value. The reason property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getReason() { + return this.backingStore.get("reason"); + } + /** + * Gets the scheduleInfo property value. The scheduleInfo property + * @return a {@link RequestSchedule} + */ + @jakarta.annotation.Nullable + public RequestSchedule getScheduleInfo() { + return this.backingStore.get("scheduleInfo"); + } + /** + * 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("evaluationId", this.getEvaluationId()); + writer.writeEnumValue("evaluationOutcome", this.getEvaluationOutcome()); + writer.writeStringValue("reason", this.getReason()); + writer.writeObjectValue("scheduleInfo", this.getScheduleInfo()); + 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 evaluationId property value. The evaluationId property + * @param value Value to set for the evaluationId property. + */ + public void setEvaluationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("evaluationId", value); + } + /** + * Sets the evaluationOutcome property value. The evaluationOutcome property + * @param value Value to set for the evaluationOutcome property. + */ + public void setEvaluationOutcome(@jakarta.annotation.Nullable final EvaluationOutcome value) { + this.backingStore.set("evaluationOutcome", value); + } + /** + * Sets the reason property value. The reason property + * @param value Value to set for the reason property. + */ + public void setReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("reason", value); + } + /** + * Sets the scheduleInfo property value. The scheduleInfo property + * @param value Value to set for the scheduleInfo property. + */ + public void setScheduleInfo(@jakarta.annotation.Nullable final RequestSchedule value) { + this.backingStore.set("scheduleInfo", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java new file mode 100644 index 00000000000..2c3bc84933d --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/identitygovernance/privilegedaccess/group/assignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.PrivilegedAccessGroupAssignmentScheduleRequest; +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 updateRequest method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UpdateRequestRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%2Did}/updateRequest", pathParameters); + } + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} 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 UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/identityGovernance/privilegedAccess/group/assignmentScheduleRequests/{privilegedAccessGroupAssignmentScheduleRequest%2Did}/updateRequest", rawUrl); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action updateRequest + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link PrivilegedAccessGroupAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public PrivilegedAccessGroupAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody 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, PrivilegedAccessGroupAssignmentScheduleRequest::createFromDiscriminatorValue); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action updateRequest + * @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 UpdateRequestPostRequestBody 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 UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UpdateRequestRequestBuilder(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/generated/kiota-dom-export.txt b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt index fd2257cd315..8ebaf47eca6 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt +++ b/src/main/java/com/microsoft/graph/generated/kiota-dom-export.txt @@ -36142,6 +36142,27 @@ com.microsoft.graph.drives.item.items.item.subscriptions.count.CountRequestBuild com.microsoft.graph.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.drives.item.items.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.drives.item.items.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.drives.item.items.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -36196,6 +36217,7 @@ com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBui com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.drives.item.items.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -62753,6 +62775,27 @@ com.microsoft.graph.drives.item.list.subscriptions.count.CountRequestBuilder::|p com.microsoft.graph.drives.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.drives.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.drives.item.list.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.drives.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.drives.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -62807,6 +62850,7 @@ com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder:: com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.drives.item.list.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -79786,6 +79830,27 @@ com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.count.CountR com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -79840,6 +79905,7 @@ com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.Subscription com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.groups.item.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -125164,6 +125230,71 @@ com.microsoft.graph.identitygovernance.lifecycleworkflows.workflowtemplates.Work com.microsoft.graph.identitygovernance.lifecycleworkflows.workflowtemplates.WorkflowTemplatesRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflowtemplates.WorkflowTemplatesRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.lifecycleworkflows.workflowtemplates.WorkflowTemplatesRequestBuilder::|public|withUrl(rawUrl:String):WorkflowTemplatesRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|get():Integer +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):Integer +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|count:Boolean +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|filter:String +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|orderby:String[] +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|search:String +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|skip:Integer +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|top:Integer +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|byRoleManagementCustomCalloutExtensionId(roleManagementCustomCalloutExtensionId:String):RoleManagementCustomCalloutExtensionItemRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|count:CountRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|get():RoleManagementCustomCalloutExtensionCollectionResponse +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RoleManagementCustomCalloutExtensionCollectionResponse +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|post(body:RoleManagementCustomCalloutExtension):RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|post(body:RoleManagementCustomCalloutExtension; requestConfiguration?:java.util.function.Consumer):RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|toPostRequestInformation(body:RoleManagementCustomCalloutExtension):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|toPostRequestInformation(body:RoleManagementCustomCalloutExtension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.CustomExtensionsRequestBuilder::|public|withUrl(rawUrl:String):CustomExtensionsRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.DeleteRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetQueryParameters::|public|expand:String[] +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetQueryParameters::|public|select:String[] +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetQueryParameters::|public|toQueryParameters():Map +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetQueryParameters~~>QueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.GetRequestConfiguration::|public|queryParameters:GetQueryParameters +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|delete():Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|get():RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|patch(body:RoleManagementCustomCalloutExtension):RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|patch(body:RoleManagementCustomCalloutExtension; requestConfiguration?:java.util.function.Consumer):RoleManagementCustomCalloutExtension +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toDeleteRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toDeleteRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:RoleManagementCustomCalloutExtension):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|toPatchRequestInformation(body:RoleManagementCustomCalloutExtension; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.customextensions.item.RoleManagementCustomCalloutExtensionItemRequestBuilder::|public|withUrl(rawUrl:String):RoleManagementCustomCalloutExtensionItemRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentapprovals.AssignmentApprovalsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentapprovals.AssignmentApprovalsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentapprovals.AssignmentApprovalsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -125681,6 +125812,7 @@ com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedule com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:PrivilegedAccessGroupAssignmentScheduleRequest):RequestInformation com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:PrivilegedAccessGroupAssignmentScheduleRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:UpdateRequestRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder::|public|withUrl(rawUrl:String):PrivilegedAccessGroupAssignmentScheduleRequestItemRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -125696,6 +125828,33 @@ com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedule com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder::|public|withUrl(rawUrl:String):TargetScheduleRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|constructor():void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationId():String +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationOutcome():EvaluationOutcome +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getReason():String +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getScheduleInfo():RequestSchedule +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationId(value?:String):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationOutcome(value?:EvaluationOutcome):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setReason(value?:String):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setScheduleInfo(value?:RequestSchedule):void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UpdateRequestPostRequestBody +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody):PrivilegedAccessGroupAssignmentScheduleRequest +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):PrivilegedAccessGroupAssignmentScheduleRequest +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|withUrl(rawUrl:String):UpdateRequestRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedules.AssignmentSchedulesRequestBuilder-->BaseRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedules.AssignmentSchedulesRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.identitygovernance.privilegedaccess.group.assignmentschedules.AssignmentSchedulesRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -126480,6 +126639,7 @@ com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestB com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder.PatchRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|customExtensions:CustomExtensionsRequestBuilder com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|delete():Void com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|delete(requestConfiguration?:java.util.function.Consumer):Void com.microsoft.graph.identitygovernance.privilegedaccess.PrivilegedAccessRequestBuilder::|public|get():PrivilegedAccessRoot @@ -140641,6 +140801,11 @@ com.microsoft.graph.models.CustomCalloutExtensionCollectionResponse::|public|get com.microsoft.graph.models.CustomCalloutExtensionCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.CustomCalloutExtensionCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.CustomCalloutExtensionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CustomCalloutExtensionCollectionResponse +com.microsoft.graph.models.CustomCalloutExtensionType::0000-PreApproval +com.microsoft.graph.models.CustomCalloutExtensionType::0001-PostApproval +com.microsoft.graph.models.CustomCalloutExtensionType::0002-Grant +com.microsoft.graph.models.CustomCalloutExtensionType::0003-Revoke +com.microsoft.graph.models.CustomCalloutExtensionType::0004-UnknownFutureValue com.microsoft.graph.models.CustomDataProvidedResource-->AccessPackageResource com.microsoft.graph.models.CustomDataProvidedResource::|public|constructor():void com.microsoft.graph.models.CustomDataProvidedResource::|public|getFieldDeserializers():Map> @@ -140877,6 +141042,10 @@ com.microsoft.graph.models.CustomExtensionOverwriteConfiguration::|public|setCli com.microsoft.graph.models.CustomExtensionOverwriteConfiguration::|public|setOdataType(value?:String):void com.microsoft.graph.models.CustomExtensionOverwriteConfiguration::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):CustomExtensionOverwriteConfiguration com.microsoft.graph.models.CustomExtensionOverwriteConfiguration~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.CustomExtensionResourceType::0000-EntraRoles +com.microsoft.graph.models.CustomExtensionResourceType::0001-AzureResources +com.microsoft.graph.models.CustomExtensionResourceType::0002-EntraGroups +com.microsoft.graph.models.CustomExtensionResourceType::0003-UnknownFutureValue com.microsoft.graph.models.CustomExtensionStageSetting-->Entity com.microsoft.graph.models.CustomExtensionStageSetting::|public|constructor():void com.microsoft.graph.models.CustomExtensionStageSetting::|public|getCustomExtension():CustomCalloutExtension @@ -146398,6 +146567,9 @@ com.microsoft.graph.models.ErrorDetail::|public|setResourceInstanceName(value?:S com.microsoft.graph.models.ErrorDetail::|public|setResourceType(value?:String):void com.microsoft.graph.models.ErrorDetail::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):ErrorDetail com.microsoft.graph.models.ErrorDetail~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.models.EvaluationOutcome::0000-Approved +com.microsoft.graph.models.EvaluationOutcome::0001-Denied +com.microsoft.graph.models.EvaluationOutcome::0002-UnknownFutureValue com.microsoft.graph.models.Event-->OutlookItem com.microsoft.graph.models.Event::|public|constructor():void com.microsoft.graph.models.Event::|public|getAllowNewTimeProposals():Boolean @@ -162148,10 +162320,12 @@ com.microsoft.graph.models.PrivilegedAccessGroupRelationships::0001-Member com.microsoft.graph.models.PrivilegedAccessGroupRelationships::0002-UnknownFutureValue com.microsoft.graph.models.PrivilegedAccessRoot-->Entity com.microsoft.graph.models.PrivilegedAccessRoot::|public|constructor():void +com.microsoft.graph.models.PrivilegedAccessRoot::|public|getCustomExtensions():java.util.List com.microsoft.graph.models.PrivilegedAccessRoot::|public|getFieldDeserializers():Map> com.microsoft.graph.models.PrivilegedAccessRoot::|public|getGroup():PrivilegedAccessGroup com.microsoft.graph.models.PrivilegedAccessRoot::|public|OdataType:String com.microsoft.graph.models.PrivilegedAccessRoot::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.PrivilegedAccessRoot::|public|setCustomExtensions(value?:java.util.List):void com.microsoft.graph.models.PrivilegedAccessRoot::|public|setGroup(value?:PrivilegedAccessGroup):void com.microsoft.graph.models.PrivilegedAccessRoot::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):PrivilegedAccessRoot com.microsoft.graph.models.PrivilegedAccessSchedule-->Entity @@ -165106,6 +165280,25 @@ com.microsoft.graph.models.RoleManagement::|public|setDirectory(value?:RbacAppli com.microsoft.graph.models.RoleManagement::|public|setEntitlementManagement(value?:RbacApplication):void com.microsoft.graph.models.RoleManagement::|public|setOdataType(value?:String):void com.microsoft.graph.models.RoleManagement::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleManagement +com.microsoft.graph.models.RoleManagementCustomCalloutExtension-->CustomCalloutExtension +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|constructor():void +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|getCustomAttributes():java.util.List +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|getResourceType():CustomExtensionResourceType +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|getType():CustomCalloutExtensionType +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|OdataType:String +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|setCustomAttributes(value?:java.util.List):void +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|setResourceType(value?:CustomExtensionResourceType):void +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|public|setType(value?:CustomCalloutExtensionType):void +com.microsoft.graph.models.RoleManagementCustomCalloutExtension::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleManagementCustomCalloutExtension +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse-->BaseCollectionPaginationCountResponse +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|public|constructor():void +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|public|getValue():java.util.List +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|public|setValue(value?:java.util.List):void +com.microsoft.graph.models.RoleManagementCustomCalloutExtensionCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):RoleManagementCustomCalloutExtensionCollectionResponse com.microsoft.graph.models.RoleManagement~~>AdditionalDataHolder; BackedModel; Parsable com.microsoft.graph.models.RolePermission::|protected|backingStore:BackingStore com.microsoft.graph.models.RolePermission::|public|constructor():void @@ -176733,6 +176926,9 @@ com.microsoft.graph.models.Subscription::|public|getNotificationQueryOptions():S com.microsoft.graph.models.Subscription::|public|getNotificationUrl():String com.microsoft.graph.models.Subscription::|public|getNotificationUrlAppId():String com.microsoft.graph.models.Subscription::|public|getResource():String +com.microsoft.graph.models.Subscription::|public|getVapidPublicKey():String +com.microsoft.graph.models.Subscription::|public|getWebPushEncryptionP256dhPublicKey():String +com.microsoft.graph.models.Subscription::|public|getWebPushEncryptionSecret():String com.microsoft.graph.models.Subscription::|public|OdataType:String com.microsoft.graph.models.Subscription::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.Subscription::|public|setApplicationId(value?:String):void @@ -176749,6 +176945,9 @@ com.microsoft.graph.models.Subscription::|public|setNotificationQueryOptions(val com.microsoft.graph.models.Subscription::|public|setNotificationUrl(value?:String):void com.microsoft.graph.models.Subscription::|public|setNotificationUrlAppId(value?:String):void com.microsoft.graph.models.Subscription::|public|setResource(value?:String):void +com.microsoft.graph.models.Subscription::|public|setVapidPublicKey(value?:String):void +com.microsoft.graph.models.Subscription::|public|setWebPushEncryptionP256dhPublicKey(value?:String):void +com.microsoft.graph.models.Subscription::|public|setWebPushEncryptionSecret(value?:String):void com.microsoft.graph.models.Subscription::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):Subscription com.microsoft.graph.models.SubscriptionCollectionResponse-->BaseCollectionPaginationCountResponse com.microsoft.graph.models.SubscriptionCollectionResponse::|public|constructor():void @@ -180265,6 +180464,20 @@ com.microsoft.graph.models.UnifiedRoleManagementPolicyCollectionResponse::|publi com.microsoft.graph.models.UnifiedRoleManagementPolicyCollectionResponse::|public|serialize(writer:SerializationWriter):Void com.microsoft.graph.models.UnifiedRoleManagementPolicyCollectionResponse::|public|setValue(value?:java.util.List):void com.microsoft.graph.models.UnifiedRoleManagementPolicyCollectionResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UnifiedRoleManagementPolicyCollectionResponse +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule-->UnifiedRoleManagementPolicyRule +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|constructor():void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|getCustomAttributes():java.util.List +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|getCustomExtensionId():String +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|getDisplayName():String +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|getFieldDeserializers():Map> +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|getIsEnabled():Boolean +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|OdataType:String +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|setCustomAttributes(value?:java.util.List):void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|setCustomExtensionId(value?:String):void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|setDisplayName(value?:String):void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|public|setIsEnabled(value?:Boolean):void +com.microsoft.graph.models.UnifiedRoleManagementPolicyCustomExtensionRule::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UnifiedRoleManagementPolicyCustomExtensionRule com.microsoft.graph.models.UnifiedRoleManagementPolicyEnablementRule-->UnifiedRoleManagementPolicyRule com.microsoft.graph.models.UnifiedRoleManagementPolicyEnablementRule::|public|constructor():void com.microsoft.graph.models.UnifiedRoleManagementPolicyEnablementRule::|public|getEnabledRules():java.util.List @@ -197993,7 +198206,35 @@ com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRoleAssignmentScheduleRequest):RequestInformation com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRoleAssignmentScheduleRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:UpdateRequestRequestBuilder com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|withUrl(rawUrl:String):UnifiedRoleAssignmentScheduleRequestItemRequestBuilder +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|constructor():void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationId():String +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationOutcome():EvaluationOutcome +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getReason():String +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getScheduleInfo():RequestSchedule +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationId(value?:String):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationOutcome(value?:EvaluationOutcome):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setReason(value?:String):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setScheduleInfo(value?:RequestSchedule):void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UpdateRequestPostRequestBody +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody):UnifiedRoleAssignmentScheduleRequest +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):UnifiedRoleAssignmentScheduleRequest +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody):RequestInformation +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|withUrl(rawUrl:String):UpdateRequestRequestBuilder com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -199436,7 +199677,35 @@ com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentscheduler com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRoleAssignmentScheduleRequest):RequestInformation com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|toPatchRequestInformation(body:UnifiedRoleAssignmentScheduleRequest; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|updateRequest:UpdateRequestRequestBuilder com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.UnifiedRoleAssignmentScheduleRequestItemRequestBuilder::|public|withUrl(rawUrl:String):UnifiedRoleAssignmentScheduleRequestItemRequestBuilder +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|protected|backingStore:BackingStore +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|constructor():void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getAdditionalData():Map +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getBackingStore():BackingStore +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationId():String +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getEvaluationOutcome():EvaluationOutcome +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getFieldDeserializers():Map> +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getReason():String +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|getScheduleInfo():RequestSchedule +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationId(value?:String):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setEvaluationOutcome(value?:EvaluationOutcome):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setReason(value?:String):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|public|setScheduleInfo(value?:RequestSchedule):void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):UpdateRequestPostRequestBody +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestPostRequestBody~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody):UnifiedRoleAssignmentScheduleRequest +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|post(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):UnifiedRoleAssignmentScheduleRequest +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody):RequestInformation +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|toPostRequestInformation(body:UpdateRequestPostRequestBody; requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder::|public|withUrl(rawUrl:String):UpdateRequestRequestBuilder com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder-->BaseRequestBuilder com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder.GetQueryParameters::|public|count:Boolean com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.RoleAssignmentScheduleRequestsRequestBuilder.GetQueryParameters::|public|expand:String[] @@ -213577,6 +213846,27 @@ com.microsoft.graph.shares.item.list.subscriptions.count.CountRequestBuilder::|p com.microsoft.graph.shares.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.shares.item.list.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.shares.item.list.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.shares.item.list.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -213631,6 +213921,7 @@ com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder:: com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.shares.item.list.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -217230,6 +217521,27 @@ com.microsoft.graph.sites.item.lists.item.subscriptions.count.CountRequestBuilde com.microsoft.graph.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation():RequestInformation com.microsoft.graph.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.sites.item.lists.item.subscriptions.count.CountRequestBuilder::|public|withUrl(rawUrl:String):CountRequestBuilder +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.sites.item.lists.item.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -217284,6 +217596,7 @@ com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuil com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|count:CountRequestBuilder com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.sites.item.lists.item.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation @@ -234281,6 +234594,27 @@ com.microsoft.graph.subscribedskus.SubscribedSkusRequestBuilder::|public|toGetRe com.microsoft.graph.subscribedskus.SubscribedSkusRequestBuilder::|public|toPostRequestInformation(body:SubscribedSku):RequestInformation com.microsoft.graph.subscribedskus.SubscribedSkusRequestBuilder::|public|toPostRequestInformation(body:SubscribedSku; requestConfiguration?:java.util.function.Consumer):RequestInformation com.microsoft.graph.subscribedskus.SubscribedSkusRequestBuilder::|public|withUrl(rawUrl:String):SubscribedSkusRequestBuilder +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|protected|backingStore:BackingStore +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|constructor():void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getAdditionalData():Map +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getBackingStore():BackingStore +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getFieldDeserializers():Map> +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|getValue():String +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|serialize(writer:SerializationWriter):Void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setAdditionalData(value?:Map):void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setBackingStore(value:BackingStore):void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|public|setValue(value?:String):void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse::|static|public|createFromDiscriminatorValue(parseNode:ParseNode):GetVapidPublicKeyGetResponse +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyGetResponse~~>AdditionalDataHolder; BackedModel; Parsable +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder-->BaseRequestBuilder +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder.GetRequestConfiguration-->BaseRequestConfiguration +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get():GetVapidPublicKeyGetResponse +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):GetVapidPublicKeyGetResponse +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation():RequestInformation +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|toGetRequestInformation(requestConfiguration?:java.util.function.Consumer):RequestInformation +com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder::|public|withUrl(rawUrl:String):GetVapidPublicKeyRequestBuilder com.microsoft.graph.subscriptions.item.reauthorize.ReauthorizeRequestBuilder-->BaseRequestBuilder com.microsoft.graph.subscriptions.item.reauthorize.ReauthorizeRequestBuilder.PostRequestConfiguration-->BaseRequestConfiguration com.microsoft.graph.subscriptions.item.reauthorize.ReauthorizeRequestBuilder::|public|constructor(pathParameters:HashMap; requestAdapter:RequestAdapter):Void @@ -234333,6 +234667,7 @@ com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|construct com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|constructor(rawUrl:String; requestAdapter:RequestAdapter):Void com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|get():SubscriptionCollectionResponse com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|get(requestConfiguration?:java.util.function.Consumer):SubscriptionCollectionResponse +com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|getVapidPublicKey:GetVapidPublicKeyRequestBuilder com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription):Subscription com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|post(body:Subscription; requestConfiguration?:java.util.function.Consumer):Subscription com.microsoft.graph.subscriptions.SubscriptionsRequestBuilder::|public|toGetRequestInformation():RequestInformation diff --git a/src/main/java/com/microsoft/graph/generated/kiota-lock.json b/src/main/java/com/microsoft/graph/generated/kiota-lock.json index e9168558b83..e289df86cef 100644 --- a/src/main/java/com/microsoft/graph/generated/kiota-lock.json +++ b/src/main/java/com/microsoft/graph/generated/kiota-lock.json @@ -1,5 +1,5 @@ { - "descriptionHash": "62F83CD8AE47B1679CAE90B419ECEEA7E8E9ADF2EC503FF31CD525A647F2DDFD950071B1DB63B0F65D03260D1AAD642FD78D44B4C15B04778387EC3A018DDF3A", + "descriptionHash": "69696A6A0E6B0C446E2144BB6EA04E01713601E3448A463BAAB5112D4FE1A8CA2FEAB7731DA16DBD5CB6A6A8FE039C9934C019462E8777F3F8CC0A96C505B146", "descriptionLocation": "../../msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", "kiotaVersion": "1.35.0", diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItem.java b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItem.java index 99d5e87cb1b..9ac60db2e6f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItem.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItem.java @@ -115,7 +115,7 @@ public String getJustification() { return this.backingStore.get("justification"); } /** - * Gets the permission property value. The permission property + * Gets the permission property value. The permission that grants the principal access to a resource. Read-only. * @return a {@link AccessReviewInstanceDecisionItemPermission} */ @jakarta.annotation.Nullable @@ -259,7 +259,7 @@ public void setJustification(@jakarta.annotation.Nullable final String value) { this.backingStore.set("justification", value); } /** - * Sets the permission property value. The permission property + * Sets the permission property value. The permission that grants the principal access to a resource. Read-only. * @param value Value to set for the permission property. */ public void setPermission(@jakarta.annotation.Nullable final AccessReviewInstanceDecisionItemPermission value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemCustomDataProvidedResource.java b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemCustomDataProvidedResource.java index a06fb063ca1..df15fefba2c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemCustomDataProvidedResource.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemCustomDataProvidedResource.java @@ -26,7 +26,7 @@ public static AccessReviewInstanceDecisionItemCustomDataProvidedResource createF return new AccessReviewInstanceDecisionItemCustomDataProvidedResource(); } /** - * Gets the customData property value. The customData property + * Gets the customData property value. Custom data to include with the decision. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -46,7 +46,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the scopeDisplayName property value. The scopeDisplayName property + * Gets the scopeDisplayName property value. The name of the scope for the decision. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public String getScopeDisplayName() { return this.backingStore.get("scopeDisplayName"); } /** - * Gets the scopeId property value. The scopeId property + * Gets the scopeId property value. The identifier of the scope for the decision. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,21 +73,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("scopeId", this.getScopeId()); } /** - * Sets the customData property value. The customData property + * Sets the customData property value. Custom data to include with the decision. * @param value Value to set for the customData property. */ public void setCustomData(@jakarta.annotation.Nullable final String value) { this.backingStore.set("customData", value); } /** - * Sets the scopeDisplayName property value. The scopeDisplayName property + * Sets the scopeDisplayName property value. The name of the scope for the decision. * @param value Value to set for the scopeDisplayName property. */ public void setScopeDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("scopeDisplayName", value); } /** - * Sets the scopeId property value. The scopeId property + * Sets the scopeId property value. The identifier of the scope for the decision. * @param value Value to set for the scopeId property. */ public void setScopeId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemPermission.java b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemPermission.java index 86a01e66479..15485d86b6f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemPermission.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemPermission.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the description property value. The description property + * Gets the description property value. The description of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -86,7 +86,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the id property value. The id property + * Gets the id property value. The identifier of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,7 +102,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the type property value. The type property + * Gets the type property value. The type of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -138,21 +138,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the description property value. The description property + * Sets the description property value. The description of the permission. * @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. The display name of the permission. * @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 id property value. The id property + * Sets the id property value. The identifier of the permission. * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { @@ -166,7 +166,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the type property value. The type property + * Sets the type property value. The type of the permission. * @param value Value to set for the type property. */ public void setType(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemResource.java b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemResource.java index 7e91eefbbb2..1c140b3526d 100644 --- a/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemResource.java +++ b/src/main/java/com/microsoft/graph/generated/models/AccessReviewInstanceDecisionItemResource.java @@ -67,7 +67,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the description property value. The description property + * Gets the description property value. Description of the resource. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -113,7 +113,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy. + * Gets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy, and CustomDataProvidedResource. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -149,7 +149,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the description property value. The description property + * Sets the description property value. Description of the resource. * @param value Value to set for the description property. */ public void setDescription(@jakarta.annotation.Nullable final String value) { @@ -177,7 +177,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy. + * Sets the type property value. Type of resource. Types include: Group, ServicePrincipal, DirectoryRole, AzureRole, AccessPackage, AccessPackageAssignmentPolicy, and CustomDataProvidedResource. * @param value Value to set for the type property. */ public void setType(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ApiApplication.java b/src/main/java/com/microsoft/graph/generated/models/ApiApplication.java index 752e96ffd62..49d42532984 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ApiApplication.java +++ b/src/main/java/com/microsoft/graph/generated/models/ApiApplication.java @@ -88,7 +88,7 @@ public java.util.List getKnownClientApplications() { return this.backingStore.get("knownClientApplications"); } /** - * Gets the oauth2PermissionScopes property value. The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * Gets the oauth2PermissionScopes property value. The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. These scopes and the application's appRoles share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -163,7 +163,7 @@ public void setKnownClientApplications(@jakarta.annotation.Nullable final java.u this.backingStore.set("knownClientApplications", value); } /** - * Sets the oauth2PermissionScopes property value. The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. + * Sets the oauth2PermissionScopes property value. The definition of the delegated permissions exposed by the web API represented by this application registration. These delegated permissions may be requested by a client application, and may be granted by users or administrators during consent. Delegated permissions are sometimes referred to as OAuth 2.0 scopes. These scopes and the application's appRoles share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @param value Value to set for the oauth2PermissionScopes property. */ public void setOauth2PermissionScopes(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Application.java b/src/main/java/com/microsoft/graph/generated/models/Application.java index d1d807a6b79..0464cee2ce9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Application.java +++ b/src/main/java/com/microsoft/graph/generated/models/Application.java @@ -76,7 +76,7 @@ public java.util.List getAppManagementPolicies() { return this.backingStore.get("appManagementPolicies"); } /** - * Gets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * Gets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. App roles and exposed delegated permission scopes (api.oauth2PermissionScopes) share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. This limit is separate from the aggregate 1,200-entry application manifest limit and from app role assignment limits. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -598,7 +598,7 @@ public void setAppManagementPolicies(@jakarta.annotation.Nullable final java.uti this.backingStore.set("appManagementPolicies", value); } /** - * Sets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. + * Sets the appRoles property value. The collection of roles defined for the application. With app role assignments, these roles can be assigned to users, groups, or service principals associated with other applications. Not nullable. App roles and exposed delegated permission scopes (api.oauth2PermissionScopes) share a default limit of 700 permission definitions per application. Enabled and disabled definitions both count. This limit is separate from the aggregate 1,200-entry application manifest limit and from app role assignment limits. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @param value Value to set for the appRoles property. */ public void setAppRoles(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ApplicationResourcePermission.java b/src/main/java/com/microsoft/graph/generated/models/ApplicationResourcePermission.java index a3d716cdc7b..6ec173ab3f6 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ApplicationResourcePermission.java +++ b/src/main/java/com/microsoft/graph/generated/models/ApplicationResourcePermission.java @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the id property value. The id property + * Gets the id property value. The unique identifier of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public String getId() { return this.backingStore.get("id"); } /** - * Gets the name property value. The name property + * Gets the name property value. The name of the permission. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -128,14 +128,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the id property value. The id property + * Sets the id property value. The unique identifier of the permission. * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("id", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The name of the permission. * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ApplicationsRequiredResourceAccess.java b/src/main/java/com/microsoft/graph/generated/models/ApplicationsRequiredResourceAccess.java index eda03f6b1f6..6a9ef1f5384 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ApplicationsRequiredResourceAccess.java +++ b/src/main/java/com/microsoft/graph/generated/models/ApplicationsRequiredResourceAccess.java @@ -76,7 +76,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the permissions property value. The permissions property + * Gets the permissions property value. The collection of resource permissions required by the application. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public java.util.List getPermissions() { return this.backingStore.get("permissions"); } /** - * Gets the resourceAppId property value. The resourceAppId property + * Gets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -125,14 +125,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the permissions property value. The permissions property + * Sets the permissions property value. The collection of resource permissions required by the application. * @param value Value to set for the permissions property. */ public void setPermissions(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("permissions", value); } /** - * Sets the resourceAppId property value. The resourceAppId property + * Sets the resourceAppId property value. The appId (client ID) of the resource that the application needs to access. * @param value Value to set for the resourceAppId property. */ public void setResourceAppId(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsBase.java b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsBase.java index 4dce30e6755..85c16be9aed 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsBase.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsBase.java @@ -47,7 +47,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundTotalUsers property value. The inboundTotalUsers property + * Gets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -55,7 +55,7 @@ public BigDecimal getInboundTotalUsers() { return this.backingStore.get("inboundTotalUsers"); } /** - * Gets the outboundTotalUsers property value. The outboundTotalUsers property + * Gets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public BigDecimal getOutboundTotalUsers() { return this.backingStore.get("outboundTotalUsers"); } /** - * Gets the watermarkDateTime property value. The watermarkDateTime property + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -82,21 +82,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundTotalUsers property value. The inboundTotalUsers property + * Sets the inboundTotalUsers property value. The total number of inbound B2B guest users registered. * @param value Value to set for the inboundTotalUsers property. */ public void setInboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundTotalUsers", value); } /** - * Sets the outboundTotalUsers property value. The outboundTotalUsers property + * Sets the outboundTotalUsers property value. The total number of outbound B2B users from this tenant registered in other tenants. * @param value Value to set for the outboundTotalUsers property. */ public void setOutboundTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundTotalUsers", value); } /** - * Sets the watermarkDateTime property value. The watermarkDateTime property + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsInitial.java b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsInitial.java index 14ba12aacef..c440adcef69 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsInitial.java @@ -27,7 +27,7 @@ public static B2BRegistrationMetricsInitial createFromDiscriminatorValue(@jakart return new B2BRegistrationMetricsInitial(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Timestamp that represents the date time that B2B registration data was initially aggregated. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsRecent.java b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsRecent.java index 3eb0fb2c685..f97ccb051fb 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BRegistrationMetricsRecent.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. The updateDateTime property + * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. The updateDateTime property + * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsBase.java b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsBase.java index ca3f57d3ed4..28223b3d686 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsBase.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsBase.java @@ -49,7 +49,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * Gets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -57,7 +57,7 @@ public BigDecimal getInboundMonthlyTotalApplications() { return this.backingStore.get("inboundMonthlyTotalApplications"); } /** - * Gets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property + * Gets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public BigDecimal getInboundMonthlyTotalUsers() { return this.backingStore.get("inboundMonthlyTotalUsers"); } /** - * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * Gets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public BigDecimal getOutboundMonthlyTotalApplications() { return this.backingStore.get("outboundMonthlyTotalApplications"); } /** - * Gets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property + * Gets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -81,7 +81,7 @@ public BigDecimal getOutboundMonthlyTotalUsers() { return this.backingStore.get("outboundMonthlyTotalUsers"); } /** - * Gets the watermarkDateTime property value. The watermarkDateTime property + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -102,35 +102,35 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * Sets the inboundMonthlyTotalApplications property value. The total number of applications accessed by inbound users in the last month. * @param value Value to set for the inboundMonthlyTotalApplications property. */ public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalApplications", value); } /** - * Sets the inboundMonthlyTotalUsers property value. The inboundMonthlyTotalUsers property + * Sets the inboundMonthlyTotalUsers property value. The total number of unique inbound users with sign-in activity in the last month. * @param value Value to set for the inboundMonthlyTotalUsers property. */ public void setInboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalUsers", value); } /** - * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * Sets the outboundMonthlyTotalApplications property value. The total number of applications accessed by outbound users in the last month. * @param value Value to set for the outboundMonthlyTotalApplications property. */ public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalApplications", value); } /** - * Sets the outboundMonthlyTotalUsers property value. The outboundMonthlyTotalUsers property + * Sets the outboundMonthlyTotalUsers property value. The total number of unique outbound users with sign-in activity in the last month. * @param value Value to set for the outboundMonthlyTotalUsers property. */ public void setOutboundMonthlyTotalUsers(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalUsers", value); } /** - * Sets the watermarkDateTime property value. The watermarkDateTime property + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsInitial.java b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsInitial.java index 58025d64050..77ca97b44e8 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsInitial.java @@ -27,7 +27,7 @@ public static B2BSignInActivityMetricsInitial createFromDiscriminatorValue(@jaka return new B2BSignInActivityMetricsInitial(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Timestamp that represents when the time B2B sign-in activity content was initially aggregated for the related tenant. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsRecent.java b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsRecent.java index 43b2b7c9076..696453c1149 100644 --- a/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/generated/models/B2BSignInActivityMetricsRecent.java @@ -37,7 +37,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. The updateDateTime property + * Gets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -54,7 +54,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. The updateDateTime property + * Sets the updateDateTime property value. Timestamp that represents the most recent time B2B registration data was aggregated and have sufficiently changed for the related tenant. * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsBase.java b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsBase.java index c52d9d7f2de..49fcf43a05d 100644 --- a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsBase.java +++ b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsBase.java @@ -52,7 +52,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property + * Gets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -60,7 +60,7 @@ public BigDecimal getForeignAssociatedTenantBillingManagementActiveCount() { return this.backingStore.get("foreignAssociatedTenantBillingManagementActiveCount"); } /** - * Gets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property + * Gets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -68,7 +68,7 @@ public BigDecimal getForeignAssociatedTenantCount() { return this.backingStore.get("foreignAssociatedTenantCount"); } /** - * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property + * Gets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public BigDecimal getForeignAssociatedTenantProvisioningActiveCount() { return this.backingStore.get("foreignAssociatedTenantProvisioningActiveCount"); } /** - * Gets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property + * Gets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public BigDecimal getLocalAssociatedTenantBillingManagementActiveCount() { return this.backingStore.get("localAssociatedTenantBillingManagementActiveCount"); } /** - * Gets the localAssociatedTenantCount property value. The localAssociatedTenantCount property + * Gets the localAssociatedTenantCount property value. The total number of local associated tenants. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -92,7 +92,7 @@ public BigDecimal getLocalAssociatedTenantCount() { return this.backingStore.get("localAssociatedTenantCount"); } /** - * Gets the localAssociatedTenantIds property value. The localAssociatedTenantIds property + * Gets the localAssociatedTenantIds property value. The list of local associated tenant IDs. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -100,7 +100,7 @@ public java.util.List getLocalAssociatedTenantIds() { return this.backingStore.get("localAssociatedTenantIds"); } /** - * Gets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property + * Gets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -108,7 +108,7 @@ public BigDecimal getLocalAssociatedTenantProvisioningActiveCount() { return this.backingStore.get("localAssociatedTenantProvisioningActiveCount"); } /** - * Gets the watermarkDateTime property value. The watermarkDateTime property + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -132,56 +132,56 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The foreignAssociatedTenantBillingManagementActiveCount property + * Sets the foreignAssociatedTenantBillingManagementActiveCount property value. The number of foreign associated tenants with active billing management. * @param value Value to set for the foreignAssociatedTenantBillingManagementActiveCount property. */ public void setForeignAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantBillingManagementActiveCount", value); } /** - * Sets the foreignAssociatedTenantCount property value. The foreignAssociatedTenantCount property + * Sets the foreignAssociatedTenantCount property value. The total number of foreign associated tenants. * @param value Value to set for the foreignAssociatedTenantCount property. */ public void setForeignAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantCount", value); } /** - * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The foreignAssociatedTenantProvisioningActiveCount property + * Sets the foreignAssociatedTenantProvisioningActiveCount property value. The number of foreign associated tenants with active provisioning. * @param value Value to set for the foreignAssociatedTenantProvisioningActiveCount property. */ public void setForeignAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("foreignAssociatedTenantProvisioningActiveCount", value); } /** - * Sets the localAssociatedTenantBillingManagementActiveCount property value. The localAssociatedTenantBillingManagementActiveCount property + * Sets the localAssociatedTenantBillingManagementActiveCount property value. The number of local associated tenants with active billing management. * @param value Value to set for the localAssociatedTenantBillingManagementActiveCount property. */ public void setLocalAssociatedTenantBillingManagementActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantBillingManagementActiveCount", value); } /** - * Sets the localAssociatedTenantCount property value. The localAssociatedTenantCount property + * Sets the localAssociatedTenantCount property value. The total number of local associated tenants. * @param value Value to set for the localAssociatedTenantCount property. */ public void setLocalAssociatedTenantCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantCount", value); } /** - * Sets the localAssociatedTenantIds property value. The localAssociatedTenantIds property + * Sets the localAssociatedTenantIds property value. The list of local associated tenant IDs. * @param value Value to set for the localAssociatedTenantIds property. */ public void setLocalAssociatedTenantIds(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("localAssociatedTenantIds", value); } /** - * Sets the localAssociatedTenantProvisioningActiveCount property value. The localAssociatedTenantProvisioningActiveCount property + * Sets the localAssociatedTenantProvisioningActiveCount property value. The number of local associated tenants with active provisioning. * @param value Value to set for the localAssociatedTenantProvisioningActiveCount property. */ public void setLocalAssociatedTenantProvisioningActiveCount(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("localAssociatedTenantProvisioningActiveCount", value); } /** - * Sets the watermarkDateTime property value. The watermarkDateTime property + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsInitial.java b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsInitial.java index c21065e59ca..5ff96af886e 100644 --- a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsInitial.java @@ -26,7 +26,7 @@ public static BillingMetricsInitial createFromDiscriminatorValue(@jakarta.annota return new BillingMetricsInitial(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Timestamp that represents when billing metrics are initially aggregated for the related tenant. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsRecent.java b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsRecent.java index 9cf2272f4e9..ad7e78747ea 100644 --- a/src/main/java/com/microsoft/graph/generated/models/BillingMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/generated/models/BillingMetricsRecent.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. The updateDateTime property + * Gets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. The updateDateTime property + * Sets the updateDateTime property value. Timestamp that represents when billing metrics are aggregated and have sufficiently changed for the related tenant. * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java index 81584a2e6d4..81e17841b8a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java +++ b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtension.java @@ -37,6 +37,7 @@ public static CustomCalloutExtension createFromDiscriminatorValue(@jakarta.annot case "#microsoft.graph.onPasswordSubmitCustomExtension": return new OnPasswordSubmitCustomExtension(); case "#microsoft.graph.onTokenIssuanceStartCustomExtension": return new OnTokenIssuanceStartCustomExtension(); case "#microsoft.graph.onVerifiedIdClaimValidationCustomExtension": return new OnVerifiedIdClaimValidationCustomExtension(); + case "#microsoft.graph.roleManagementCustomCalloutExtension": return new RoleManagementCustomCalloutExtension(); } } return new CustomCalloutExtension(); diff --git a/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtensionType.java b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtensionType.java new file mode 100644 index 00000000000..3586de1aed6 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CustomCalloutExtensionType.java @@ -0,0 +1,31 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum CustomCalloutExtensionType implements ValuedEnum { + PreApproval("preApproval"), + PostApproval("postApproval"), + Grant("grant"), + Revoke("revoke"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + CustomCalloutExtensionType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static CustomCalloutExtensionType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "preApproval": return PreApproval; + case "postApproval": return PostApproval; + case "grant": return Grant; + case "revoke": return Revoke; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/CustomExtensionResourceType.java b/src/main/java/com/microsoft/graph/generated/models/CustomExtensionResourceType.java new file mode 100644 index 00000000000..35303597409 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/CustomExtensionResourceType.java @@ -0,0 +1,29 @@ +package com.microsoft.graph.models; + +import com.microsoft.kiota.serialization.ValuedEnum; +import java.util.Objects; + +@jakarta.annotation.Generated("com.microsoft.kiota") +public enum CustomExtensionResourceType implements ValuedEnum { + EntraRoles("entraRoles"), + AzureResources("azureResources"), + EntraGroups("entraGroups"), + UnknownFutureValue("unknownFutureValue"); + public final String value; + CustomExtensionResourceType(final String value) { + this.value = value; + } + @jakarta.annotation.Nonnull + public String getValue() { return this.value; } + @jakarta.annotation.Nullable + public static CustomExtensionResourceType forValue(@jakarta.annotation.Nonnull final String searchValue) { + Objects.requireNonNull(searchValue); + switch(searchValue) { + case "entraRoles": return EntraRoles; + case "azureResources": return AzureResources; + case "entraGroups": return EntraGroups; + case "unknownFutureValue": return UnknownFutureValue; + default: return null; + } + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignment.java b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignment.java index 7eaba796d32..4f0dade8a94 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignment.java +++ b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignment.java @@ -77,7 +77,7 @@ public Group getGroup() { return this.backingStore.get("group"); } /** - * Gets the groupDisplayName property value. The groupDisplayName property + * Gets the groupDisplayName property value. The display name of the security group referenced by the group navigation property. Server-populated and read-only; returns null if the referenced group has been deleted. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the roleTemplates property value. The roleTemplates property + * Gets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -135,7 +135,7 @@ public void setGroup(@jakarta.annotation.Nullable final Group value) { this.backingStore.set("group", value); } /** - * Sets the groupDisplayName property value. The groupDisplayName property + * Sets the groupDisplayName property value. The display name of the security group referenced by the group navigation property. Server-populated and read-only; returns null if the referenced group has been deleted. * @param value Value to set for the groupDisplayName property. */ public void setGroupDisplayName(@jakarta.annotation.Nullable final String value) { @@ -149,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the roleTemplates property value. The roleTemplates property + * Sets the roleTemplates property value. A collection of role templates that define the roles to be assigned to the group in the governed tenant. * @param value Value to set for the roleTemplates property. */ public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java index cce219a60a5..b29b7864719 100644 --- a/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java +++ b/src/main/java/com/microsoft/graph/generated/models/DelegatedAdministrationRoleAssignmentSnapshot.java @@ -69,7 +69,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the groupDisplayName property value. The groupDisplayName property + * Gets the groupDisplayName property value. The display name of the security group identified by groupId at the time the snapshot was created. Read-only. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -77,7 +77,7 @@ public String getGroupDisplayName() { return this.backingStore.get("groupDisplayName"); } /** - * Gets the groupId property value. The groupId property + * Gets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -93,7 +93,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the roleTemplates property value. The roleTemplates property + * Gets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -128,14 +128,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the groupDisplayName property value. The groupDisplayName property + * Sets the groupDisplayName property value. The display name of the security group identified by groupId at the time the snapshot was created. Read-only. * @param value Value to set for the groupDisplayName property. */ public void setGroupDisplayName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("groupDisplayName", value); } /** - * Sets the groupId property value. The groupId property + * Sets the groupId property value. The object ID of the role-assignable security group in the governing tenant that will be assigned the specified roles. * @param value Value to set for the groupId property. */ public void setGroupId(@jakarta.annotation.Nullable final String value) { @@ -149,7 +149,7 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the roleTemplates property value. The roleTemplates property + * Sets the roleTemplates property value. The collection of role templates that define the Microsoft Entra roles to be assigned. * @param value Value to set for the roleTemplates property. */ public void setRoleTemplates(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Directory.java b/src/main/java/com/microsoft/graph/generated/models/Directory.java index 4570099dd79..3bfd732167a 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Directory.java +++ b/src/main/java/com/microsoft/graph/generated/models/Directory.java @@ -135,7 +135,7 @@ public java.util.List getSubscriptions() { return this.backingStore.get("subscriptions"); } /** - * Gets the tenantGovernance property value. The tenantGovernance property + * Gets the tenantGovernance property value. Container for Microsoft Entra Tenant Governance capabilities. * @return a {@link TenantGovernance} */ @jakarta.annotation.Nullable @@ -240,7 +240,7 @@ public void setSubscriptions(@jakarta.annotation.Nullable final java.util.List} */ @jakarta.annotation.Nullable @@ -189,7 +189,7 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue. + * Sets the consumingTenantOverridables property value. A comma-separated list of settings that can be overridden in the consuming tenant. The possible values are: urlTemplate, isDiscoverabilityEnabled, isSearchEnabled, isItemVersioningEnabled, itemMajorVersionLimit, maxStoragePerContainerInBytes, unknownFutureValue, isOfficeRestricted. * @param value Value to set for the consumingTenantOverridables property. */ public void setConsumingTenantOverridables(@jakarta.annotation.Nullable final EnumSet value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/GovernanceInvitation.java b/src/main/java/com/microsoft/graph/generated/models/GovernanceInvitation.java index f30536204c9..0bb83996c13 100644 --- a/src/main/java/com/microsoft/graph/generated/models/GovernanceInvitation.java +++ b/src/main/java/com/microsoft/graph/generated/models/GovernanceInvitation.java @@ -26,7 +26,7 @@ public static GovernanceInvitation createFromDiscriminatorValue(@jakarta.annotat return new GovernanceInvitation(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the expirationDateTime property value. The expirationDateTime property + * Gets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -57,7 +57,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantId property value. The governedTenantId property + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -65,7 +65,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The governedTenantName property + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -73,7 +73,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The governingTenantId property + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -81,7 +81,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The governingTenantName property + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -103,42 +103,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("governingTenantName", this.getGoverningTenantName()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the invitation was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @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 expirationDateTime property value. The expirationDateTime property + * Sets the expirationDateTime property value. The date and time when the invitation expires. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @param value Value to set for the expirationDateTime property. */ public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("expirationDateTime", value); } /** - * Sets the governedTenantId property value. The governedTenantId property + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The governedTenantName property + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The governingTenantId property + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The governingTenantName property + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/GovernanceRelationship.java b/src/main/java/com/microsoft/graph/generated/models/GovernanceRelationship.java index 305594487af..9e676325336 100644 --- a/src/main/java/com/microsoft/graph/generated/models/GovernanceRelationship.java +++ b/src/main/java/com/microsoft/graph/generated/models/GovernanceRelationship.java @@ -34,7 +34,7 @@ public RelationshipCreationType getCreatedType() { return this.backingStore.get("createdType"); } /** - * Gets the creationDateTime property value. The creationDateTime property + * Gets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -59,7 +59,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantId property value. The governedTenantId property + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -67,7 +67,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The governedTenantName property + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -75,7 +75,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The governingTenantId property + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -83,7 +83,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The governingTenantName property + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -130,35 +130,35 @@ public void setCreatedType(@jakarta.annotation.Nullable final RelationshipCreati this.backingStore.set("createdType", value); } /** - * Sets the creationDateTime property value. The creationDateTime property + * Sets the creationDateTime property value. The date and time when the relationship was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2026 is 2026-01-01T00:00:00Z. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @param value Value to set for the creationDateTime property. */ public void setCreationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("creationDateTime", value); } /** - * Sets the governedTenantId property value. The governedTenantId property + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The governedTenantName property + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The governingTenantId property + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The governingTenantName property + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/GovernanceRequest.java b/src/main/java/com/microsoft/graph/generated/models/GovernanceRequest.java index 73efe40bbf0..610f23573f0 100644 --- a/src/main/java/com/microsoft/graph/generated/models/GovernanceRequest.java +++ b/src/main/java/com/microsoft/graph/generated/models/GovernanceRequest.java @@ -26,7 +26,7 @@ public static GovernanceRequest createFromDiscriminatorValue(@jakarta.annotation return new GovernanceRequest(); } /** - * Gets the expirationDateTime property value. The expirationDateTime property + * Gets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governancePolicyTemplate property value. The governancePolicyTemplate property + * Gets the governancePolicyTemplate property value. The governance policy template associated with this request. * @return a {@link TenantGovernancePolicyTemplate} */ @jakarta.annotation.Nullable @@ -60,7 +60,7 @@ public TenantGovernancePolicyTemplate getGovernancePolicyTemplate() { return this.backingStore.get("governancePolicyTemplate"); } /** - * Gets the governedTenantId property value. The governedTenantId property + * Gets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -68,7 +68,7 @@ public String getGovernedTenantId() { return this.backingStore.get("governedTenantId"); } /** - * Gets the governedTenantName property value. The governedTenantName property + * Gets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public String getGovernedTenantName() { return this.backingStore.get("governedTenantName"); } /** - * Gets the governingTenantId property value. The governingTenantId property + * Gets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -84,7 +84,7 @@ public String getGoverningTenantId() { return this.backingStore.get("governingTenantId"); } /** - * Gets the governingTenantName property value. The governingTenantName property + * Gets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -100,7 +100,7 @@ public RelationshipPolicy getPolicySnapshot() { return this.backingStore.get("policySnapshot"); } /** - * Gets the requestDateTime property value. The requestDateTime property + * Gets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -133,42 +133,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeEnumValue("status", this.getStatus()); } /** - * Sets the expirationDateTime property value. The expirationDateTime property + * Sets the expirationDateTime property value. The date and time when the request expires if not accepted or rejected. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @param value Value to set for the expirationDateTime property. */ public void setExpirationDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { this.backingStore.set("expirationDateTime", value); } /** - * Sets the governancePolicyTemplate property value. The governancePolicyTemplate property + * Sets the governancePolicyTemplate property value. The governance policy template associated with this request. * @param value Value to set for the governancePolicyTemplate property. */ public void setGovernancePolicyTemplate(@jakarta.annotation.Nullable final TenantGovernancePolicyTemplate value) { this.backingStore.set("governancePolicyTemplate", value); } /** - * Sets the governedTenantId property value. The governedTenantId property + * Sets the governedTenantId property value. The Microsoft Entra tenant ID of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantId property. */ public void setGovernedTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantId", value); } /** - * Sets the governedTenantName property value. The governedTenantName property + * Sets the governedTenantName property value. The display name of the governed tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governedTenantName property. */ public void setGovernedTenantName(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governedTenantName", value); } /** - * Sets the governingTenantId property value. The governingTenantId property + * Sets the governingTenantId property value. The Microsoft Entra tenant ID of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantId property. */ public void setGoverningTenantId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("governingTenantId", value); } /** - * Sets the governingTenantName property value. The governingTenantName property + * Sets the governingTenantName property value. The display name of the governing tenant. Supports $filter (eq, ne) and $orderBy. * @param value Value to set for the governingTenantName property. */ public void setGoverningTenantName(@jakarta.annotation.Nullable final String value) { @@ -182,7 +182,7 @@ public void setPolicySnapshot(@jakarta.annotation.Nullable final RelationshipPol this.backingStore.set("policySnapshot", value); } /** - * Sets the requestDateTime property value. The requestDateTime property + * Sets the requestDateTime property value. The date and time when the request was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @param value Value to set for the requestDateTime property. */ public void setRequestDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsBase.java b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsBase.java index 227dfa2adde..1934c2d390c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsBase.java +++ b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsBase.java @@ -47,7 +47,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * Gets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -55,7 +55,7 @@ public BigDecimal getInboundMonthlyTotalApplications() { return this.backingStore.get("inboundMonthlyTotalApplications"); } /** - * Gets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * Gets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. * @return a {@link BigDecimal} */ @jakarta.annotation.Nullable @@ -63,7 +63,7 @@ public BigDecimal getOutboundMonthlyTotalApplications() { return this.backingStore.get("outboundMonthlyTotalApplications"); } /** - * Gets the watermarkDateTime property value. The watermarkDateTime property + * Gets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -82,21 +82,21 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("watermarkDateTime", this.getWatermarkDateTime()); } /** - * Sets the inboundMonthlyTotalApplications property value. The inboundMonthlyTotalApplications property + * Sets the inboundMonthlyTotalApplications property value. The total number of inbound multi-tenant applications in the last month. * @param value Value to set for the inboundMonthlyTotalApplications property. */ public void setInboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("inboundMonthlyTotalApplications", value); } /** - * Sets the outboundMonthlyTotalApplications property value. The outboundMonthlyTotalApplications property + * Sets the outboundMonthlyTotalApplications property value. The total number of outbound multi-tenant applications in the last month. * @param value Value to set for the outboundMonthlyTotalApplications property. */ public void setOutboundMonthlyTotalApplications(@jakarta.annotation.Nullable final BigDecimal value) { this.backingStore.set("outboundMonthlyTotalApplications", value); } /** - * Sets the watermarkDateTime property value. The watermarkDateTime property + * Sets the watermarkDateTime property value. The date and time when the metrics snapshot was taken. * @param value Value to set for the watermarkDateTime property. */ public void setWatermarkDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsInitial.java b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsInitial.java index a92ea9e2d05..3071b78a501 100644 --- a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsInitial.java +++ b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsInitial.java @@ -26,7 +26,7 @@ public static MultiTenantApplicationMetricsInitial createFromDiscriminatorValue( return new MultiTenantApplicationMetricsInitial(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("createdDateTime", this.getCreatedDateTime()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. Timestamp that represents when multitenant application metrics are initially aggregated for the related tenant. * @param value Value to set for the createdDateTime property. */ public void setCreatedDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsRecent.java b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsRecent.java index 0a22d2fa7c0..f449140862d 100644 --- a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsRecent.java +++ b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationMetricsRecent.java @@ -36,7 +36,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the updateDateTime property value. The updateDateTime property + * Gets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -53,7 +53,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeOffsetDateTimeValue("updateDateTime", this.getUpdateDateTime()); } /** - * Sets the updateDateTime property value. The updateDateTime property + * Sets the updateDateTime property value. Timestamp that represents when multitenant application metrics are aggregated and have sufficiently changed for the related tenant. * @param value Value to set for the updateDateTime property. */ public void setUpdateDateTime(@jakarta.annotation.Nullable final OffsetDateTime value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvision.java b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvision.java index 2234a8d40df..cfe546f559d 100644 --- a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvision.java +++ b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvision.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the appId property value. The appId property + * Gets the appId property value. The appId (client ID) of the multi-tenant application. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the application. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -86,7 +86,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the objectId property value. The objectId property + * Gets the objectId property value. The object ID of the service principal in the governing tenant. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,7 +102,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -130,7 +130,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvisionSnapshot.java b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvisionSnapshot.java index 126829a2171..a962b769eb4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvisionSnapshot.java +++ b/src/main/java/com/microsoft/graph/generated/models/MultiTenantApplicationsToProvisionSnapshot.java @@ -48,7 +48,7 @@ public Map getAdditionalData() { return value; } /** - * Gets the appId property value. The appId property + * Gets the appId property value. The appId (client ID) of the multi-tenant application. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the application. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -86,7 +86,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the objectId property value. The objectId property + * Gets the objectId property value. The object ID of the service principal in the governing tenant. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -102,7 +102,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the requiredResourceAccesses property value. The requiredResourceAccesses property + * Gets the requiredResourceAccesses property value. The collection of resource accesses (permissions) required by the application. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -130,7 +130,7 @@ public void setAdditionalData(@jakarta.annotation.Nullable final Map value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/PrivilegedAccessRoot.java b/src/main/java/com/microsoft/graph/generated/models/PrivilegedAccessRoot.java index cc872be477b..e56f0d70125 100644 --- a/src/main/java/com/microsoft/graph/generated/models/PrivilegedAccessRoot.java +++ b/src/main/java/com/microsoft/graph/generated/models/PrivilegedAccessRoot.java @@ -24,6 +24,14 @@ public static PrivilegedAccessRoot createFromDiscriminatorValue(@jakarta.annotat Objects.requireNonNull(parseNode); return new PrivilegedAccessRoot(); } + /** + * Gets the customExtensions property value. The customExtensions property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCustomExtensions() { + return this.backingStore.get("customExtensions"); + } /** * The deserialization information for the current model * @return a {@link Map>} @@ -31,6 +39,7 @@ public static PrivilegedAccessRoot createFromDiscriminatorValue(@jakarta.annotat @jakarta.annotation.Nonnull public Map> getFieldDeserializers() { final HashMap> deserializerMap = new HashMap>(super.getFieldDeserializers()); + deserializerMap.put("customExtensions", (n) -> { this.setCustomExtensions(n.getCollectionOfObjectValues(RoleManagementCustomCalloutExtension::createFromDiscriminatorValue)); }); deserializerMap.put("group", (n) -> { this.setGroup(n.getObjectValue(PrivilegedAccessGroup::createFromDiscriminatorValue)); }); return deserializerMap; } @@ -49,8 +58,16 @@ public PrivilegedAccessGroup getGroup() { public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writer) { Objects.requireNonNull(writer); super.serialize(writer); + writer.writeCollectionOfObjectValues("customExtensions", this.getCustomExtensions()); writer.writeObjectValue("group", this.getGroup()); } + /** + * Sets the customExtensions property value. The customExtensions property + * @param value Value to set for the customExtensions property. + */ + public void setCustomExtensions(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("customExtensions", value); + } /** * Sets the group property value. A group that's governed through Privileged Identity Management (PIM). * @param value Value to set for the group property. diff --git a/src/main/java/com/microsoft/graph/generated/models/RelatedTenant.java b/src/main/java/com/microsoft/graph/generated/models/RelatedTenant.java index 77fe1419b8e..a59b8acd0a7 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RelatedTenant.java +++ b/src/main/java/com/microsoft/graph/generated/models/RelatedTenant.java @@ -26,7 +26,7 @@ public static RelatedTenant createFromDiscriminatorValue(@jakarta.annotation.Non return new RelatedTenant(); } /** - * Gets the appB2BSignInActivityMetrics property value. The appB2BSignInActivityMetrics property + * Gets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link B2BSignInActivityMetrics} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public B2BSignInActivityMetrics getAppB2BSignInActivityMetrics() { return this.backingStore.get("appB2BSignInActivityMetrics"); } /** - * Gets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property + * Gets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. * @return a {@link B2bRegistrationMetrics} */ @jakarta.annotation.Nullable @@ -42,7 +42,7 @@ public B2bRegistrationMetrics getB2BRegistrationMetrics() { return this.backingStore.get("b2BRegistrationMetrics"); } /** - * Gets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property + * Gets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. * @return a {@link B2BSignInActivityMetrics} */ @jakarta.annotation.Nullable @@ -50,7 +50,7 @@ public B2BSignInActivityMetrics getB2BSignInActivityMetrics() { return this.backingStore.get("b2BSignInActivityMetrics"); } /** - * Gets the billingMetrics property value. The billingMetrics property + * Gets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. * @return a {@link BillingMetrics} */ @jakarta.annotation.Nullable @@ -58,7 +58,7 @@ public BillingMetrics getBillingMetrics() { return this.backingStore.get("billingMetrics"); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -82,7 +82,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. + * Gets the isMicrosoftInfrastructure property value. Indicates whether the related tenant is a Microsoft infrastructure tenant. Read-only. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -90,7 +90,7 @@ public Boolean getIsMicrosoftInfrastructure() { return this.backingStore.get("isMicrosoftInfrastructure"); } /** - * Gets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property + * Gets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. * @return a {@link MultiTenantApplicationMetrics} */ @jakarta.annotation.Nullable @@ -112,49 +112,49 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("multiTenantApplicationMetrics", this.getMultiTenantApplicationMetrics()); } /** - * Sets the appB2BSignInActivityMetrics property value. The appB2BSignInActivityMetrics property + * Sets the appB2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. * @param value Value to set for the appB2BSignInActivityMetrics property. */ public void setAppB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { this.backingStore.set("appB2BSignInActivityMetrics", value); } /** - * Sets the b2BRegistrationMetrics property value. The b2BRegistrationMetrics property + * Sets the b2BRegistrationMetrics property value. B2B registration metrics for this related tenant. Expanded by default. * @param value Value to set for the b2BRegistrationMetrics property. */ public void setB2BRegistrationMetrics(@jakarta.annotation.Nullable final B2bRegistrationMetrics value) { this.backingStore.set("b2BRegistrationMetrics", value); } /** - * Sets the b2BSignInActivityMetrics property value. The b2BSignInActivityMetrics property + * Sets the b2BSignInActivityMetrics property value. B2B sign-in activity metrics for this related tenant. Expanded by default. * @param value Value to set for the b2BSignInActivityMetrics property. */ public void setB2BSignInActivityMetrics(@jakarta.annotation.Nullable final B2BSignInActivityMetrics value) { this.backingStore.set("b2BSignInActivityMetrics", value); } /** - * Sets the billingMetrics property value. The billingMetrics property + * Sets the billingMetrics property value. Billing metrics for this related tenant. Expanded by default. * @param value Value to set for the billingMetrics property. */ public void setBillingMetrics(@jakarta.annotation.Nullable final BillingMetrics value) { this.backingStore.set("billingMetrics", value); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the related tenant was discovered. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. * @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 isMicrosoftInfrastructure property value. Indicates whether this tenant is a Microsoft infrastructure tenant. + * Sets the isMicrosoftInfrastructure property value. Indicates whether the related tenant is a Microsoft infrastructure tenant. Read-only. * @param value Value to set for the isMicrosoftInfrastructure property. */ public void setIsMicrosoftInfrastructure(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("isMicrosoftInfrastructure", value); } /** - * Sets the multiTenantApplicationMetrics property value. The multiTenantApplicationMetrics property + * Sets the multiTenantApplicationMetrics property value. Multi-tenant application usage metrics for this related tenant. Expanded by default. * @param value Value to set for the multiTenantApplicationMetrics property. */ public void setMultiTenantApplicationMetrics(@jakarta.annotation.Nullable final MultiTenantApplicationMetrics value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/RelatedTenantsRefreshRequest.java b/src/main/java/com/microsoft/graph/generated/models/RelatedTenantsRefreshRequest.java index 4320e5caf08..72172d38ef8 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RelatedTenantsRefreshRequest.java +++ b/src/main/java/com/microsoft/graph/generated/models/RelatedTenantsRefreshRequest.java @@ -35,7 +35,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the location property value. The location property + * Gets the location property value. The location URL where the status of the refresh request can be retrieved. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -52,7 +52,7 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("location", this.getLocation()); } /** - * Sets the location property value. The location property + * Sets the location property value. The location URL where the status of the refresh request can be retrieved. * @param value Value to set for the location property. */ public void setLocation(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/RelationshipPolicy.java b/src/main/java/com/microsoft/graph/generated/models/RelationshipPolicy.java index d7af7f62ee8..3ecb0f72efe 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RelationshipPolicy.java +++ b/src/main/java/com/microsoft/graph/generated/models/RelationshipPolicy.java @@ -56,7 +56,7 @@ public BackingStore getBackingStore() { return this.backingStore; } /** - * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * Gets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -79,7 +79,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * Gets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -87,7 +87,7 @@ public Boolean getGovernedTenantCanTerminate() { return this.backingStore.get("governedTenantCanTerminate"); } /** - * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * Gets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -103,7 +103,7 @@ public String getOdataType() { return this.backingStore.get("odataType"); } /** - * Gets the policyId property value. The policyId property + * Gets the policyId property value. The identifier of the source policy template from which this snapshot was created. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -111,7 +111,7 @@ public String getPolicyId() { return this.backingStore.get("policyId"); } /** - * Gets the version property value. The version property + * Gets the version property value. The version of the source policy template from which this snapshot was created. * @return a {@link Integer} */ @jakarta.annotation.Nullable @@ -147,21 +147,21 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * Sets the delegatedAdministrationRoleAssignments property value. A snapshot of the delegated administration role assignments configured in this policy. * @param value Value to set for the delegatedAdministrationRoleAssignments property. */ public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("delegatedAdministrationRoleAssignments", value); } /** - * Sets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * Sets the governedTenantCanTerminate property value. Indicates whether the governed tenant can terminate the relationship. * @param value Value to set for the governedTenantCanTerminate property. */ public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("governedTenantCanTerminate", value); } /** - * Sets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * Sets the multiTenantApplicationsToProvision property value. A snapshot of the multi-tenant applications to be provisioned in the governed tenant. * @param value Value to set for the multiTenantApplicationsToProvision property. */ public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { @@ -175,14 +175,14 @@ public void setOdataType(@jakarta.annotation.Nullable final String value) { this.backingStore.set("odataType", value); } /** - * Sets the policyId property value. The policyId property + * Sets the policyId property value. The identifier of the source policy template from which this snapshot was created. * @param value Value to set for the policyId property. */ public void setPolicyId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("policyId", value); } /** - * Sets the version property value. The version property + * Sets the version property value. The version of the source policy template from which this snapshot was created. * @param value Value to set for the version property. */ public void setVersion(@jakarta.annotation.Nullable final Integer value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtension.java b/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtension.java new file mode 100644 index 00000000000..1a4f93e8a7a --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtension.java @@ -0,0 +1,96 @@ +package com.microsoft.graph.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 RoleManagementCustomCalloutExtension extends CustomCalloutExtension implements Parsable { + /** + * Instantiates a new {@link RoleManagementCustomCalloutExtension} and sets the default values. + */ + public RoleManagementCustomCalloutExtension() { + super(); + this.setOdataType("#microsoft.graph.roleManagementCustomCalloutExtension"); + } + /** + * 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 RoleManagementCustomCalloutExtension} + */ + @jakarta.annotation.Nonnull + public static RoleManagementCustomCalloutExtension createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RoleManagementCustomCalloutExtension(); + } + /** + * Gets the customAttributes property value. The customAttributes property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCustomAttributes() { + return this.backingStore.get("customAttributes"); + } + /** + * 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("customAttributes", (n) -> { this.setCustomAttributes(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("resourceType", (n) -> { this.setResourceType(n.getEnumValue(CustomExtensionResourceType::forValue)); }); + deserializerMap.put("type", (n) -> { this.setType(n.getEnumValue(CustomCalloutExtensionType::forValue)); }); + return deserializerMap; + } + /** + * Gets the resourceType property value. The resourceType property + * @return a {@link CustomExtensionResourceType} + */ + @jakarta.annotation.Nullable + public CustomExtensionResourceType getResourceType() { + return this.backingStore.get("resourceType"); + } + /** + * Gets the type property value. The type property + * @return a {@link CustomCalloutExtensionType} + */ + @jakarta.annotation.Nullable + public CustomCalloutExtensionType getType() { + return this.backingStore.get("type"); + } + /** + * 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.writeCollectionOfPrimitiveValues("customAttributes", this.getCustomAttributes()); + writer.writeEnumValue("resourceType", this.getResourceType()); + writer.writeEnumValue("type", this.getType()); + } + /** + * Sets the customAttributes property value. The customAttributes property + * @param value Value to set for the customAttributes property. + */ + public void setCustomAttributes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("customAttributes", value); + } + /** + * Sets the resourceType property value. The resourceType property + * @param value Value to set for the resourceType property. + */ + public void setResourceType(@jakarta.annotation.Nullable final CustomExtensionResourceType value) { + this.backingStore.set("resourceType", value); + } + /** + * Sets the type property value. The type property + * @param value Value to set for the type property. + */ + public void setType(@jakarta.annotation.Nullable final CustomCalloutExtensionType value) { + this.backingStore.set("type", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtensionCollectionResponse.java b/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtensionCollectionResponse.java new file mode 100644 index 00000000000..4b183fde2b5 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/RoleManagementCustomCalloutExtensionCollectionResponse.java @@ -0,0 +1,61 @@ +package com.microsoft.graph.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 RoleManagementCustomCalloutExtensionCollectionResponse extends BaseCollectionPaginationCountResponse implements Parsable { + /** + * Instantiates a new {@link RoleManagementCustomCalloutExtensionCollectionResponse} and sets the default values. + */ + public RoleManagementCustomCalloutExtensionCollectionResponse() { + 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 RoleManagementCustomCalloutExtensionCollectionResponse} + */ + @jakarta.annotation.Nonnull + public static RoleManagementCustomCalloutExtensionCollectionResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new RoleManagementCustomCalloutExtensionCollectionResponse(); + } + /** + * 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(RoleManagementCustomCalloutExtension::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/generated/models/RoleTemplate.java b/src/main/java/com/microsoft/graph/generated/models/RoleTemplate.java index 182eab825b9..c726eb6a5a9 100644 --- a/src/main/java/com/microsoft/graph/generated/models/RoleTemplate.java +++ b/src/main/java/com/microsoft/graph/generated/models/RoleTemplate.java @@ -68,7 +68,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the id property value. The id property + * Gets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -76,7 +76,7 @@ public String getId() { return this.backingStore.get("id"); } /** - * Gets the name property value. The name property + * Gets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). * @return a {@link String} */ @jakarta.annotation.Nullable @@ -118,14 +118,14 @@ public void setBackingStore(@jakarta.annotation.Nonnull final BackingStore value this.backingStore = value; } /** - * Sets the id property value. The id property + * Sets the id property value. The template ID of the Microsoft Entra role (e.g., 62e90394-69f5-4237-9190-012177145e10 for Global Administrator). * @param value Value to set for the id property. */ public void setId(@jakarta.annotation.Nullable final String value) { this.backingStore.set("id", value); } /** - * Sets the name property value. The name property + * Sets the name property value. The display name of the role (e.g., 'Global Administrator', 'Helpdesk Administrator'). * @param value Value to set for the name property. */ public void setName(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java b/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java index 6d7028722f9..be6d9f40501 100644 --- a/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java +++ b/src/main/java/com/microsoft/graph/generated/models/ServicePrincipal.java @@ -131,7 +131,7 @@ public java.util.List getAppRoleAssignments() { return this.backingStore.get("appRoleAssignments"); } /** - * Gets the appRoles property value. The roles exposed by the application that's linked to this service principal. For more information, see the appRoles property definition on the application entity. Not nullable. + * Gets the appRoles property value. The roles exposed by the application that's linked to this service principal. For more information, see the appRoles property definition on the application entity. Not nullable. App roles and exposed delegated permission scopes (oauth2PermissionScopes) share a default limit of 700 permission definitions per service principal, including definitions inherited from the application and definitions added directly to the service principal. Enabled and disabled definitions both count. This limit counts definitions, not app role assignments. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -370,7 +370,7 @@ public java.util.List getOauth2PermissionGrants() { return this.backingStore.get("oauth2PermissionGrants"); } /** - * Gets the oauth2PermissionScopes property value. The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. + * Gets the oauth2PermissionScopes property value. The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. These scopes and appRoles share a default limit of 700 permission definitions per service principal. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -676,7 +676,7 @@ public void setAppRoleAssignments(@jakarta.annotation.Nullable final java.util.L this.backingStore.set("appRoleAssignments", value); } /** - * Sets the appRoles property value. The roles exposed by the application that's linked to this service principal. For more information, see the appRoles property definition on the application entity. Not nullable. + * Sets the appRoles property value. The roles exposed by the application that's linked to this service principal. For more information, see the appRoles property definition on the application entity. Not nullable. App roles and exposed delegated permission scopes (oauth2PermissionScopes) share a default limit of 700 permission definitions per service principal, including definitions inherited from the application and definitions added directly to the service principal. Enabled and disabled definitions both count. This limit counts definitions, not app role assignments. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @param value Value to set for the appRoles property. */ public void setAppRoles(@jakarta.annotation.Nullable final java.util.List value) { @@ -830,7 +830,7 @@ public void setOauth2PermissionGrants(@jakarta.annotation.Nullable final java.ut this.backingStore.set("oauth2PermissionGrants", value); } /** - * Sets the oauth2PermissionScopes property value. The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. + * Sets the oauth2PermissionScopes property value. The delegated permissions exposed by the application. For more information, see the oauth2PermissionScopes property on the application entity's api property. Not nullable. These scopes and appRoles share a default limit of 700 permission definitions per service principal. Enabled and disabled definitions both count. For counting rules, behavior for existing objects above the limit, and design guidance, see App role limits. * @param value Value to set for the oauth2PermissionScopes property. */ public void setOauth2PermissionScopes(@jakarta.annotation.Nullable final java.util.List value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/Subscription.java b/src/main/java/com/microsoft/graph/generated/models/Subscription.java index a3f5b65bf47..5ee22eb1d7f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/Subscription.java +++ b/src/main/java/com/microsoft/graph/generated/models/Subscription.java @@ -102,6 +102,9 @@ public Map> getFieldDeserializers deserializerMap.put("notificationUrl", (n) -> { this.setNotificationUrl(n.getStringValue()); }); deserializerMap.put("notificationUrlAppId", (n) -> { this.setNotificationUrlAppId(n.getStringValue()); }); deserializerMap.put("resource", (n) -> { this.setResource(n.getStringValue()); }); + deserializerMap.put("vapidPublicKey", (n) -> { this.setVapidPublicKey(n.getStringValue()); }); + deserializerMap.put("webPushEncryptionP256dhPublicKey", (n) -> { this.setWebPushEncryptionP256dhPublicKey(n.getStringValue()); }); + deserializerMap.put("webPushEncryptionSecret", (n) -> { this.setWebPushEncryptionSecret(n.getStringValue()); }); return deserializerMap; } /** @@ -160,6 +163,30 @@ public String getNotificationUrlAppId() { public String getResource() { return this.backingStore.get("resource"); } + /** + * Gets the vapidPublicKey property value. Optional. The application server's VAPID public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained by calling the getVapidPublicKey function on the subscription collection. The browser passes this value to PushManager.subscribe({ applicationServerKey: vapidPublicKey }) to bind the push subscription to this server identity. Required when notificationUrl targets a known Web Push service origin (for example, *.push.apple.com, fcm.googleapis.com, updates.push.services.mozilla.com); rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8292. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getVapidPublicKey() { + return this.backingStore.get("vapidPublicKey"); + } + /** + * Gets the webPushEncryptionP256dhPublicKey property value. Optional. The subscriber's ECDH public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('p256dh'). Used as the peer public key during ECDH key agreement to derive the per-message content encryption key for RFC 8291 payload encryption. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebPushEncryptionP256dhPublicKey() { + return this.backingStore.get("webPushEncryptionP256dhPublicKey"); + } + /** + * Gets the webPushEncryptionSecret property value. Optional. The subscriber's auth secret, base64url-encoded (16 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('auth'). Used as the HMAC-SHA-256 salt for the HKDF combine step that derives key material for RFC 8291 payload encryption. Write-only: this value is never returned in GET responses (returned as null). Treat as a secret. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getWebPushEncryptionSecret() { + return this.backingStore.get("webPushEncryptionSecret"); + } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model @@ -181,6 +208,9 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("notificationUrl", this.getNotificationUrl()); writer.writeStringValue("notificationUrlAppId", this.getNotificationUrlAppId()); writer.writeStringValue("resource", this.getResource()); + writer.writeStringValue("vapidPublicKey", this.getVapidPublicKey()); + writer.writeStringValue("webPushEncryptionP256dhPublicKey", this.getWebPushEncryptionP256dhPublicKey()); + writer.writeStringValue("webPushEncryptionSecret", this.getWebPushEncryptionSecret()); } /** * Sets the applicationId property value. Optional. Identifier of the application used to create the subscription. Read-only. @@ -280,4 +310,25 @@ public void setNotificationUrlAppId(@jakarta.annotation.Nullable final String va public void setResource(@jakarta.annotation.Nullable final String value) { this.backingStore.set("resource", value); } + /** + * Sets the vapidPublicKey property value. Optional. The application server's VAPID public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained by calling the getVapidPublicKey function on the subscription collection. The browser passes this value to PushManager.subscribe({ applicationServerKey: vapidPublicKey }) to bind the push subscription to this server identity. Required when notificationUrl targets a known Web Push service origin (for example, *.push.apple.com, fcm.googleapis.com, updates.push.services.mozilla.com); rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8292. + * @param value Value to set for the vapidPublicKey property. + */ + public void setVapidPublicKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("vapidPublicKey", value); + } + /** + * Sets the webPushEncryptionP256dhPublicKey property value. Optional. The subscriber's ECDH public key, base64url-encoded (P-256 uncompressed point, 65 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('p256dh'). Used as the peer public key during ECDH key agreement to derive the per-message content encryption key for RFC 8291 payload encryption. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. + * @param value Value to set for the webPushEncryptionP256dhPublicKey property. + */ + public void setWebPushEncryptionP256dhPublicKey(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webPushEncryptionP256dhPublicKey", value); + } + /** + * Sets the webPushEncryptionSecret property value. Optional. The subscriber's auth secret, base64url-encoded (16 bytes pre-encoding). Obtained from the browser via PushSubscription.getKey('auth'). Used as the HMAC-SHA-256 salt for the HKDF combine step that derives key material for RFC 8291 payload encryption. Write-only: this value is never returned in GET responses (returned as null). Treat as a secret. Required when notificationUrl targets a known Web Push service origin; rejected with 400 Bad Request if supplied on a standard webhook subscription. For more information, see RFC 8291 Section 3. + * @param value Value to set for the webPushEncryptionSecret property. + */ + public void setWebPushEncryptionSecret(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("webPushEncryptionSecret", value); + } } diff --git a/src/main/java/com/microsoft/graph/generated/models/TenantGovernance.java b/src/main/java/com/microsoft/graph/generated/models/TenantGovernance.java index 89fce8e6c41..1010c469d42 100644 --- a/src/main/java/com/microsoft/graph/generated/models/TenantGovernance.java +++ b/src/main/java/com/microsoft/graph/generated/models/TenantGovernance.java @@ -40,7 +40,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governanceInvitations property value. The governanceInvitations property + * Gets the governanceInvitations property value. Collection of governance invitations associated with the tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -48,7 +48,7 @@ public java.util.List getGovernanceInvitations() { return this.backingStore.get("governanceInvitations"); } /** - * Gets the governancePolicyTemplates property value. The governancePolicyTemplates property + * Gets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -56,7 +56,7 @@ public java.util.List getGovernancePolicyTemplat return this.backingStore.get("governancePolicyTemplates"); } /** - * Gets the governanceRelationships property value. The governanceRelationships property + * Gets the governanceRelationships property value. Collection of governance relationships associated with the tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -64,7 +64,7 @@ public java.util.List getGovernanceRelationships() { return this.backingStore.get("governanceRelationships"); } /** - * Gets the governanceRequests property value. The governanceRequests property + * Gets the governanceRequests property value. Collection of governance requests associated with the tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -72,7 +72,7 @@ public java.util.List getGovernanceRequests() { return this.backingStore.get("governanceRequests"); } /** - * Gets the relatedTenants property value. The relatedTenants property + * Gets the relatedTenants property value. Collection of related tenants associated with the tenant. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -80,7 +80,7 @@ public java.util.List getRelatedTenants() { return this.backingStore.get("relatedTenants"); } /** - * Gets the settings property value. The settings property + * Gets the settings property value. Settings for the tenant governance container. * @return a {@link TenantGovernanceSetting} */ @jakarta.annotation.Nullable @@ -102,42 +102,42 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeObjectValue("settings", this.getSettings()); } /** - * Sets the governanceInvitations property value. The governanceInvitations property + * Sets the governanceInvitations property value. Collection of governance invitations associated with the tenant. * @param value Value to set for the governanceInvitations property. */ public void setGovernanceInvitations(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceInvitations", value); } /** - * Sets the governancePolicyTemplates property value. The governancePolicyTemplates property + * Sets the governancePolicyTemplates property value. Collection of governance policy templates associated with the tenant. * @param value Value to set for the governancePolicyTemplates property. */ public void setGovernancePolicyTemplates(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governancePolicyTemplates", value); } /** - * Sets the governanceRelationships property value. The governanceRelationships property + * Sets the governanceRelationships property value. Collection of governance relationships associated with the tenant. * @param value Value to set for the governanceRelationships property. */ public void setGovernanceRelationships(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceRelationships", value); } /** - * Sets the governanceRequests property value. The governanceRequests property + * Sets the governanceRequests property value. Collection of governance requests associated with the tenant. * @param value Value to set for the governanceRequests property. */ public void setGovernanceRequests(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("governanceRequests", value); } /** - * Sets the relatedTenants property value. The relatedTenants property + * Sets the relatedTenants property value. Collection of related tenants associated with the tenant. * @param value Value to set for the relatedTenants property. */ public void setRelatedTenants(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("relatedTenants", value); } /** - * Sets the settings property value. The settings property + * Sets the settings property value. Settings for the tenant governance container. * @param value Value to set for the settings property. */ public void setSettings(@jakarta.annotation.Nullable final TenantGovernanceSetting value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/TenantGovernancePolicyTemplate.java b/src/main/java/com/microsoft/graph/generated/models/TenantGovernancePolicyTemplate.java index 896fd3a94bb..d55ef755f5f 100644 --- a/src/main/java/com/microsoft/graph/generated/models/TenantGovernancePolicyTemplate.java +++ b/src/main/java/com/microsoft/graph/generated/models/TenantGovernancePolicyTemplate.java @@ -26,7 +26,7 @@ public static TenantGovernancePolicyTemplate createFromDiscriminatorValue(@jakar return new TenantGovernancePolicyTemplate(); } /** - * Gets the createdDateTime property value. The createdDateTime property + * Gets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -34,7 +34,7 @@ public OffsetDateTime getCreatedDateTime() { return this.backingStore.get("createdDateTime"); } /** - * Gets the delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * Gets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -42,7 +42,7 @@ public java.util.List getDelegatedAdminis return this.backingStore.get("delegatedAdministrationRoleAssignments"); } /** - * Gets the description property value. The description property + * Gets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -50,7 +50,7 @@ public String getDescription() { return this.backingStore.get("description"); } /** - * Gets the displayName property value. The displayName property + * Gets the displayName property value. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -75,7 +75,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the governedTenantCanTerminate property value. The governedTenantCanTerminate property + * Gets the governedTenantCanTerminate property value. Not implemented. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -83,7 +83,7 @@ public Boolean getGovernedTenantCanTerminate() { return this.backingStore.get("governedTenantCanTerminate"); } /** - * Gets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Gets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link OffsetDateTime} */ @jakarta.annotation.Nullable @@ -91,7 +91,7 @@ public OffsetDateTime getLastModifiedDateTime() { return this.backingStore.get("lastModifiedDateTime"); } /** - * Gets the multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * Gets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. * @return a {@link java.util.List} */ @jakarta.annotation.Nullable @@ -99,7 +99,7 @@ public java.util.List getMultiTenantApplicat return this.backingStore.get("multiTenantApplicationsToProvision"); } /** - * Gets the version property value. The version property + * Gets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @return a {@link String} */ @jakarta.annotation.Nullable @@ -123,56 +123,56 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeStringValue("version", this.getVersion()); } /** - * Sets the createdDateTime property value. The createdDateTime property + * Sets the createdDateTime property value. The date and time when the template was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @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 delegatedAdministrationRoleAssignments property value. The delegatedAdministrationRoleAssignments property + * Sets the delegatedAdministrationRoleAssignments property value. A collection of delegated administration role assignments to be applied in the governed tenant when the governance relationship is established. * @param value Value to set for the delegatedAdministrationRoleAssignments property. */ public void setDelegatedAdministrationRoleAssignments(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("delegatedAdministrationRoleAssignments", value); } /** - * Sets the description property value. The description property + * Sets the description property value. A description of the policy template. Supports $filter (eq, ne) and $orderBy. * @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. The display name of the policy template. Supports $filter (eq, ne) and $orderBy. * @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 governedTenantCanTerminate property value. The governedTenantCanTerminate property + * Sets the governedTenantCanTerminate property value. Not implemented. * @param value Value to set for the governedTenantCanTerminate property. */ public void setGovernedTenantCanTerminate(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("governedTenantCanTerminate", value); } /** - * Sets the lastModifiedDateTime property value. The lastModifiedDateTime property + * Sets the lastModifiedDateTime property value. The date and time when the template was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @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 multiTenantApplicationsToProvision property value. The multiTenantApplicationsToProvision property + * Sets the multiTenantApplicationsToProvision property value. A collection of multi-tenant applications to be provisioned in the governed tenant when the governance relationship is established. * @param value Value to set for the multiTenantApplicationsToProvision property. */ public void setMultiTenantApplicationsToProvision(@jakarta.annotation.Nullable final java.util.List value) { this.backingStore.set("multiTenantApplicationsToProvision", value); } /** - * Sets the version property value. The version property + * Sets the version property value. The version of the policy template. Version count increased by 1 when updated. Supports $filter (lt, le, gt, ge, eq, ne) and $orderBy. * @param value Value to set for the version property. */ public void setVersion(@jakarta.annotation.Nullable final String value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/TenantGovernanceSetting.java b/src/main/java/com/microsoft/graph/generated/models/TenantGovernanceSetting.java index 132cd476c50..0ffc1a74c8c 100644 --- a/src/main/java/com/microsoft/graph/generated/models/TenantGovernanceSetting.java +++ b/src/main/java/com/microsoft/graph/generated/models/TenantGovernanceSetting.java @@ -25,7 +25,7 @@ public static TenantGovernanceSetting createFromDiscriminatorValue(@jakarta.anno return new TenantGovernanceSetting(); } /** - * Gets the canReceiveInvitations property value. The canReceiveInvitations property + * Gets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -44,7 +44,7 @@ public Map> getFieldDeserializers return deserializerMap; } /** - * Gets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property + * Gets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. * @return a {@link Boolean} */ @jakarta.annotation.Nullable @@ -62,14 +62,14 @@ public void serialize(@jakarta.annotation.Nonnull final SerializationWriter writ writer.writeBooleanValue("isRelatedTenantsEnabled", this.getIsRelatedTenantsEnabled()); } /** - * Sets the canReceiveInvitations property value. The canReceiveInvitations property + * Sets the canReceiveInvitations property value. Indicates whether the tenant can receive governance invitations. When set to false, the tenant cannot receive new governance invitations. When set to true, other tenants can send your tenant invitations by providing your tenant id or domain name. Default value is false. * @param value Value to set for the canReceiveInvitations property. */ public void setCanReceiveInvitations(@jakarta.annotation.Nullable final Boolean value) { this.backingStore.set("canReceiveInvitations", value); } /** - * Sets the isRelatedTenantsEnabled property value. The isRelatedTenantsEnabled property + * Sets the isRelatedTenantsEnabled property value. Indicates whether the related tenants feature is enabled for tenant discovery. When set to false, related tenant APIs don't work. This property can be enabled by calling the enableRelatedTenants action. Default value is false. * @param value Value to set for the isRelatedTenantsEnabled property. */ public void setIsRelatedTenantsEnabled(@jakarta.annotation.Nullable final Boolean value) { diff --git a/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyCustomExtensionRule.java b/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyCustomExtensionRule.java new file mode 100644 index 00000000000..a56e510a550 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyCustomExtensionRule.java @@ -0,0 +1,113 @@ +package com.microsoft.graph.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 UnifiedRoleManagementPolicyCustomExtensionRule extends UnifiedRoleManagementPolicyRule implements Parsable { + /** + * Instantiates a new {@link UnifiedRoleManagementPolicyCustomExtensionRule} and sets the default values. + */ + public UnifiedRoleManagementPolicyCustomExtensionRule() { + super(); + this.setOdataType("#microsoft.graph.unifiedRoleManagementPolicyCustomExtensionRule"); + } + /** + * 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 UnifiedRoleManagementPolicyCustomExtensionRule} + */ + @jakarta.annotation.Nonnull + public static UnifiedRoleManagementPolicyCustomExtensionRule createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UnifiedRoleManagementPolicyCustomExtensionRule(); + } + /** + * Gets the customAttributes property value. The customAttributes property + * @return a {@link java.util.List} + */ + @jakarta.annotation.Nullable + public java.util.List getCustomAttributes() { + return this.backingStore.get("customAttributes"); + } + /** + * Gets the customExtensionId property value. The customExtensionId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getCustomExtensionId() { + return this.backingStore.get("customExtensionId"); + } + /** + * 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("customAttributes", (n) -> { this.setCustomAttributes(n.getCollectionOfPrimitiveValues(String.class)); }); + deserializerMap.put("customExtensionId", (n) -> { this.setCustomExtensionId(n.getStringValue()); }); + deserializerMap.put("displayName", (n) -> { this.setDisplayName(n.getStringValue()); }); + deserializerMap.put("isEnabled", (n) -> { this.setIsEnabled(n.getBooleanValue()); }); + return deserializerMap; + } + /** + * Gets the isEnabled property value. The isEnabled property + * @return a {@link Boolean} + */ + @jakarta.annotation.Nullable + public Boolean getIsEnabled() { + return this.backingStore.get("isEnabled"); + } + /** + * 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.writeCollectionOfPrimitiveValues("customAttributes", this.getCustomAttributes()); + writer.writeStringValue("customExtensionId", this.getCustomExtensionId()); + writer.writeStringValue("displayName", this.getDisplayName()); + writer.writeBooleanValue("isEnabled", this.getIsEnabled()); + } + /** + * Sets the customAttributes property value. The customAttributes property + * @param value Value to set for the customAttributes property. + */ + public void setCustomAttributes(@jakarta.annotation.Nullable final java.util.List value) { + this.backingStore.set("customAttributes", value); + } + /** + * Sets the customExtensionId property value. The customExtensionId property + * @param value Value to set for the customExtensionId property. + */ + public void setCustomExtensionId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("customExtensionId", 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); + } + /** + * Sets the isEnabled property value. The isEnabled property + * @param value Value to set for the isEnabled property. + */ + public void setIsEnabled(@jakarta.annotation.Nullable final Boolean value) { + this.backingStore.set("isEnabled", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyRule.java b/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyRule.java index d8c9fe93470..497ca5ecde4 100644 --- a/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyRule.java +++ b/src/main/java/com/microsoft/graph/generated/models/UnifiedRoleManagementPolicyRule.java @@ -28,6 +28,7 @@ public static UnifiedRoleManagementPolicyRule createFromDiscriminatorValue(@jaka switch (mappingValue) { case "#microsoft.graph.unifiedRoleManagementPolicyApprovalRule": return new UnifiedRoleManagementPolicyApprovalRule(); case "#microsoft.graph.unifiedRoleManagementPolicyAuthenticationContextRule": return new UnifiedRoleManagementPolicyAuthenticationContextRule(); + case "#microsoft.graph.unifiedRoleManagementPolicyCustomExtensionRule": return new UnifiedRoleManagementPolicyCustomExtensionRule(); case "#microsoft.graph.unifiedRoleManagementPolicyEnablementRule": return new UnifiedRoleManagementPolicyEnablementRule(); case "#microsoft.graph.unifiedRoleManagementPolicyExpirationRule": return new UnifiedRoleManagementPolicyExpirationRule(); case "#microsoft.graph.unifiedRoleManagementPolicyNotificationRule": return new UnifiedRoleManagementPolicyNotificationRule(); diff --git a/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java index 024ca6a1661..89c4b56dafd 100644 --- a/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.principal.PrincipalRequestBuilder; import com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.roledefinition.RoleDefinitionRequestBuilder; import com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder; +import com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -83,6 +84,14 @@ public RoleDefinitionRequestBuilder roleDefinition() { public TargetScheduleRequestBuilder targetSchedule() { return new TargetScheduleRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the updateRequest method. + * @return a {@link UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder updateRequest() { + return new UpdateRequestRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link UnifiedRoleAssignmentScheduleRequestItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java new file mode 100644 index 00000000000..0f4a0319543 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java @@ -0,0 +1,160 @@ +package com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.EvaluationOutcome; +import com.microsoft.graph.models.RequestSchedule; +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 UpdateRequestPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UpdateRequestPostRequestBody} and sets the default values. + */ + public UpdateRequestPostRequestBody() { + 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 UpdateRequestPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static UpdateRequestPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UpdateRequestPostRequestBody(); + } + /** + * 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 evaluationId property value. The evaluationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEvaluationId() { + return this.backingStore.get("evaluationId"); + } + /** + * Gets the evaluationOutcome property value. The evaluationOutcome property + * @return a {@link EvaluationOutcome} + */ + @jakarta.annotation.Nullable + public EvaluationOutcome getEvaluationOutcome() { + return this.backingStore.get("evaluationOutcome"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("evaluationId", (n) -> { this.setEvaluationId(n.getStringValue()); }); + deserializerMap.put("evaluationOutcome", (n) -> { this.setEvaluationOutcome(n.getEnumValue(EvaluationOutcome::forValue)); }); + deserializerMap.put("reason", (n) -> { this.setReason(n.getStringValue()); }); + deserializerMap.put("scheduleInfo", (n) -> { this.setScheduleInfo(n.getObjectValue(RequestSchedule::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the reason property value. The reason property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getReason() { + return this.backingStore.get("reason"); + } + /** + * Gets the scheduleInfo property value. The scheduleInfo property + * @return a {@link RequestSchedule} + */ + @jakarta.annotation.Nullable + public RequestSchedule getScheduleInfo() { + return this.backingStore.get("scheduleInfo"); + } + /** + * 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("evaluationId", this.getEvaluationId()); + writer.writeEnumValue("evaluationOutcome", this.getEvaluationOutcome()); + writer.writeStringValue("reason", this.getReason()); + writer.writeObjectValue("scheduleInfo", this.getScheduleInfo()); + 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 evaluationId property value. The evaluationId property + * @param value Value to set for the evaluationId property. + */ + public void setEvaluationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("evaluationId", value); + } + /** + * Sets the evaluationOutcome property value. The evaluationOutcome property + * @param value Value to set for the evaluationOutcome property. + */ + public void setEvaluationOutcome(@jakarta.annotation.Nullable final EvaluationOutcome value) { + this.backingStore.set("evaluationOutcome", value); + } + /** + * Sets the reason property value. The reason property + * @param value Value to set for the reason property. + */ + public void setReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("reason", value); + } + /** + * Sets the scheduleInfo property value. The scheduleInfo property + * @param value Value to set for the scheduleInfo property. + */ + public void setScheduleInfo(@jakarta.annotation.Nullable final RequestSchedule value) { + this.backingStore.set("scheduleInfo", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java new file mode 100644 index 00000000000..a0b1fee965e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/directory/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.rolemanagement.directory.roleassignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.UnifiedRoleAssignmentScheduleRequest; +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 updateRequest method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UpdateRequestRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", pathParameters); + } + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} 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 UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/directory/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", rawUrl); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link UnifiedRoleAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UnifiedRoleAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action updateRequest + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UnifiedRoleAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UnifiedRoleAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody 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, UnifiedRoleAssignmentScheduleRequest::createFromDiscriminatorValue); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action updateRequest + * @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 UpdateRequestPostRequestBody 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 UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UpdateRequestRequestBuilder(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/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java index a964dd71804..b8ac993cae2 100644 --- a/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/UnifiedRoleAssignmentScheduleRequestItemRequestBuilder.java @@ -9,6 +9,7 @@ import com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.principal.PrincipalRequestBuilder; import com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.roledefinition.RoleDefinitionRequestBuilder; import com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.targetschedule.TargetScheduleRequestBuilder; +import com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest.UpdateRequestRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; import com.microsoft.kiota.HttpMethod; @@ -83,6 +84,14 @@ public RoleDefinitionRequestBuilder roleDefinition() { public TargetScheduleRequestBuilder targetSchedule() { return new TargetScheduleRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the updateRequest method. + * @return a {@link UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder updateRequest() { + return new UpdateRequestRequestBuilder(pathParameters, requestAdapter); + } /** * Instantiates a new {@link UnifiedRoleAssignmentScheduleRequestItemRequestBuilder} and sets the default values. * @param pathParameters Path parameters for the request diff --git a/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java new file mode 100644 index 00000000000..c7f81d04707 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestPostRequestBody.java @@ -0,0 +1,160 @@ +package com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.EvaluationOutcome; +import com.microsoft.graph.models.RequestSchedule; +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 UpdateRequestPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link UpdateRequestPostRequestBody} and sets the default values. + */ + public UpdateRequestPostRequestBody() { + 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 UpdateRequestPostRequestBody} + */ + @jakarta.annotation.Nonnull + public static UpdateRequestPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new UpdateRequestPostRequestBody(); + } + /** + * 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 evaluationId property value. The evaluationId property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getEvaluationId() { + return this.backingStore.get("evaluationId"); + } + /** + * Gets the evaluationOutcome property value. The evaluationOutcome property + * @return a {@link EvaluationOutcome} + */ + @jakarta.annotation.Nullable + public EvaluationOutcome getEvaluationOutcome() { + return this.backingStore.get("evaluationOutcome"); + } + /** + * The deserialization information for the current model + * @return a {@link Map>} + */ + @jakarta.annotation.Nonnull + public Map> getFieldDeserializers() { + final HashMap> deserializerMap = new HashMap>(4); + deserializerMap.put("evaluationId", (n) -> { this.setEvaluationId(n.getStringValue()); }); + deserializerMap.put("evaluationOutcome", (n) -> { this.setEvaluationOutcome(n.getEnumValue(EvaluationOutcome::forValue)); }); + deserializerMap.put("reason", (n) -> { this.setReason(n.getStringValue()); }); + deserializerMap.put("scheduleInfo", (n) -> { this.setScheduleInfo(n.getObjectValue(RequestSchedule::createFromDiscriminatorValue)); }); + return deserializerMap; + } + /** + * Gets the reason property value. The reason property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String getReason() { + return this.backingStore.get("reason"); + } + /** + * Gets the scheduleInfo property value. The scheduleInfo property + * @return a {@link RequestSchedule} + */ + @jakarta.annotation.Nullable + public RequestSchedule getScheduleInfo() { + return this.backingStore.get("scheduleInfo"); + } + /** + * 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("evaluationId", this.getEvaluationId()); + writer.writeEnumValue("evaluationOutcome", this.getEvaluationOutcome()); + writer.writeStringValue("reason", this.getReason()); + writer.writeObjectValue("scheduleInfo", this.getScheduleInfo()); + 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 evaluationId property value. The evaluationId property + * @param value Value to set for the evaluationId property. + */ + public void setEvaluationId(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("evaluationId", value); + } + /** + * Sets the evaluationOutcome property value. The evaluationOutcome property + * @param value Value to set for the evaluationOutcome property. + */ + public void setEvaluationOutcome(@jakarta.annotation.Nullable final EvaluationOutcome value) { + this.backingStore.set("evaluationOutcome", value); + } + /** + * Sets the reason property value. The reason property + * @param value Value to set for the reason property. + */ + public void setReason(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("reason", value); + } + /** + * Sets the scheduleInfo property value. The scheduleInfo property + * @param value Value to set for the scheduleInfo property. + */ + public void setScheduleInfo(@jakarta.annotation.Nullable final RequestSchedule value) { + this.backingStore.set("scheduleInfo", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java new file mode 100644 index 00000000000..e1d04072024 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/rolemanagement/entitlementmanagement/roleassignmentschedulerequests/item/updaterequest/UpdateRequestRequestBuilder.java @@ -0,0 +1,103 @@ +package com.microsoft.graph.rolemanagement.entitlementmanagement.roleassignmentschedulerequests.item.updaterequest; + +import com.microsoft.graph.models.odataerrors.ODataError; +import com.microsoft.graph.models.UnifiedRoleAssignmentScheduleRequest; +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 updateRequest method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class UpdateRequestRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", pathParameters); + } + /** + * Instantiates a new {@link UpdateRequestRequestBuilder} 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 UpdateRequestRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/roleManagement/entitlementManagement/roleAssignmentScheduleRequests/{unifiedRoleAssignmentScheduleRequest%2Did}/updateRequest", rawUrl); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link UnifiedRoleAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UnifiedRoleAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return post(body, null); + } + /** + * Invoke action updateRequest + * @param body The request body + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link UnifiedRoleAssignmentScheduleRequest} + * @throws ODataError When receiving a 4XX or 5XX status code + */ + @jakarta.annotation.Nullable + public UnifiedRoleAssignmentScheduleRequest post(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody 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, UnifiedRoleAssignmentScheduleRequest::createFromDiscriminatorValue); + } + /** + * Invoke action updateRequest + * @param body The request body + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull final UpdateRequestPostRequestBody body) { + return toPostRequestInformation(body, null); + } + /** + * Invoke action updateRequest + * @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 UpdateRequestPostRequestBody 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 UpdateRequestRequestBuilder} + */ + @jakarta.annotation.Nonnull + public UpdateRequestRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new UpdateRequestRequestBuilder(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/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java index a0c68f4562b..903b8700d98 100644 --- a/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/SubscriptionsRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.models.Subscription; import com.microsoft.graph.models.SubscriptionCollectionResponse; import com.microsoft.graph.shares.item.list.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.shares.item.list.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..38287501ed3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..02cbb9b40a2 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/shares/item/list/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.shares.item.list.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/shares/{sharedDriveItem%2Did}/list/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java index 9e60e5799de..4cea2801233 100644 --- a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/SubscriptionsRequestBuilder.java @@ -4,6 +4,7 @@ import com.microsoft.graph.models.Subscription; import com.microsoft.graph.models.SubscriptionCollectionResponse; import com.microsoft.graph.sites.item.lists.item.subscriptions.count.CountRequestBuilder; +import com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.sites.item.lists.item.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -31,6 +32,14 @@ public class SubscriptionsRequestBuilder extends BaseRequestBuilder { public CountRequestBuilder count() { return new CountRequestBuilder(pathParameters, requestAdapter); } + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the subscriptions property of the microsoft.graph.list entity. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..3cee7fd5a94 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..b689f7a656e --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/sites/item/lists/item/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.sites.item.lists.item.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/sites/{site%2Did}/lists/{list%2Did}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/subscriptions/SubscriptionsRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/subscriptions/SubscriptionsRequestBuilder.java index 7fdd6747e10..f19c640fe69 100644 --- a/src/main/java/com/microsoft/graph/generated/subscriptions/SubscriptionsRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/subscriptions/SubscriptionsRequestBuilder.java @@ -3,6 +3,7 @@ import com.microsoft.graph.models.odataerrors.ODataError; import com.microsoft.graph.models.Subscription; import com.microsoft.graph.models.SubscriptionCollectionResponse; +import com.microsoft.graph.subscriptions.getvapidpublickey.GetVapidPublicKeyRequestBuilder; import com.microsoft.graph.subscriptions.item.SubscriptionItemRequestBuilder; import com.microsoft.kiota.BaseRequestBuilder; import com.microsoft.kiota.BaseRequestConfiguration; @@ -22,6 +23,14 @@ */ @jakarta.annotation.Generated("com.microsoft.kiota") public class SubscriptionsRequestBuilder extends BaseRequestBuilder { + /** + * Provides operations to call the getVapidPublicKey method. + * @return a {@link GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder getVapidPublicKey() { + return new GetVapidPublicKeyRequestBuilder(pathParameters, requestAdapter); + } /** * Provides operations to manage the collection of subscription entities. * @param subscriptionId The unique identifier of subscription diff --git a/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java b/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java new file mode 100644 index 00000000000..301eedcdcc3 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyGetResponse.java @@ -0,0 +1,107 @@ +package com.microsoft.graph.subscriptions.getvapidpublickey; + +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 GetVapidPublicKeyGetResponse implements AdditionalDataHolder, BackedModel, Parsable { + /** + * Stores model information. + */ + @jakarta.annotation.Nonnull + protected BackingStore backingStore; + /** + * Instantiates a new {@link GetVapidPublicKeyGetResponse} and sets the default values. + */ + public GetVapidPublicKeyGetResponse() { + 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 GetVapidPublicKeyGetResponse} + */ + @jakarta.annotation.Nonnull + public static GetVapidPublicKeyGetResponse createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) { + Objects.requireNonNull(parseNode); + return new GetVapidPublicKeyGetResponse(); + } + /** + * 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>(1); + deserializerMap.put("value", (n) -> { this.setValue(n.getStringValue()); }); + return deserializerMap; + } + /** + * Gets the value property value. The value property + * @return a {@link String} + */ + @jakarta.annotation.Nullable + public String 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); + writer.writeStringValue("value", this.getValue()); + 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 value property value. The value property + * @param value Value to set for the value property. + */ + public void setValue(@jakarta.annotation.Nullable final String value) { + this.backingStore.set("value", value); + } +} diff --git a/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java new file mode 100644 index 00000000000..c25bbfcdd01 --- /dev/null +++ b/src/main/java/com/microsoft/graph/generated/subscriptions/getvapidpublickey/GetVapidPublicKeyRequestBuilder.java @@ -0,0 +1,97 @@ +package com.microsoft.graph.subscriptions.getvapidpublickey; + +import com.microsoft.graph.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 getVapidPublicKey method. + */ +@jakarta.annotation.Generated("com.microsoft.kiota") +public class GetVapidPublicKeyRequestBuilder extends BaseRequestBuilder { + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} and sets the default values. + * @param pathParameters Path parameters for the request + * @param requestAdapter The request adapter to use to execute the requests. + */ + public GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final HashMap pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/subscriptions/getVapidPublicKey()", pathParameters); + } + /** + * Instantiates a new {@link GetVapidPublicKeyRequestBuilder} 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 GetVapidPublicKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) { + super(requestAdapter, "{+baseurl}/subscriptions/getVapidPublicKey()", rawUrl); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse get() { + return get(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. + * @return a {@link GetVapidPublicKeyGetResponse} + * @throws ODataError When receiving a 4XX or 5XX status code + * @see Find more info here + */ + @jakarta.annotation.Nullable + public GetVapidPublicKeyGetResponse 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, GetVapidPublicKeyGetResponse::createFromDiscriminatorValue); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @return a {@link RequestInformation} + */ + @jakarta.annotation.Nonnull + public RequestInformation toGetRequestInformation() { + return toGetRequestInformation(null); + } + /** + * Get the public key information required to validate push notifications according to RFC 8292 specifications. + * @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); + 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 GetVapidPublicKeyRequestBuilder} + */ + @jakarta.annotation.Nonnull + public GetVapidPublicKeyRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) { + Objects.requireNonNull(rawUrl); + return new GetVapidPublicKeyRequestBuilder(rawUrl, requestAdapter); + } + /** + * Configuration for the request such as headers, query parameters, and middleware options. + */ + @jakarta.annotation.Generated("com.microsoft.kiota") + public class GetRequestConfiguration extends BaseRequestConfiguration { + } +} diff --git a/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrences/setcurrentlocation/SetCurrentLocationRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrences/setcurrentlocation/SetCurrentLocationRequestBuilder.java index 0fb9e4522af..6322f9bf80f 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrences/setcurrentlocation/SetCurrentLocationRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrences/setcurrentlocation/SetCurrentLocationRequestBuilder.java @@ -35,7 +35,7 @@ public SetCurrentLocationRequestBuilder(@jakarta.annotation.Nonnull final String super(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrences/setCurrentLocation", rawUrl); } /** - * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. * @param body The request body * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -44,7 +44,7 @@ public void post(@jakarta.annotation.Nonnull final SetCurrentLocationPostRequest post(body, null); } /** - * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. * @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 @@ -58,7 +58,7 @@ public void post(@jakarta.annotation.Nonnull final SetCurrentLocationPostRequest this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class); } /** - * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. * @param body The request body * @return a {@link RequestInformation} */ @@ -67,7 +67,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f return toPostRequestInformation(body, null); } /** - * Update your work location for the current day or current active segment. This action allows you to quickly update your work location without modifying individual occurrences. + * Update a user's work location for the current day or current active segment. This action quickly updates the user's work location without modifying individual occurrences. * @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/generated/users/item/settings/workhoursandlocations/occurrencesviewwithstartdatetimewithenddatetime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.java b/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrencesviewwithstartdatetimewithenddatetime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.java index 2b030846366..e92a8541c0e 100644 --- a/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrencesviewwithstartdatetimewithenddatetime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.java +++ b/src/main/java/com/microsoft/graph/generated/users/item/settings/workhoursandlocations/occurrencesviewwithstartdatetimewithenddatetime/OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder.java @@ -40,7 +40,7 @@ public OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(@jakarta.an super(requestAdapter, "{+baseurl}/users/{user%2Did}/settings/workHoursAndLocations/occurrencesView(startDateTime='{startDateTime}',endDateTime='{endDateTime}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl); } /** - * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. * @return a {@link OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code * @see Find more info here @@ -50,7 +50,7 @@ public OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse get() { return get(null); } /** - * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse} * @throws ODataError When receiving a 4XX or 5XX status code @@ -64,7 +64,7 @@ public OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse get(@jakarta.a return this.requestAdapter.send(requestInfo, errorMapping, OccurrencesViewWithStartDateTimeWithEndDateTimeGetResponse::createFromDiscriminatorValue); } /** - * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. * @return a {@link RequestInformation} */ @jakarta.annotation.Nonnull @@ -72,7 +72,7 @@ public RequestInformation toGetRequestInformation() { return toGetRequestInformation(null); } /** - * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @return a {@link RequestInformation} */ @@ -94,7 +94,7 @@ public OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder withUrl(@ja return new OccurrencesViewWithStartDateTimeWithEndDateTimeRequestBuilder(rawUrl, requestAdapter); } /** - * Get work plan occurrences from your own work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. + * Get work plan occurrences from a user's work plan within a specified date range. This function requires the startDateTime and endDateTime parameters. */ @jakarta.annotation.Generated("com.microsoft.kiota") public class GetQueryParameters implements QueryParameters {