Class: Google::Apis::BloggerV2::Post::Author
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BloggerV2::Post::Author
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/blogger_v2/classes.rb,
 generated/google/apis/blogger_v2/representations.rb,
 generated/google/apis/blogger_v2/representations.rb
Overview
The author of this Post.
Defined Under Namespace
Classes: Image
Instance Attribute Summary collapse
- 
  
    
      #display_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The display name. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier of the Post creator. 
- 
  
    
      #image  ⇒ Google::Apis::BloggerV2::Post::Author::Image 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The Post author's avatar. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL of the Post 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
| 715 716 717 | # File 'generated/google/apis/blogger_v2/classes.rb', line 715 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#display_name ⇒ String
The display name.
Corresponds to the JSON property displayName
| 698 699 700 | # File 'generated/google/apis/blogger_v2/classes.rb', line 698 def display_name @display_name end | 
#id ⇒ String
The identifier of the Post creator.
Corresponds to the JSON property id
| 703 704 705 | # File 'generated/google/apis/blogger_v2/classes.rb', line 703 def id @id end | 
#image ⇒ Google::Apis::BloggerV2::Post::Author::Image
The Post author's avatar.
Corresponds to the JSON property image
| 708 709 710 | # File 'generated/google/apis/blogger_v2/classes.rb', line 708 def image @image end | 
#url ⇒ String
The URL of the Post creator's Profile page.
Corresponds to the JSON property url
| 713 714 715 | # File 'generated/google/apis/blogger_v2/classes.rb', line 713 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 720 721 722 723 724 725 | # File 'generated/google/apis/blogger_v2/classes.rb', line 720 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 |