Class: Google::Apis::BloggerV2::Blog::Posts
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV2::Blog::Posts
- 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 container of posts in this blog.
Instance Attribute Summary collapse
-
#self_link ⇒ String
The URL of the container for posts in this blog.
-
#total_items ⇒ Fixnum
The count of posts in this blog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Posts
constructor
A new instance of Posts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Posts
Returns a new instance of Posts
173 174 175 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 173 def initialize(**args) update!(**args) end |
Instance Attribute Details
#self_link ⇒ String
The URL of the container for posts in this blog.
Corresponds to the JSON property selfLink
166 167 168 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 166 def self_link @self_link end |
#total_items ⇒ Fixnum
The count of posts in this blog.
Corresponds to the JSON property totalItems
171 172 173 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 171 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
178 179 180 181 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 178 def update!(**args) @self_link = args[:self_link] if args.key?(:self_link) @total_items = args[:total_items] if args.key?(:total_items) end |