Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.microsoft.graph.admin.teams.policy;

import com.microsoft.graph.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname.MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604;
import com.microsoft.graph.admin.teams.policy.microsoftgraphteamsadministrationgetpolicyidwithtypewithname.MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder;
import com.microsoft.graph.admin.teams.policy.userassignments.UserAssignmentsRequestBuilder;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.graph.models.teamsadministration.TeamsPolicyAssignment;
Expand Down Expand Up @@ -90,13 +90,13 @@ public TeamsPolicyAssignment get(@jakarta.annotation.Nullable final java.util.fu
* Provides operations to call the getPolicyId method.
* @param name Usage: name='{name}'
* @param type Usage: type='{type}'
* @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604}
* @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder}
*/
@jakarta.annotation.Nonnull
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(@jakarta.annotation.Nonnull final String name, @jakarta.annotation.Nonnull final String type) {
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder microsoftGraphTeamsAdministrationGetPolicyIdWithTypeWithName(@jakarta.annotation.Nonnull final String name, @jakarta.annotation.Nonnull final String type) {
Objects.requireNonNull(name);
Objects.requireNonNull(type);
return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(pathParameters, requestAdapter, name, type);
return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(pathParameters, requestAdapter, name, type);
}
/**
* Update the navigation property policy in admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,28 @@
import java.util.Map;
import java.util.Objects;
/**
* Provides operations to call the getPolicyId method. Original name: MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder
* Provides operations to call the getPolicyId method.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 extends BaseRequestBuilder {
public class MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder extends BaseRequestBuilder {
/**
* Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604} and sets the default values.
* Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder} and sets the default values.
* @param name Usage: name='{name}'
* @param pathParameters Path parameters for the request
* @param requestAdapter The request adapter to use to execute the requests.
* @param type Usage: type='{type}'
*/
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String name, @jakarta.annotation.Nullable final String type) {
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter, @jakarta.annotation.Nullable final String name, @jakarta.annotation.Nullable final String type) {
super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
this.pathParameters.put("name", name);
this.pathParameters.put("type", type);
}
/**
* Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604} and sets the default values.
* Instantiates a new {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder} 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 MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
super(requestAdapter, "{+baseurl}/admin/teams/policy/microsoft.graph.teamsAdministration.getPolicyId(type='{type}',name='{name}'){?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
Expand Down Expand Up @@ -86,12 +86,12 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
/**
* Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
* @param rawUrl The raw URL to use for the request builder.
* @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604}
* @return a {@link MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder}
*/
@jakarta.annotation.Nonnull
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604 withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
public MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder withUrl(@jakarta.annotation.Nonnull final String rawUrl) {
Objects.requireNonNull(rawUrl);
return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWit_a7f81604(rawUrl, requestAdapter);
return new MicrosoftGraphTeamsAdministrationGetPolicyIdWithTypeWithNameRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get the policy ID for a given policy name and policy type within Teams administration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public DirectoryAuditsRequestBuilder(@jakarta.annotation.Nonnull final String ra
super(requestAdapter, "{+baseurl}/auditLogs/directoryAudits{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @return a {@link DirectoryAuditCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/directoryaudit-list?view=graph-rest-1.0">Find more info here</a>
Expand All @@ -70,7 +70,7 @@ public DirectoryAuditCollectionResponse get() {
return get(null);
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryAuditCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -109,15 +109,15 @@ public DirectoryAudit post(@jakarta.annotation.Nonnull final DirectoryAudit body
return this.requestAdapter.send(requestInfo, errorMapping, DirectoryAudit::createFromDiscriminatorValue);
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -163,7 +163,7 @@ public DirectoryAuditsRequestBuilder withUrl(@jakarta.annotation.Nonnull final S
return new DirectoryAuditsRequestBuilder(rawUrl, requestAdapter);
}
/**
* Get the list of audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
* Get a list of directoryAudit objects representing the audit logs generated by Microsoft Entra ID. This includes audit logs generated by various services within Microsoft Entra ID, including user, app, device and group Management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), and self- service group management, and so on.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @return a {@link DirectoryAudit}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/directoryaudit-get?view=graph-rest-1.0">Find more info here</a>
Expand All @@ -65,7 +65,7 @@ public DirectoryAudit get() {
return get(null);
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DirectoryAudit}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -124,15 +124,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ public DirectoryAuditItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get a specific Microsoft Entra audit log item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
* Get a specific directoryAudit item. This includes an audit log item generated by various services within Microsoft Entra ID like user, application, device and group management, privileged identity management (PIM), access reviews, terms of use, identity protection, password management (self-service and admin password resets), self-service group management, and so on.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading
Loading