MicrosoftGraphDriveItemVersion Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphBaseItemVersion - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDriveItemVersion
- com.
- com.
- com.
public final class MicrosoftGraphDriveItemVersion
extends MicrosoftGraphBaseItemVersion
driveItemVersion.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDriveItemVersion() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
byte[] |
content()
Get the content property: The content stream for this version of the item. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Long |
size()
Get the size property: Indicates the size of the content stream for this version of the item. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(byte[] content)
Set the content property: The content stream for this version of the item. |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Microsoft |
withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the last |
Microsoft |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the last |
Microsoft |
withPublication(MicrosoftGraphPublicationFacet publication)
Set the publication property: publication |
Microsoft |
withSize(Long size)
Set the size property: Indicates the size of the content stream for this version of the item. |
Methods inherited from MicrosoftGraphBaseItemVersion
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDriveItemVersion
public MicrosoftGraphDriveItemVersion()
Creates an instance of MicrosoftGraphDriveItemVersion class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: driveItemVersion.
Overrides:
MicrosoftGraphDriveItemVersion.additionalProperties()Returns:
content
public byte[] content()
Get the content property: The content stream for this version of the item.
Returns:
fromJson
public static MicrosoftGraphDriveItemVersion fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDriveItemVersion from the JsonReader.
Parameters:
Returns:
Throws:
size
public Long size()
Get the size property: Indicates the size of the content stream for this version of the item.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDriveItemVersion.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDriveItemVersion.validate()withAdditionalProperties
public MicrosoftGraphDriveItemVersion withAdditionalProperties(Map
Set the additionalProperties property: driveItemVersion.
Overrides:
MicrosoftGraphDriveItemVersion.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withContent
public MicrosoftGraphDriveItemVersion withContent(byte[] content)
Set the content property: The content stream for this version of the item.
Parameters:
Returns:
withId
public MicrosoftGraphDriveItemVersion withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDriveItemVersion.withId(String id)Parameters:
withLastModifiedBy
public MicrosoftGraphDriveItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphDriveItemVersion.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedDateTime
public MicrosoftGraphDriveItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Set the lastModifiedDateTime property: Date and time the version was last modified. Read-only.
Overrides:
MicrosoftGraphDriveItemVersion.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)Parameters:
withPublication
public MicrosoftGraphDriveItemVersion withPublication(MicrosoftGraphPublicationFacet publication)
Set the publication property: publicationFacet.
Overrides:
MicrosoftGraphDriveItemVersion.withPublication(MicrosoftGraphPublicationFacet publication)Parameters:
withSize
public MicrosoftGraphDriveItemVersion withSize(Long size)
Set the size property: Indicates the size of the content stream for this version of the item.
Parameters:
Returns:
Applies to
Azure SDK for Java