Class: Google::Apis::AndroidpublisherV2::Comment

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



336
337
338
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 336

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

Instance Attribute Details

#developer_commentGoogle::Apis::AndroidpublisherV2::DeveloperComment

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



329
330
331
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 329

def developer_comment
  @developer_comment
end

#user_commentGoogle::Apis::AndroidpublisherV2::UserComment

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



334
335
336
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 334

def user_comment
  @user_comment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



341
342
343
344
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 341

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