Class: Google::Apis::AndroidpublisherV2::DeveloperComment

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) ⇒ DeveloperComment

Returns a new instance of DeveloperComment



399
400
401
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 399

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

Instance Attribute Details

#last_modifiedGoogle::Apis::AndroidpublisherV2::Timestamp

The last time at which this comment was updated. Corresponds to the JSON property lastModified



392
393
394
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 392

def last_modified
  @last_modified
end

#textString

The content of the comment, i.e. reply body. Corresponds to the JSON property text

Returns:

  • (String)


397
398
399
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 397

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



404
405
406
407
# File 'generated/google/apis/androidpublisher_v2/classes.rb', line 404

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