Class: Google::Apis::PlusDomainsV1::CommentFeed

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_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



1622
1623
1624
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1622

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)


1582
1583
1584
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1582

def etag
  @etag
end

#idString

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

Returns:

  • (String)


1587
1588
1589
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1587

def id
  @id
end

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

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



1592
1593
1594
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1592

def items
  @items
end

#kindString

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

Returns:

  • (String)


1598
1599
1600
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1598

def kind
  @kind
end

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

Returns:

  • (String)


1603
1604
1605
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1603

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)


1609
1610
1611
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1609

def next_page_token
  @next_page_token
end

#titleString

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

Returns:

  • (String)


1614
1615
1616
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1614

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)


1620
1621
1622
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1620

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1627

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