Package com.microsoft.graph.models
Class GranularRestoreArtifactBase
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.GranularRestoreArtifactBase
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder,com.microsoft.kiota.serialization.Parsable,com.microsoft.kiota.store.BackedModel
- Direct Known Subclasses:
GranularDriveRestoreArtifact,GranularSiteRestoreArtifact
@Generated("com.microsoft.kiota")
public class GranularRestoreArtifactBase
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GranularRestoreArtifactBasecreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the browseSessionId property value.Gets the completionDateTime property value.The deserialization information for the current modelGets the restoredItemKey property value.Gets the restoredItemPath property value.Gets the restoredItemWebUrl property value.Gets the restorePointDateTime property value.Gets the startDateTime property value.Gets the status property value.Gets the webUrl property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetBrowseSessionId(String value) Sets the browseSessionId property value.voidSets the completionDateTime property value.voidsetRestoredItemKey(String value) Sets the restoredItemKey property value.voidsetRestoredItemPath(String value) Sets the restoredItemPath property value.voidsetRestoredItemWebUrl(String value) Sets the restoredItemWebUrl property value.voidSets the restorePointDateTime property value.voidsetStartDateTime(OffsetDateTime value) Sets the startDateTime property value.voidsetStatus(ArtifactRestoreStatus value) Sets the status property value.voidSets the webUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
GranularRestoreArtifactBase
public GranularRestoreArtifactBase()Instantiates a newGranularRestoreArtifactBaseand sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static GranularRestoreArtifactBase createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode- The parse node to use to read the discriminator value and create the object- Returns:
- a
GranularRestoreArtifactBase
-
getBrowseSessionId
Gets the browseSessionId property value. The unique identifier of the browseSession- Returns:
- a
String
-
getCompletionDateTime
Gets the completionDateTime property value. Date time when the artifact's restoration completes.- Returns:
- a
OffsetDateTime
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classEntity- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getRestoredItemKey
Gets the restoredItemKey property value. The unique identifier for the restored artifact.- Returns:
- a
String
-
getRestoredItemPath
Gets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session.- Returns:
- a
String
-
getRestoredItemWebUrl
Gets the restoredItemWebUrl property value. The web url of the restored artifact.- Returns:
- a
String
-
getRestorePointDateTime
Gets the restorePointDateTime property value. The restore point date time to which the artifact is restored.- Returns:
- a
OffsetDateTime
-
getStartDateTime
Gets the startDateTime property value. The start time of the restoration.- Returns:
- a
OffsetDateTime
-
getStatus
Gets the status property value. The status property- Returns:
- a
ArtifactRestoreStatus
-
getWebUrl
Gets the webUrl property value. The original web url of the artifact being restored.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setBrowseSessionId
Sets the browseSessionId property value. The unique identifier of the browseSession- Parameters:
value- Value to set for the browseSessionId property.
-
setCompletionDateTime
Sets the completionDateTime property value. Date time when the artifact's restoration completes.- Parameters:
value- Value to set for the completionDateTime property.
-
setRestoredItemKey
Sets the restoredItemKey property value. The unique identifier for the restored artifact.- Parameters:
value- Value to set for the restoredItemKey property.
-
setRestoredItemPath
Sets the restoredItemPath property value. The path of the restored artifact. It's the path of the folder where all the artifacts are restored within a granular restore session.- Parameters:
value- Value to set for the restoredItemPath property.
-
setRestoredItemWebUrl
Sets the restoredItemWebUrl property value. The web url of the restored artifact.- Parameters:
value- Value to set for the restoredItemWebUrl property.
-
setRestorePointDateTime
Sets the restorePointDateTime property value. The restore point date time to which the artifact is restored.- Parameters:
value- Value to set for the restorePointDateTime property.
-
setStartDateTime
Sets the startDateTime property value. The start time of the restoration.- Parameters:
value- Value to set for the startDateTime property.
-
setStatus
Sets the status property value. The status property- Parameters:
value- Value to set for the status property.
-
setWebUrl
Sets the webUrl property value. The original web url of the artifact being restored.- Parameters:
value- Value to set for the webUrl property.
-