Class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse

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

Overview

Response from listing ClaimReview markup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse

Returns a new instance of GoogleFactcheckingFactchecktoolsV1alpha1ListClaimReviewMarkupPagesResponse.



444
445
446
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 444

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

Instance Attribute Details

#claim_review_markup_pagesArray<Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReviewMarkupPage>

The result list of pages of ClaimReview markup. Corresponds to the JSON property claimReviewMarkupPages



436
437
438
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 436

def claim_review_markup_pages
  @claim_review_markup_pages
end

#next_page_tokenString

The next pagination token in the Search response. It should be used as the page_token for the following request. An empty value means no more results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


442
443
444
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 442

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



449
450
451
452
# File 'lib/google/apis/factchecktools_v1alpha1/classes.rb', line 449

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