Class: Google::Apis::BloggerV3::PostList
- Inherits:
-
Object
- Object
- Google::Apis::BloggerV3::PostList
- 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
Instance Attribute Summary collapse
-
#etag ⇒ String
Etag of the response.
-
#items ⇒ Array<Google::Apis::BloggerV3::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.
Constructor Details
#initialize(**args) ⇒ PostList
Returns a new instance of PostList.
1134 1135 1136 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
Etag of the response.
Corresponds to the JSON property etag
1112 1113 1114 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1112 def etag @etag end |
#items ⇒ Array<Google::Apis::BloggerV3::Post>
The list of Posts for this Blog.
Corresponds to the JSON property items
1117 1118 1119 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1117 def items @items end |
#kind ⇒ String
The kind of this entity. Always blogger#postList.
Corresponds to the JSON property kind
1122 1123 1124 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1122 def kind @kind end |
#next_page_token ⇒ String
Pagination token to fetch the next page, if one exists.
Corresponds to the JSON property nextPageToken
1127 1128 1129 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1127 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
1132 1133 1134 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1132 def prev_page_token @prev_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1139 1140 1141 1142 1143 1144 1145 |
# File 'lib/google/apis/blogger_v3/classes.rb', line 1139 def update!(**args) @etag = args[:etag] if args.key?(:etag) @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 |