Class MicrosoftGraphBaseItemVersion

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemVersion
Direct Known Subclasses:
MicrosoftGraphDriveItemVersion, MicrosoftGraphListItemVersion

public class MicrosoftGraphBaseItemVersion extends MicrosoftGraphEntity
baseItemVersion.
  • Constructor Details

    • MicrosoftGraphBaseItemVersion

      public MicrosoftGraphBaseItemVersion()
      Creates an instance of MicrosoftGraphBaseItemVersion class.
  • Method Details

    • lastModifiedBy

      public MicrosoftGraphIdentitySet lastModifiedBy()
      Get the lastModifiedBy property: identitySet.
      Returns:
      the lastModifiedBy value.
    • withLastModifiedBy

      public MicrosoftGraphBaseItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
      Set the lastModifiedBy property: identitySet.
      Parameters:
      lastModifiedBy - the lastModifiedBy value to set.
      Returns:
      the MicrosoftGraphBaseItemVersion object itself.
    • lastModifiedDateTime

      public OffsetDateTime lastModifiedDateTime()
      Get the lastModifiedDateTime property: Date and time the version was last modified. Read-only.
      Returns:
      the lastModifiedDateTime value.
    • withLastModifiedDateTime

      public MicrosoftGraphBaseItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
      Set the lastModifiedDateTime property: Date and time the version was last modified. Read-only.
      Parameters:
      lastModifiedDateTime - the lastModifiedDateTime value to set.
      Returns:
      the MicrosoftGraphBaseItemVersion object itself.
    • publication

      public MicrosoftGraphPublicationFacet publication()
      Get the publication property: publicationFacet.
      Returns:
      the publication value.
    • withPublication

      public MicrosoftGraphBaseItemVersion withPublication(MicrosoftGraphPublicationFacet publication)
      Set the publication property: publicationFacet.
      Parameters:
      publication - the publication value to set.
      Returns:
      the MicrosoftGraphBaseItemVersion object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: baseItemVersion.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphBaseItemVersion withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: baseItemVersion.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphBaseItemVersion object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.