Class: Google::Apis::PlusV1::CommentFeed
- Inherits:
-
Object
- Object
- Google::Apis::PlusV1::CommentFeed
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_v1/representations.rb
Instance Attribute Summary collapse
-
#etag ⇒ String
ETag of this response for caching purposes.
-
#id ⇒ String
The ID of this collection of comments.
-
#items ⇒ Array<Google::Apis::PlusV1::Comment>
The comments in this page of results.
-
#kind ⇒ String
Identifies this resource as a collection of comments.
-
#next_link ⇒ String
Link to the next page of activities.
-
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#title ⇒ String
The title of this collection of comments.
-
#updated ⇒ DateTime
The time at which this collection of comments was last updated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CommentFeed
constructor
A new instance of CommentFeed.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CommentFeed
Returns a new instance of CommentFeed
1303 1304 1305 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1303 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etag ⇒ String
ETag of this response for caching purposes.
Corresponds to the JSON property etag
1263 1264 1265 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1263 def etag @etag end |
#id ⇒ String
The ID of this collection of comments.
Corresponds to the JSON property id
1268 1269 1270 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1268 def id @id end |
#items ⇒ Array<Google::Apis::PlusV1::Comment>
The comments in this page of results.
Corresponds to the JSON property items
1273 1274 1275 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1273 def items @items end |
#kind ⇒ String
Identifies this resource as a collection of comments. Value: "plus#commentFeed"
.
Corresponds to the JSON property kind
1279 1280 1281 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1279 def kind @kind end |
#next_link ⇒ String
Link to the next page of activities.
Corresponds to the JSON property nextLink
1284 1285 1286 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1284 def next_link @next_link end |
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
Provide this value in a subsequent request to return the next page of results.
Corresponds to the JSON property nextPageToken
1290 1291 1292 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1290 def next_page_token @next_page_token end |
#title ⇒ String
The title of this collection of comments.
Corresponds to the JSON property title
1295 1296 1297 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1295 def title @title end |
#updated ⇒ DateTime
The time at which this collection of comments was last updated. Formatted as
an RFC 3339 timestamp.
Corresponds to the JSON property updated
1301 1302 1303 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1301 def updated @updated end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 |
# File 'generated/google/apis/plus_v1/classes.rb', line 1308 def update!(**args) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_link = args[:next_link] if args.key?(:next_link) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @title = args[:title] if args.key?(:title) @updated = args[:updated] if args.key?(:updated) end |