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



269
270
271
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 269

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



262
263
264
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 262

def developer_comment
  @developer_comment
end

#user_commentGoogle::Apis::AndroidpublisherV2::UserComment

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



267
268
269
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 267

def user_comment
  @user_comment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



274
275
276
277
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 274

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