Class: Google::Apis::BloggerV3::Comment::Author
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Comment::Author
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v3/classes.rb,
generated/google/apis/blogger_v3/representations.rb,
generated/google/apis/blogger_v3/representations.rb
Overview
The author of this Comment.
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name.
-
#id ⇒ String
The identifier of the Comment creator.
-
#image ⇒ Google::Apis::BloggerV3::Comment::Author::Image
The comment creator's avatar.
-
#url ⇒ String
The URL of the Comment creator's Profile page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Author
constructor
A new instance of Author.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Author
Returns a new instance of Author
417 418 419 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name.
Corresponds to the JSON property displayName
400 401 402 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 400 def display_name @display_name end |
#id ⇒ String
The identifier of the Comment creator.
Corresponds to the JSON property id
405 406 407 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 405 def id @id end |
#image ⇒ Google::Apis::BloggerV3::Comment::Author::Image
The comment creator's avatar.
Corresponds to the JSON property image
410 411 412 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 410 def image @image end |
#url ⇒ String
The URL of the Comment creator's Profile page.
Corresponds to the JSON property url
415 416 417 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 415 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 425 426 427 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 422 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @id = args[:id] if args.key?(:id) @image = args[:image] if args.key?(:image) @url = args[:url] if args.key?(:url) end |