Class: Google::Apis::BloggerV3::Page::Author
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Page::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 Page.
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
-
#display_name ⇒ String
The display name.
-
#id ⇒ String
The identifier of the Page creator.
-
#image ⇒ Google::Apis::BloggerV3::Page::Author::Image
The page author's avatar.
-
#url ⇒ String
The URL of the Page 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
659 660 661 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
The display name.
Corresponds to the JSON property displayName
642 643 644 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 642 def display_name @display_name end |
#id ⇒ String
The identifier of the Page creator.
Corresponds to the JSON property id
647 648 649 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 647 def id @id end |
#image ⇒ Google::Apis::BloggerV3::Page::Author::Image
The page author's avatar.
Corresponds to the JSON property image
652 653 654 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 652 def image @image end |
#url ⇒ String
The URL of the Page creator's Profile page.
Corresponds to the JSON property url
657 658 659 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 657 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
664 665 666 667 668 669 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 664 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 |