Class: Google::Apis::PlusV1::CommentFeed

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

#etagString

ETag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)


1263
1264
1265
# File 'generated/google/apis/plus_v1/classes.rb', line 1263

def etag
  @etag
end

#idString

The ID of this collection of comments. Corresponds to the JSON property id

Returns:

  • (String)


1268
1269
1270
# File 'generated/google/apis/plus_v1/classes.rb', line 1268

def id
  @id
end

#itemsArray<Google::Apis::PlusV1::Comment>

The comments in this page of results. Corresponds to the JSON property items

Returns:



1273
1274
1275
# File 'generated/google/apis/plus_v1/classes.rb', line 1273

def items
  @items
end

#kindString

Identifies this resource as a collection of comments. Value: "plus#commentFeed" . Corresponds to the JSON property kind

Returns:

  • (String)


1279
1280
1281
# File 'generated/google/apis/plus_v1/classes.rb', line 1279

def kind
  @kind
end

Link to the next page of activities. Corresponds to the JSON property nextLink

Returns:

  • (String)


1284
1285
1286
# File 'generated/google/apis/plus_v1/classes.rb', line 1284

def next_link
  @next_link
end

#next_page_tokenString

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

Returns:

  • (String)


1290
1291
1292
# File 'generated/google/apis/plus_v1/classes.rb', line 1290

def next_page_token
  @next_page_token
end

#titleString

The title of this collection of comments. Corresponds to the JSON property title

Returns:

  • (String)


1295
1296
1297
# File 'generated/google/apis/plus_v1/classes.rb', line 1295

def title
  @title
end

#updatedDateTime

The time at which this collection of comments was last updated. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property updated

Returns:

  • (DateTime)


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