Class MicrosoftGraphBaseItemVersion
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphBaseItemVersion
- Direct Known Subclasses:
MicrosoftGraphDriveItemVersion,MicrosoftGraphListItemVersion
baseItemVersion.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphBaseItemVersion class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: baseItemVersion.Get the lastModifiedBy property: identitySet.Get the lastModifiedDateTime property: Date and time the version was last modified.Get the publication property: publicationFacet.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: baseItemVersion.Set the id property: Read-only.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy) Set the lastModifiedBy property: identitySet.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) Set the lastModifiedDateTime property: Date and time the version was last modified.withPublication(MicrosoftGraphPublicationFacet publication) Set the publication property: publicationFacet.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphBaseItemVersion
public MicrosoftGraphBaseItemVersion()Creates an instance of MicrosoftGraphBaseItemVersion class.
-
-
Method Details
-
lastModifiedBy
Get the lastModifiedBy property: identitySet.- Returns:
- the lastModifiedBy value.
-
withLastModifiedBy
Set the lastModifiedBy property: identitySet.- Parameters:
lastModifiedBy- the lastModifiedBy value to set.- Returns:
- the MicrosoftGraphBaseItemVersion object itself.
-
lastModifiedDateTime
Get the lastModifiedDateTime property: Date and time the version was last modified. Read-only.- Returns:
- the lastModifiedDateTime value.
-
withLastModifiedDateTime
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
Get the publication property: publicationFacet.- Returns:
- the publication value.
-
withPublication
Set the publication property: publicationFacet.- Parameters:
publication- the publication value to set.- Returns:
- the MicrosoftGraphBaseItemVersion object itself.
-
additionalProperties
Get the additionalProperties property: baseItemVersion.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphBaseItemVersion withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: baseItemVersion.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphBaseItemVersion object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-