Show / Hide Table of Contents

Class MessagePartBody

The body of a single MIME message part.

Inheritance
System.Object
MessagePartBody
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 MessagePartBody : IDirectResponseSchema

Properties

AttachmentId

When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.

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

Data

The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.

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

ETag

The ETag of the item.

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

Size

Number of bytes for the message part data (encoding notwithstanding).

Declaration
[JsonProperty("size")]
public virtual int? Size { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

Implements

IDirectResponseSchema
Back to top