class Google::Apis::MybusinessqandaV1::ListAnswersResponse
Response message for QuestionsAndAnswers.ListAnswers
Attributes
answers[RW]
The requested answers. Corresponds to the JSON property ‘answers` @return [Array<Google::Apis::MybusinessqandaV1::Answer>]
next_page_token[RW]
If the number of answers exceeds the requested max page size, this field is populated with a token to fetch the next page of answers on a subsequent call. If there are no more answers, this field is not present in the response. Corresponds to the JSON property ‘nextPageToken` @return [String]
total_size[RW]
The total number of answers posted for this question across all pages. Corresponds to the JSON property ‘totalSize` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/mybusinessqanda_v1/classes.rb, line 144 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/mybusinessqanda_v1/classes.rb, line 149 def update!(**args) @answers = args[:answers] if args.key?(:answers) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @total_size = args[:total_size] if args.key?(:total_size) end