Show / Hide Table of Contents

Class MessagePart

A single MIME message part.

Inheritance
System.Object
MessagePart
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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
System.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
System.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
System.Collections.Generic.IList<MessagePartHeader>

MimeType

The MIME type of the message part.

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

PartId

The immutable ID of the message part.

Declaration
[JsonProperty("partId")]
public virtual string PartId { get; set; }
Property Value
Type Description
System.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
System.Collections.Generic.IList<MessagePart>

Implements

IDirectResponseSchema
Back to top