class Google::Apis::MybusinessqandaV1::ListQuestionsResponse

Response message for QuestionsAndAnswers.ListQuestions

Attributes

next_page_token[RW]

If the number of questions exceeds the requested max page size, this field is populated with a token to fetch the next page of questions on a subsequent call. If there are no more questions, this field is not present in the response. Corresponds to the JSON property ‘nextPageToken` @return [String]

questions[RW]

The requested questions, Corresponds to the JSON property ‘questions` @return [Array<Google::Apis::MybusinessqandaV1::Question>]

total_size[RW]

The total number of questions posted for this location 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 178
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 183
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @questions = args[:questions] if args.key?(:questions)
  @total_size = args[:total_size] if args.key?(:total_size)
end