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.



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

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)


866
867
868
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 866

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)


872
873
874
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 872

def category
  @category
end

#titleString

Title for the annotation. Corresponds to the JSON property title

Returns:

  • (String)


877
878
879
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 877

def title
  @title
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



884
885
886
887
888
# File 'lib/google/apis/playdeveloperreporting_v1beta1/classes.rb', line 884

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