Class MicrosoftGraphAttachment

    • Constructor Detail

      • MicrosoftGraphAttachment

        public MicrosoftGraphAttachment()
    • Method Detail

      • contentType

        public String contentType()
        Get the contentType property: The MIME type.
        Returns:
        the contentType value.
      • withContentType

        public MicrosoftGraphAttachment withContentType​(String contentType)
        Set the contentType property: The MIME type.
        Parameters:
        contentType - the contentType value to set.
        Returns:
        the MicrosoftGraphAttachment object itself.
      • isInline

        public Boolean isInline()
        Get the isInline property: true if the attachment is an inline attachment; otherwise, false.
        Returns:
        the isInline value.
      • withIsInline

        public MicrosoftGraphAttachment withIsInline​(Boolean isInline)
        Set the isInline property: true if the attachment is an inline attachment; otherwise, false.
        Parameters:
        isInline - the isInline value to set.
        Returns:
        the MicrosoftGraphAttachment 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 MicrosoftGraphAttachment 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 MicrosoftGraphAttachment object itself.
      • name

        public String name()
        Get the name property: The attachment's file name.
        Returns:
        the name value.
      • withName

        public MicrosoftGraphAttachment withName​(String name)
        Set the name property: The attachment's file name.
        Parameters:
        name - the name value to set.
        Returns:
        the MicrosoftGraphAttachment object itself.
      • size

        public Integer size()
        Get the size property: The length of the attachment in bytes.
        Returns:
        the size value.
      • withSize

        public MicrosoftGraphAttachment withSize​(Integer size)
        Set the size property: The length of the attachment in bytes.
        Parameters:
        size - the size value to set.
        Returns:
        the MicrosoftGraphAttachment object itself.