Class: Google::Apis::PlaydeveloperreportingV1beta1::GooglePlayDeveloperReportingV1beta1IssueAnnotation

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

Overview

Representation of an annotation message for an issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePlayDeveloperReportingV1beta1IssueAnnotation

Returns a new instance of GooglePlayDeveloperReportingV1beta1IssueAnnotation.



882
883
884
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 882

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

Instance Attribute Details

#bodyString

Contains the contents of the annotation message. Corresponds to the JSON property body

Returns:

  • (String)


869
870
871
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 869

def body
  @body
end

#categoryString

Category that the annotation belongs to. An annotation will belong to a single category. Example categories: "Potential fix", "Insight". Corresponds to the JSON property category

Returns:

  • (String)


875
876
877
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 875

def category
  @category
end

#titleString

Title for the annotation. Corresponds to the JSON property title

Returns:

  • (String)


880
881
882
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 880

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



887
888
889
890
891
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 887

def update!(**args)
  @body = args[:body] if args.key?(:body)
  @category = args[:category] if args.key?(:category)
  @title = args[:title] if args.key?(:title)
end