共用方式為


MicrosoftGraphListItemVersion Class

public final class MicrosoftGraphListItemVersion
extends MicrosoftGraphBaseItemVersion

listItemVersion.

Constructor Summary

Constructor Description
MicrosoftGraphListItemVersion()

Creates an instance of MicrosoftGraphListItemVersion class.

Method Summary

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

Get the additionalProperties property: listItemVersion.

MicrosoftGraphFieldValueSet fields()

Get the fields property: fieldValueSet.

static MicrosoftGraphListItemVersion fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphListItemVersion from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphListItemVersion withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: listItemVersion.

MicrosoftGraphListItemVersion withFields(MicrosoftGraphFieldValueSet fields)

Set the fields property: fieldValueSet.

MicrosoftGraphListItemVersion withId(String id)

Set the id property: Read-only.

MicrosoftGraphListItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphListItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

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

MicrosoftGraphListItemVersion withPublication(MicrosoftGraphPublicationFacet publication)

Set the publication property: publicationFacet.

Methods inherited from MicrosoftGraphBaseItemVersion

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphListItemVersion

public MicrosoftGraphListItemVersion()

Creates an instance of MicrosoftGraphListItemVersion class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: listItemVersion.

Overrides:

MicrosoftGraphListItemVersion.additionalProperties()

Returns:

the additionalProperties value.

fields

public MicrosoftGraphFieldValueSet fields()

Get the fields property: fieldValueSet.

Returns:

the fields value.

fromJson

public static MicrosoftGraphListItemVersion fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphListItemVersion from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphListItemVersion 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 MicrosoftGraphListItemVersion.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphListItemVersion.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphListItemVersion.validate()

withAdditionalProperties

public MicrosoftGraphListItemVersion withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: listItemVersion.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphListItemVersion object itself.

withFields

public MicrosoftGraphListItemVersion withFields(MicrosoftGraphFieldValueSet fields)

Set the fields property: fieldValueSet.

Parameters:

fields - the fields value to set.

Returns:

the MicrosoftGraphListItemVersion object itself.

withId

public MicrosoftGraphListItemVersion withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphListItemVersion.withId(String id)

Parameters:

id

withLastModifiedBy

public MicrosoftGraphListItemVersion withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphListItemVersion.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedDateTime

public MicrosoftGraphListItemVersion withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

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

Overrides:

MicrosoftGraphListItemVersion.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withPublication

public MicrosoftGraphListItemVersion withPublication(MicrosoftGraphPublicationFacet publication)

Set the publication property: publicationFacet.

Overrides:

MicrosoftGraphListItemVersion.withPublication(MicrosoftGraphPublicationFacet publication)

Parameters:

publication

Applies to