Class: Google::Apis::BloggerV2::Blog
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::BloggerV2::Blog
 
- 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
Defined Under Namespace
Instance Attribute Summary collapse
- 
  
    
      #description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The description of this blog. 
- 
  
    
      #id  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The identifier for this resource. 
- 
  
    
      #kind  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The kind of this entry. 
- 
  
    
      #locale  ⇒ Google::Apis::BloggerV2::Blog::Locale 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The locale this Blog is set to. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The name of this blog. 
- 
  
    
      #pages  ⇒ Google::Apis::BloggerV2::Blog::Pages 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The container of pages in this blog. 
- 
  
    
      #posts  ⇒ Google::Apis::BloggerV2::Blog::Posts 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The container of posts in this blog. 
- 
  
    
      #published  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    RFC 3339 date-time when this blog was published. 
- 
  
    
      #self_link  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The API REST URL to fetch this resource from. 
- 
  
    
      #updated  ⇒ DateTime 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    RFC 3339 date-time when this blog was last updated. 
- 
  
    
      #url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The URL where this blog is published. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Blog 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Blog. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Blog
Returns a new instance of Blog
| 84 85 86 | # File 'generated/google/apis/blogger_v2/classes.rb', line 84 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#description ⇒ String
The description of this blog. This is displayed underneath the title.
Corresponds to the JSON property description
| 32 33 34 | # File 'generated/google/apis/blogger_v2/classes.rb', line 32 def description @description end | 
#id ⇒ Fixnum
The identifier for this resource.
Corresponds to the JSON property id
| 37 38 39 | # File 'generated/google/apis/blogger_v2/classes.rb', line 37 def id @id end | 
#kind ⇒ String
The kind of this entry. Always blogger#blog
Corresponds to the JSON property kind
| 42 43 44 | # File 'generated/google/apis/blogger_v2/classes.rb', line 42 def kind @kind end | 
#locale ⇒ Google::Apis::BloggerV2::Blog::Locale
The locale this Blog is set to.
Corresponds to the JSON property locale
| 47 48 49 | # File 'generated/google/apis/blogger_v2/classes.rb', line 47 def locale @locale end | 
#name ⇒ String
The name of this blog. This is displayed as the title.
Corresponds to the JSON property name
| 52 53 54 | # File 'generated/google/apis/blogger_v2/classes.rb', line 52 def name @name end | 
#pages ⇒ Google::Apis::BloggerV2::Blog::Pages
The container of pages in this blog.
Corresponds to the JSON property pages
| 57 58 59 | # File 'generated/google/apis/blogger_v2/classes.rb', line 57 def pages @pages end | 
#posts ⇒ Google::Apis::BloggerV2::Blog::Posts
The container of posts in this blog.
Corresponds to the JSON property posts
| 62 63 64 | # File 'generated/google/apis/blogger_v2/classes.rb', line 62 def posts @posts end | 
#published ⇒ DateTime
RFC 3339 date-time when this blog was published.
Corresponds to the JSON property published
| 67 68 69 | # File 'generated/google/apis/blogger_v2/classes.rb', line 67 def published @published end | 
#self_link ⇒ String
The API REST URL to fetch this resource from.
Corresponds to the JSON property selfLink
| 72 73 74 | # File 'generated/google/apis/blogger_v2/classes.rb', line 72 def self_link @self_link end | 
#updated ⇒ DateTime
RFC 3339 date-time when this blog was last updated.
Corresponds to the JSON property updated
| 77 78 79 | # File 'generated/google/apis/blogger_v2/classes.rb', line 77 def updated @updated end | 
#url ⇒ String
The URL where this blog is published.
Corresponds to the JSON property url
| 82 83 84 | # File 'generated/google/apis/blogger_v2/classes.rb', line 82 def url @url end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 89 90 91 92 93 94 95 96 97 98 99 100 101 | # File 'generated/google/apis/blogger_v2/classes.rb', line 89 def update!(**args) @description = args[:description] if args.key?(:description) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @locale = args[:locale] if args.key?(:locale) @name = args[:name] if args.key?(:name) @pages = args[:pages] if args.key?(:pages) @posts = args[:posts] if args.key?(:posts) @published = args[:published] if args.key?(:published) @self_link = args[:self_link] if args.key?(:self_link) @updated = args[:updated] if args.key?(:updated) @url = args[:url] if args.key?(:url) end |