Class: Google::Apis::BloggerV2::PostList
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV2::PostList
- 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
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::BloggerV2::Post>
The list of Posts for this Blog.
-
#kind ⇒ String
The kind of this entity.
-
#next_page_token ⇒ String
Pagination token to fetch the next page, if one exists.
-
#prev_page_token ⇒ String
Pagination token to fetch the previous page, if one exists.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostList
constructor
A new instance of PostList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PostList
Returns a new instance of PostList
816 817 818 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 816 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::BloggerV2::Post>
The list of Posts for this Blog.
Corresponds to the JSON property items
799 800 801 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 799 def items @items end |
#kind ⇒ String
The kind of this entity. Always blogger#postList
Corresponds to the JSON property kind
804 805 806 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 804 def kind @kind end |
#next_page_token ⇒ String
Pagination token to fetch the next page, if one exists.
Corresponds to the JSON property nextPageToken
809 810 811 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 809 def next_page_token @next_page_token end |
#prev_page_token ⇒ String
Pagination token to fetch the previous page, if one exists.
Corresponds to the JSON property prevPageToken
814 815 816 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 814 def prev_page_token @prev_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
821 822 823 824 825 826 |
# File 'generated/google/apis/blogger_v2/classes.rb', line 821 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @prev_page_token = args[:prev_page_token] if args.key?(:prev_page_token) end |