Class Activity.ObjectData.AttachmentsData
Inheritance
System.Object
Activity.ObjectData.AttachmentsData
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.Plus.v1.Data
Assembly: Google.Apis.Plus.v1.dll
Syntax
public class AttachmentsData
Properties
Content
If the attachment is an article, this property contains a snippet of text from the article. It can also include descriptions for other types.
Declaration
[JsonProperty("content")]
public virtual string Content { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DisplayName
The title of the attachment, such as a photo caption or an article title.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Embed
If the attachment is a video, the embeddable link.
Declaration
[JsonProperty("embed")]
public virtual Activity.ObjectData.AttachmentsData.EmbedData Embed { get; set; }
Property Value
| Type | Description |
|---|---|
| Activity.ObjectData.AttachmentsData.EmbedData |
FullImage
The full image URL for photo attachments.
Declaration
[JsonProperty("fullImage")]
public virtual Activity.ObjectData.AttachmentsData.FullImageData FullImage { get; set; }
Property Value
| Type | Description |
|---|---|
| Activity.ObjectData.AttachmentsData.FullImageData |
Id
The ID of the attachment.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Image
The preview image for photos or videos.
Declaration
[JsonProperty("image")]
public virtual Activity.ObjectData.AttachmentsData.ImageData Image { get; set; }
Property Value
| Type | Description |
|---|---|
| Activity.ObjectData.AttachmentsData.ImageData |
ObjectType
The type of media object. Possible values include, but are not limited to, the following values: - "photo" - A photo. - "album" - A photo album. - "video" - A video. - "article" - An article, specified by a link.
Declaration
[JsonProperty("objectType")]
public virtual string ObjectType { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Thumbnails
If the attachment is an album, this property is a list of potential additional thumbnails from the album.
Declaration
[JsonProperty("thumbnails")]
public virtual IList<Activity.ObjectData.AttachmentsData.ThumbnailsData> Thumbnails { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IList<Activity.ObjectData.AttachmentsData.ThumbnailsData> |
Url
The link to the attachment, which should be of type text/html.
Declaration
[JsonProperty("url")]
public virtual string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |