class Google::Apis::BloggerV3::Comment
Attributes
Data about the blog containing this comment. Corresponds to the JSON property `blog` @return [Google::Apis::BloggerV3::Comment::Blog]
The actual content of the comment. May include HTML markup. Corresponds to the JSON property `content` @return [String]
The identifier for this resource. Corresponds to the JSON property `id` @return [String]
Data about the comment this is in reply to. Corresponds to the JSON property `inReplyTo` @return [Google::Apis::BloggerV3::Comment::InReplyTo]
The kind of this entry. Always blogger#comment. Corresponds to the JSON property `kind` @return [String]
Data about the post containing this comment. Corresponds to the JSON property `post` @return [Google::Apis::BloggerV3::Comment::Post]
RFC 3339 date-time when this comment was published. Corresponds to the JSON property `published` @return [String]
The API REST URL to fetch this resource from. Corresponds to the JSON property `selfLink` @return [String]
The status of the comment (only populated for admin users). Corresponds to the JSON property `status` @return [String]
RFC 3339 date-time when this comment was last updated. Corresponds to the JSON property `updated` @return [String]
Public Class Methods
# File lib/google/apis/blogger_v3/classes.rb, line 374 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/blogger_v3/classes.rb, line 379 def update!(**args) @author = args[:author] if args.key?(:author) @blog = args[:blog] if args.key?(:blog) @content = args[:content] if args.key?(:content) @id = args[:id] if args.key?(:id) @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to) @kind = args[:kind] if args.key?(:kind) @post = args[:post] if args.key?(:post) @published = args[:published] if args.key?(:published) @self_link = args[:self_link] if args.key?(:self_link) @status = args[:status] if args.key?(:status) @updated = args[:updated] if args.key?(:updated) end