Class: Google::Apis::AndroidpublisherV3::Review

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

Overview

An Android app review.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Review

Returns a new instance of Review.



4907
4908
4909
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4907

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

Instance Attribute Details

#author_nameString

The name of the user who wrote the review. Corresponds to the JSON property authorName

Returns:

  • (String)


4895
4896
4897
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4895

def author_name
  @author_name
end

#commentsArray<Google::Apis::AndroidpublisherV3::Comment>

A repeated field containing comments for the review. Corresponds to the JSON property comments



4900
4901
4902
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4900

def comments
  @comments
end

#review_idString

Unique identifier for this review. Corresponds to the JSON property reviewId

Returns:

  • (String)


4905
4906
4907
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4905

def review_id
  @review_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4912
4913
4914
4915
4916
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 4912

def update!(**args)
  @author_name = args[:author_name] if args.key?(:author_name)
  @comments = args[:comments] if args.key?(:comments)
  @review_id = args[:review_id] if args.key?(:review_id)
end