Class: Google::Apis::FirebasecrashlyticsV1alpha::Note

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

Overview

Developer notes for an issue.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Note

Returns a new instance of Note.



1102
1103
1104
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1102

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

Instance Attribute Details

#authorString

Output only. The email of the author of the note. Corresponds to the JSON property author

Returns:

  • (String)


1084
1085
1086
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1084

def author
  @author
end

#bodyString

Immutable. The body of the note. Corresponds to the JSON property body

Returns:

  • (String)


1089
1090
1091
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1089

def body
  @body
end

#create_timeString

Output only. Time when the note was created. Corresponds to the JSON property createTime

Returns:

  • (String)


1094
1095
1096
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1094

def create_time
  @create_time
end

#nameString

Output only. Identifier. Format: "projects/project/apps/app/issues/issue/ notes/note". Corresponds to the JSON property name

Returns:

  • (String)


1100
1101
1102
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1100

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1107
1108
1109
1110
1111
1112
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1107

def update!(**args)
  @author = args[:author] if args.key?(:author)
  @body = args[:body] if args.key?(:body)
  @create_time = args[:create_time] if args.key?(:create_time)
  @name = args[:name] if args.key?(:name)
end