Class: Google::Apis::MerchantapiReviewsV1beta::ProductReviewStatus

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

Overview

Product review status.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ProductReviewStatus

Returns a new instance of ProductReviewStatus.



838
839
840
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 838

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

Instance Attribute Details

#create_timeString

Output only. Date on which the item has been created, in ISO 8601 format. Corresponds to the JSON property createTime

Returns:

  • (String)


820
821
822
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 820

def create_time
  @create_time
end

#destination_statusesArray<Google::Apis::MerchantapiReviewsV1beta::ProductReviewDestinationStatus>

Output only. The intended destinations for the product review. Corresponds to the JSON property destinationStatuses



825
826
827
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 825

def destination_statuses
  @destination_statuses
end

#item_level_issuesArray<Google::Apis::MerchantapiReviewsV1beta::ProductReviewItemLevelIssue>

Output only. A list of all issues associated with the product review. Corresponds to the JSON property itemLevelIssues



830
831
832
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 830

def item_level_issues
  @item_level_issues
end

#last_update_timeString

Output only. Date on which the item has been last updated, in ISO 8601 format. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


836
837
838
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 836

def last_update_time
  @last_update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



843
844
845
846
847
848
# File 'lib/google/apis/merchantapi_reviews_v1beta/classes.rb', line 843

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @destination_statuses = args[:destination_statuses] if args.key?(:destination_statuses)
  @item_level_issues = args[:item_level_issues] if args.key?(:item_level_issues)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
end