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 Summary
Constructors Constructor Description MicrosoftGraphBaseItemVersion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: baseItemVersion.MicrosoftGraphIdentitySetlastModifiedBy()Get the lastModifiedBy property: identitySet.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: Date and time the version was last modified.MicrosoftGraphPublicationFacetpublication()Get the publication property: publicationFacet.voidvalidate()Validates the instance.MicrosoftGraphBaseItemVersionwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: baseItemVersion.MicrosoftGraphBaseItemVersionwithId(String id)Set the id property: Read-only.MicrosoftGraphBaseItemVersionwithLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Set the lastModifiedBy property: identitySet.MicrosoftGraphBaseItemVersionwithLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Set the lastModifiedDateTime property: Date and time the version was last modified.MicrosoftGraphBaseItemVersionwithPublication(MicrosoftGraphPublicationFacet publication)Set the publication property: publicationFacet.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
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
public MicrosoftGraphBaseItemVersion withId(String id)
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.
-
-