Class: Google::Apis::BloggerV3::Blog::Pages
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::Blog::Pages
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/blogger_v3/classes.rb,
lib/google/apis/blogger_v3/representations.rb,
lib/google/apis/blogger_v3/representations.rb
Overview
The container of pages in this blog.
Instance Attribute Summary collapse
-
#self_link ⇒ String
The URL of the container for pages in this blog.
-
#total_items ⇒ Fixnum
The count of pages in this blog.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pages
constructor
A new instance of Pages.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pages
Returns a new instance of Pages.
160 161 162 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 160 def initialize(**args) update!(**args) end |
Instance Attribute Details
#self_link ⇒ String
The URL of the container for pages in this blog.
Corresponds to the JSON property selfLink
153 154 155 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 153 def self_link @self_link end |
#total_items ⇒ Fixnum
The count of pages in this blog.
Corresponds to the JSON property totalItems
158 159 160 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 158 def total_items @total_items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
165 166 167 168 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 165 def update!(**args) @self_link = args[:self_link] if args.key?(:self_link) @total_items = args[:total_items] if args.key?(:total_items) end |