Class ActivityContentDetails
Details about the content of an activity: the video that was shared, the channel that was subscribed to, etc.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class ActivityContentDetails : IDirectResponseSchema
Properties
Bulletin
The bulletin object contains details about a channel bulletin post. This object is only present if the snippet.type is bulletin.
Declaration
[JsonProperty("bulletin")]
public virtual ActivityContentDetailsBulletin Bulletin { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsBulletin |
ChannelItem
The channelItem object contains details about a resource which was added to a channel. This property is only present if the snippet.type is channelItem.
Declaration
[JsonProperty("channelItem")]
public virtual ActivityContentDetailsChannelItem ChannelItem { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsChannelItem |
Comment
The comment object contains information about a resource that received a comment. This property is only present if the snippet.type is comment.
Declaration
[JsonProperty("comment")]
public virtual ActivityContentDetailsComment Comment { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsComment |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Favorite
The favorite object contains information about a video that was marked as a favorite video. This property is only present if the snippet.type is favorite.
Declaration
[JsonProperty("favorite")]
public virtual ActivityContentDetailsFavorite Favorite { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsFavorite |
Like
The like object contains information about a resource that received a positive (like) rating. This property is only present if the snippet.type is like.
Declaration
[JsonProperty("like")]
public virtual ActivityContentDetailsLike Like { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsLike |
PlaylistItem
The playlistItem object contains information about a new playlist item. This property is only present if the snippet.type is playlistItem.
Declaration
[JsonProperty("playlistItem")]
public virtual ActivityContentDetailsPlaylistItem PlaylistItem { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsPlaylistItem |
PromotedItem
The promotedItem object contains details about a resource which is being promoted. This property is only present if the snippet.type is promotedItem.
Declaration
[JsonProperty("promotedItem")]
public virtual ActivityContentDetailsPromotedItem PromotedItem { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsPromotedItem |
Recommendation
The recommendation object contains information about a recommended resource. This property is only present if the snippet.type is recommendation.
Declaration
[JsonProperty("recommendation")]
public virtual ActivityContentDetailsRecommendation Recommendation { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsRecommendation |
Social
The social object contains details about a social network post. This property is only present if the snippet.type is social.
Declaration
[JsonProperty("social")]
public virtual ActivityContentDetailsSocial Social { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsSocial |
Subscription
The subscription object contains information about a channel that a user subscribed to. This property is only present if the snippet.type is subscription.
Declaration
[JsonProperty("subscription")]
public virtual ActivityContentDetailsSubscription Subscription { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsSubscription |
Upload
The upload object contains information about the uploaded video. This property is only present if the snippet.type is upload.
Declaration
[JsonProperty("upload")]
public virtual ActivityContentDetailsUpload Upload { get; set; }
Property Value
Type | Description |
---|---|
ActivityContentDetailsUpload |