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
  • Constructor Details

    • GranularRestoreArtifactBase

      public GranularRestoreArtifactBase()
      Instantiates a new GranularRestoreArtifactBase and 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

      @Nullable public String getBrowseSessionId()
      Gets the browseSessionId property value. The unique identifier of the browseSession
      Returns:
      a String
    • getCompletionDateTime

      @Nullable public OffsetDateTime 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:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getRestoredItemKey

      @Nullable public String getRestoredItemKey()
      Gets the restoredItemKey property value. The unique identifier for the restored artifact.
      Returns:
      a String
    • getRestoredItemPath

      @Nullable public 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

      @Nullable public String getRestoredItemWebUrl()
      Gets the restoredItemWebUrl property value. The web url of the restored artifact.
      Returns:
      a String
    • getRestorePointDateTime

      @Nullable public OffsetDateTime getRestorePointDateTime()
      Gets the restorePointDateTime property value. The restore point date time to which the artifact is restored.
      Returns:
      a OffsetDateTime
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. The start time of the restoration.
      Returns:
      a OffsetDateTime
    • getStatus

      @Nullable public ArtifactRestoreStatus getStatus()
      Gets the status property value. The status property
      Returns:
      a ArtifactRestoreStatus
    • getWebUrl

      @Nullable public String 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBrowseSessionId

      public void setBrowseSessionId(@Nullable String value)
      Sets the browseSessionId property value. The unique identifier of the browseSession
      Parameters:
      value - Value to set for the browseSessionId property.
    • setCompletionDateTime

      public void setCompletionDateTime(@Nullable OffsetDateTime value)
      Sets the completionDateTime property value. Date time when the artifact's restoration completes.
      Parameters:
      value - Value to set for the completionDateTime property.
    • setRestoredItemKey

      public void setRestoredItemKey(@Nullable String value)
      Sets the restoredItemKey property value. The unique identifier for the restored artifact.
      Parameters:
      value - Value to set for the restoredItemKey property.
    • setRestoredItemPath

      public void setRestoredItemPath(@Nullable String value)
      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

      public void setRestoredItemWebUrl(@Nullable String value)
      Sets the restoredItemWebUrl property value. The web url of the restored artifact.
      Parameters:
      value - Value to set for the restoredItemWebUrl property.
    • setRestorePointDateTime

      public void setRestorePointDateTime(@Nullable OffsetDateTime value)
      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

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. The start time of the restoration.
      Parameters:
      value - Value to set for the startDateTime property.
    • setStatus

      public void setStatus(@Nullable ArtifactRestoreStatus value)
      Sets the status property value. The status property
      Parameters:
      value - Value to set for the status property.
    • setWebUrl

      public void setWebUrl(@Nullable String value)
      Sets the webUrl property value. The original web url of the artifact being restored.
      Parameters:
      value - Value to set for the webUrl property.