class Google::Apis::BloggerV3::Comment

Attributes

author[RW]

The author of this Comment. Corresponds to the JSON property `author` @return [Google::Apis::BloggerV3::Comment::Author]

blog[RW]

Data about the blog containing this comment. Corresponds to the JSON property `blog` @return [Google::Apis::BloggerV3::Comment::Blog]

content[RW]

The actual content of the comment. May include HTML markup. Corresponds to the JSON property `content` @return [String]

id[RW]

The identifier for this resource. Corresponds to the JSON property `id` @return [String]

in_reply_to[RW]

Data about the comment this is in reply to. Corresponds to the JSON property `inReplyTo` @return [Google::Apis::BloggerV3::Comment::InReplyTo]

kind[RW]

The kind of this entry. Always blogger#comment Corresponds to the JSON property `kind` @return [String]

post[RW]

Data about the post containing this comment. Corresponds to the JSON property `post` @return [Google::Apis::BloggerV3::Comment::Post]

published[RW]

RFC 3339 date-time when this comment was published. Corresponds to the JSON property `published` @return [DateTime]

status[RW]

The status of the comment (only populated for admin users) Corresponds to the JSON property `status` @return [String]

updated[RW]

RFC 3339 date-time when this comment was last updated. Corresponds to the JSON property `updated` @return [DateTime]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/blogger_v3/classes.rb, line 374
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/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