Class MicrosoftGraphOutlookItem
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
-
- Direct Known Subclasses:
MicrosoftGraphContactInner
,MicrosoftGraphEvent
,MicrosoftGraphMessage
,MicrosoftGraphPost
public class MicrosoftGraphOutlookItem extends MicrosoftGraphEntity
outlookItem.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOutlookItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.OffsetDateTime
lastModifiedDateTime()
Get the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
categories
public List<String> categories()
Get the categories property: The categories associated with the item.- Returns:
- the categories value.
-
withCategories
public MicrosoftGraphOutlookItem withCategories(List<String> categories)
Set the categories property: The categories associated with the item.- Parameters:
categories
- the categories value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: outlookItem.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOutlookItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: outlookItem.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOutlookItem object itself.
-
withId
public MicrosoftGraphOutlookItem withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-