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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public GetAvailableExtensionPropertiesRequestBuilder(@jakarta.annotation.Nonnull
super(requestAdapter, "{+baseurl}/applications/getAvailableExtensionProperties", rawUrl);
}
/**
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
* Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
* @param body The request body
* @return a {@link GetAvailableExtensionPropertiesPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -46,7 +46,7 @@ public GetAvailableExtensionPropertiesPostResponse post(@jakarta.annotation.Nonn
return post(body, null);
}
/**
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
* Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link GetAvailableExtensionPropertiesPostResponse}
Expand All @@ -62,7 +62,7 @@ public GetAvailableExtensionPropertiesPostResponse post(@jakarta.annotation.Nonn
return this.requestAdapter.send(requestInfo, errorMapping, GetAvailableExtensionPropertiesPostResponse::createFromDiscriminatorValue);
}
/**
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
* Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -71,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Return all directory extension definitions that have been registered in a directory, including through multi-tenant apps. The following entities support extension properties:
* Return all directory extension definitions that are registered in a directory, including through multitenant apps. The following entities support extension properties:
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public AddKeyRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/addKey", rawUrl);
}
/**
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that dont have any existing valid certificates (no certificates have been added yet, or all certificates have expired), wont be able to use this service action. You can use the Update application operation to perform an update instead.
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead.
* @param body The request body
* @return a {@link KeyCredential}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand All @@ -47,7 +47,7 @@ public KeyCredential post(@jakarta.annotation.Nonnull final AddKeyPostRequestBod
return post(body, null);
}
/**
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that dont have any existing valid certificates (no certificates have been added yet, or all certificates have expired), wont be able to use this service action. You can use the Update application operation to perform an update instead.
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link KeyCredential}
Expand All @@ -63,7 +63,7 @@ public KeyCredential post(@jakarta.annotation.Nonnull final AddKeyPostRequestBod
return this.requestAdapter.send(requestInfo, errorMapping, KeyCredential::createFromDiscriminatorValue);
}
/**
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that dont have any existing valid certificates (no certificates have been added yet, or all certificates have expired), wont be able to use this service action. You can use the Update application operation to perform an update instead.
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that dont have any existing valid certificates (no certificates have been added yet, or all certificates have expired), wont be able to use this service action. You can use the Update application operation to perform an update instead.
* Add a key credential to an application. This method, along with removeKey can be used by an application to automate rolling its expiring keys. As part of the request validation for this method, a proof of possession of an existing key is verified before the action can be performed. Applications that don't have any existing valid certificates (no certificates have been added yet, or all certificates have expired), won't be able to use this service action. You can use the Update application operation to perform an update instead.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
package com.microsoft.graph.auditlogs.signins;

import com.microsoft.graph.auditlogs.signins.confirmcompromised.ConfirmCompromisedRequestBuilder;
import com.microsoft.graph.auditlogs.signins.confirmsafe.ConfirmSafeRequestBuilder;
import com.microsoft.graph.auditlogs.signins.count.CountRequestBuilder;
import com.microsoft.graph.auditlogs.signins.dismiss.DismissRequestBuilder;
import com.microsoft.graph.auditlogs.signins.item.SignInItemRequestBuilder;
import com.microsoft.graph.models.odataerrors.ODataError;
import com.microsoft.graph.models.SignIn;
Expand All @@ -23,6 +26,22 @@
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class SignInsRequestBuilder extends BaseRequestBuilder {
/**
* Provides operations to call the confirmCompromised method.
* @return a {@link ConfirmCompromisedRequestBuilder}
*/
@jakarta.annotation.Nonnull
public ConfirmCompromisedRequestBuilder confirmCompromised() {
return new ConfirmCompromisedRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to call the confirmSafe method.
* @return a {@link ConfirmSafeRequestBuilder}
*/
@jakarta.annotation.Nonnull
public ConfirmSafeRequestBuilder confirmSafe() {
return new ConfirmSafeRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to count the resources in the collection.
* @return a {@link CountRequestBuilder}
Expand All @@ -31,6 +50,14 @@ public class SignInsRequestBuilder extends BaseRequestBuilder {
public CountRequestBuilder count() {
return new CountRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to call the dismiss method.
* @return a {@link DismissRequestBuilder}
*/
@jakarta.annotation.Nonnull
public DismissRequestBuilder dismiss() {
return new DismissRequestBuilder(pathParameters, requestAdapter);
}
/**
* Provides operations to manage the signIns property of the microsoft.graph.auditLogRoot entity.
* @param signInId The unique identifier of signIn
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
package com.microsoft.graph.auditlogs.signins.confirmcompromised;

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 ConfirmCompromisedPostRequestBody implements AdditionalDataHolder, BackedModel, Parsable {
/**
* Stores model information.
*/
@jakarta.annotation.Nonnull
protected BackingStore backingStore;
/**
* Instantiates a new {@link ConfirmCompromisedPostRequestBody} and sets the default values.
*/
public ConfirmCompromisedPostRequestBody() {
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 ConfirmCompromisedPostRequestBody}
*/
@jakarta.annotation.Nonnull
public static ConfirmCompromisedPostRequestBody createFromDiscriminatorValue(@jakarta.annotation.Nonnull final ParseNode parseNode) {
Objects.requireNonNull(parseNode);
return new ConfirmCompromisedPostRequestBody();
}
/**
* 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<String, Object>}
*/
@jakarta.annotation.Nonnull
public Map<String, Object> getAdditionalData() {
Map<String, Object> 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<String, java.util.function.Consumer<ParseNode>>}
*/
@jakarta.annotation.Nonnull
public Map<String, java.util.function.Consumer<ParseNode>> getFieldDeserializers() {
final HashMap<String, java.util.function.Consumer<ParseNode>> deserializerMap = new HashMap<String, java.util.function.Consumer<ParseNode>>(1);
deserializerMap.put("requestIds", (n) -> { this.setRequestIds(n.getCollectionOfPrimitiveValues(String.class)); });
return deserializerMap;
}
/**
* Gets the requestIds property value. The requestIds property
* @return a {@link java.util.List<String>}
*/
@jakarta.annotation.Nullable
public java.util.List<String> getRequestIds() {
return this.backingStore.get("requestIds");
}
/**
* 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.writeCollectionOfPrimitiveValues("requestIds", this.getRequestIds());
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<String, Object> 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 requestIds property value. The requestIds property
* @param value Value to set for the requestIds property.
*/
public void setRequestIds(@jakarta.annotation.Nullable final java.util.List<String> value) {
this.backingStore.set("requestIds", value);
}
}
Loading
Loading