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.StringchangeKey()Get the changeKey property: Identifies the version of the item.OffsetDateTimecreatedDateTime()Get the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.OffsetDateTimelastModifiedDateTime()Get the lastModifiedDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.voidvalidate()Validates the instance.MicrosoftGraphOutlookItemwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: outlookItem.MicrosoftGraphOutlookItemwithCategories(List<String> categories)Set the categories property: The categories associated with the item.MicrosoftGraphOutlookItemwithChangeKey(String changeKey)Set the changeKey property: Identifies the version of the item.MicrosoftGraphOutlookItemwithCreatedDateTime(OffsetDateTime createdDateTime)Set the createdDateTime property: The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time.MicrosoftGraphOutlookItemwithId(String id)Set the id property: Read-only.MicrosoftGraphOutlookItemwithLastModifiedDateTime(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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOutlookItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: outlookItem.- Overrides:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-