Class: Google::Apis::AndroidpublisherV3::Comment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Comment

Returns a new instance of Comment.



291
292
293
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 291

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

Instance Attribute Details

#developer_commentGoogle::Apis::AndroidpublisherV3::DeveloperComment

A comment from a developer. Corresponds to the JSON property developerComment



284
285
286
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 284

def developer_comment
  @developer_comment
end

#user_commentGoogle::Apis::AndroidpublisherV3::UserComment

A comment from a user. Corresponds to the JSON property userComment



289
290
291
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 289

def user_comment
  @user_comment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



296
297
298
299
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 296

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