Class LfA2aV1Part
Part represents a container for a section of communication content. Parts can be purely textual, some sort of
file (image, video, etc) or a structured data blob (i.e. JSON).
Implements
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1beta.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1beta.dll
Syntax
public class LfA2aV1Part : IDirectResponseSchema
Properties
Data
Arbitrary structured data as a JSON value (object, array, string, number, boolean, or null).
Declaration
[JsonProperty("data")]
public virtual object Data { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Filename
An optional filename for the file (e.g., "document.pdf").
Declaration
[JsonProperty("filename")]
public virtual string Filename { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MediaType
The media_type (MIME type) of the part content (e.g., "text/plain", "application/json", "image/png"). This
field is available for all part types.
Declaration
[JsonProperty("mediaType")]
public virtual string MediaType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Metadata
Optional. metadata associated with this part.
Declaration
[JsonProperty("metadata")]
public virtual IDictionary<string, object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |
Raw
The raw byte content of a file. In JSON serialization, this is encoded as a base64 string.
Declaration
[JsonProperty("raw")]
public virtual string Raw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Text
The string content of the text part.
Declaration
[JsonProperty("text")]
public virtual string Text { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Url
A url pointing to the file's content.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |