MicrosoftGraphBaseItemVersion Class

public class MicrosoftGraphBaseItemVersion
extends MicrosoftGraphEntity

baseItemVersion.

Constructor Summary

Constructor Description
MicrosoftGraphBaseItemVersion()

Creates an instance of MicrosoftGraphBaseItemVersion class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: baseItemVersion.

static MicrosoftGraphBaseItemVersion fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphBaseItemVersion from the JsonReader.

MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: Date and time the version was last modified.

MicrosoftGraphPublicationFacet publication()

Get the publication property: publicationFacet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphBaseItemVersion withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: baseItemVersion.

MicrosoftGraphBaseItemVersion withId(String id)

Set the id property: Read-only.

MicrosoftGraphBaseItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphBaseItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the version was last modified.

MicrosoftGraphBaseItemVersion withPublication(MicrosoftGraphPublicationFacet publication)

Set the publication property: publicationFacet.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphBaseItemVersion

public MicrosoftGraphBaseItemVersion()

Creates an instance of MicrosoftGraphBaseItemVersion class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: baseItemVersion.

Overrides:

MicrosoftGraphBaseItemVersion.additionalProperties()

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphBaseItemVersion fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphBaseItemVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphBaseItemVersion if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphBaseItemVersion.

lastModifiedBy

public MicrosoftGraphIdentitySet lastModifiedBy()

Get the lastModifiedBy property: identitySet.

Returns:

the lastModifiedBy value.

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: Date and time the version was last modified. Read-only.

Returns:

the lastModifiedDateTime value.

publication

public MicrosoftGraphPublicationFacet publication()

Get the publication property: publicationFacet.

Returns:

the publication value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphBaseItemVersion.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphBaseItemVersion.validate()

withAdditionalProperties

public MicrosoftGraphBaseItemVersion withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: baseItemVersion.

Overrides:

MicrosoftGraphBaseItemVersion.withAdditionalProperties(Map<String,Object> additionalProperties)

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:

MicrosoftGraphBaseItemVersion.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphBaseItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Parameters:

lastModifiedBy - the lastModifiedBy value to set.

Returns:

the MicrosoftGraphBaseItemVersion object itself.

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.

withPublication

public MicrosoftGraphBaseItemVersion withPublication(MicrosoftGraphPublicationFacet publication)

Set the publication property: publicationFacet.

Parameters:

publication - the publication value to set.

Returns:

the MicrosoftGraphBaseItemVersion object itself.

Applies to