你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphOutlookItem Class

public class MicrosoftGraphOutlookItem
extends MicrosoftGraphEntity

outlookItem.

Constructor Summary

Constructor Description
MicrosoftGraphOutlookItem()

Creates an instance of MicrosoftGraphOutlookItem class.

Method Summary

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

Get the additionalProperties property: outlookItem.

List<String> categories()

Get the categories property: The categories associated with the item.

String changeKey()

Get the changeKey property: Identifies the version of the item.

OffsetDateTime createdDateTime()

Get the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

static MicrosoftGraphOutlookItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookItem from the JsonReader.

OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOutlookItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: outlookItem.

MicrosoftGraphOutlookItem withCategories(List<String> categories)

Set the categories property: The categories associated with the item.

MicrosoftGraphOutlookItem withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the item.

MicrosoftGraphOutlookItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

MicrosoftGraphOutlookItem withId(String id)

Set the id property: Read-only.

MicrosoftGraphOutlookItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOutlookItem

public MicrosoftGraphOutlookItem()

Creates an instance of MicrosoftGraphOutlookItem class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: outlookItem.

Overrides:

MicrosoftGraphOutlookItem.additionalProperties()

Returns:

the additionalProperties value.

categories

public List categories()

Get the categories property: The categories associated with the item.

Returns:

the categories value.

changeKey

public String changeKey()

Get the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.

Returns:

the changeKey value.

createdDateTime

public OffsetDateTime createdDateTime()

Get the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the createdDateTime value.

fromJson

public static MicrosoftGraphOutlookItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

lastModifiedDateTime

public OffsetDateTime lastModifiedDateTime()

Get the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Returns:

the lastModifiedDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOutlookItem.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOutlookItem.validate()

withAdditionalProperties

public MicrosoftGraphOutlookItem withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: outlookItem.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOutlookItem object itself.

withCategories

public MicrosoftGraphOutlookItem withCategories(List categories)

Set the categories property: The categories associated with the item.

Parameters:

categories - the categories value to set.

Returns:

the MicrosoftGraphOutlookItem object itself.

withChangeKey

public MicrosoftGraphOutlookItem withChangeKey(String changeKey)

Set the changeKey property: Identifies the version of the item. Every time the item is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only.

Parameters:

changeKey - the changeKey value to set.

Returns:

the MicrosoftGraphOutlookItem object itself.

withCreatedDateTime

public MicrosoftGraphOutlookItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

createdDateTime - the createdDateTime value to set.

Returns:

the MicrosoftGraphOutlookItem object itself.

withId

public MicrosoftGraphOutlookItem withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphOutlookItem.withId(String id)

Parameters:

id

withLastModifiedDateTime

public MicrosoftGraphOutlookItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'.

Parameters:

lastModifiedDateTime - the lastModifiedDateTime value to set.

Returns:

the MicrosoftGraphOutlookItem object itself.

Applies to