Show / Hide Table of Contents

Class MessagePart

A single MIME message part.

Inheritance
object
MessagePart
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Gmail.v1.Data
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class MessagePart : IDirectResponseSchema

Properties

Body

The message part body for this part, which may be empty for container MIME message parts.

Declaration
[JsonProperty("body")]
public virtual MessagePartBody Body { get; set; }
Property Value
Type Description
MessagePartBody

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Filename

The filename of the attachment. Only present if this message part represents an attachment.

Declaration
[JsonProperty("filename")]
public virtual string Filename { get; set; }
Property Value
Type Description
string

Headers

List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

Declaration
[JsonProperty("headers")]
public virtual IList<MessagePartHeader> Headers { get; set; }
Property Value
Type Description
IList<MessagePartHeader>

MimeType

The MIME type of the message part.

Declaration
[JsonProperty("mimeType")]
public virtual string MimeType { get; set; }
Property Value
Type Description
string

PartId

The immutable ID of the message part.

Declaration
[JsonProperty("partId")]
public virtual string PartId { get; set; }
Property Value
Type Description
string

Parts

The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.

Declaration
[JsonProperty("parts")]
public virtual IList<MessagePart> Parts { get; set; }
Property Value
Type Description
IList<MessagePart>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX