Class SignInsRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.auditlogs.signins.SignInsRequestBuilder
@Generated("com.microsoft.kiota")
public class SignInsRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRetrieve the Microsoft Entra user sign-ins for your tenant.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionSignInsRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSignInsRequestBuilderand sets the default values.SignInsRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSignInsRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbySignInId(String signInId) Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.Provides operations to call the confirmCompromised method.Provides operations to call the confirmSafe method.count()Provides operations to count the resources in the collection.dismiss()Provides operations to call the dismiss method.get()Retrieve the Microsoft Entra user sign-ins for your tenant.get(Consumer<SignInsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the Microsoft Entra user sign-ins for your tenant.Create new navigation property to signIns for auditLogspost(SignIn body, Consumer<SignInsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to signIns for auditLogscom.microsoft.kiota.RequestInformationRetrieve the Microsoft Entra user sign-ins for your tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<SignInsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the Microsoft Entra user sign-ins for your tenant.com.microsoft.kiota.RequestInformationCreate new navigation property to signIns for auditLogscom.microsoft.kiota.RequestInformationtoPostRequestInformation(SignIn body, Consumer<SignInsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to signIns for auditLogsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
SignInsRequestBuilder
public SignInsRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSignInsRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
SignInsRequestBuilder
public SignInsRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newSignInsRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
confirmCompromised
Provides operations to call the confirmCompromised method.- Returns:
- a
ConfirmCompromisedRequestBuilder
-
confirmSafe
Provides operations to call the confirmSafe method.- Returns:
- a
ConfirmSafeRequestBuilder
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
dismiss
Provides operations to call the dismiss method.- Returns:
- a
DismissRequestBuilder
-
bySignInId
Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.- Parameters:
signInId- The unique identifier of signIn- Returns:
- a
SignInItemRequestBuilder
-
get
Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.- Returns:
- a
SignInCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public SignInCollectionResponse get(@Nullable Consumer<SignInsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SignInCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
post
Create new navigation property to signIns for auditLogs- Parameters:
body- The request body- Returns:
- a
SignIn - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public SignIn post(@Nonnull SignIn body, @Nullable Consumer<SignInsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to signIns for auditLogs- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
SignIn - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<SignInsRequestBuilder.GetRequestConfiguration> requestConfiguration) Retrieve the Microsoft Entra user sign-ins for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs. The maximum and default page size is 1,000 objects and by default, the most recent sign-ins are returned first. Only sign-in events that occurred within the Microsoft Entra ID default retention period are available.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull SignIn body) Create new navigation property to signIns for auditLogs- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull SignIn body, @Nullable Consumer<SignInsRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to signIns for auditLogs- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
SignInsRequestBuilder
-