Class: Google::Apis::CloudsupportV2beta::ShowFeedResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb

Overview

The response message for the ShowFeed endpoint.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShowFeedResponse

Returns a new instance of ShowFeedResponse.



1293
1294
1295
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1293

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#feed_itemsArray<Google::Apis::CloudsupportV2beta::FeedItem>

The list of feed items associated with the given Case. Corresponds to the JSON property feedItems



1284
1285
1286
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1284

def feed_items
  @feed_items
end

#next_page_tokenString

A token to retrieve the next page of results. This should be set in the page_token field of subsequent ShowFeedRequests. If unspecified, there are no more results to retrieve. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1291
1292
1293
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1291

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1298
1299
1300
1301
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1298

def update!(**args)
  @feed_items = args[:feed_items] if args.key?(:feed_items)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end