Class: Google::Apis::BloggerV3::Blog::Posts
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Blog::Posts
- 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 container of posts in this blog.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BloggerV3::Post>
The List of Posts for this Blog.
-
#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.
190 191 192 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 190 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BloggerV3::Post>
The List of Posts for this Blog.
Corresponds to the JSON property items
178 179 180 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 178 def items @items end |
#self_link ⇒ String
The URL of the container for posts in this blog.
Corresponds to the JSON property selfLink
183 184 185 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 183 def self_link @self_link end |
#total_items ⇒ Fixnum
The count of posts in this blog.
Corresponds to the JSON property totalItems
188 189 190 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 188 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
195 196 197 198 199 |
# File 'generated/google/apis/blogger_v3/classes.rb', line 195 def update!(**args) @items = args[:items] if args.key?(:items) @self_link = args[:self_link] if args.key?(:self_link) @total_items = args[:total_items] if args.key?(:total_items) end |