Show / Hide Table of Contents

Class MessagePartBody

The body of a single MIME message part.

Inheritance
object
MessagePartBody
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 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
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
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
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
int?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX