Class MicrosoftGraphOutlookItem

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOutlookItem
Direct Known Subclasses:
MicrosoftGraphContact, MicrosoftGraphEvent, MicrosoftGraphMessage, MicrosoftGraphPost

public class MicrosoftGraphOutlookItem extends MicrosoftGraphEntity
outlookItem.
  • Constructor Details

    • MicrosoftGraphOutlookItem

      public MicrosoftGraphOutlookItem()
      Creates an instance of MicrosoftGraphOutlookItem class.
  • Method Details

    • 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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphOutlookItem withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: outlookItem.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      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 class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.