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

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



399
400
401
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 399

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



391
392
393
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 391

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)


397
398
399
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 397

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 404

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