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



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

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



278
279
280
# File 'generated/google/apis/androidpublisher_v3/classes.rb', line 278

def developer_comment
  @developer_comment
end

#user_commentGoogle::Apis::AndroidpublisherV3::UserComment

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



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

def user_comment
  @user_comment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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