GetFeedbackMessageResult class

Result data returned by getFeedbackMessage.

Constructors

GetFeedbackMessageResult({required String body, required String createTime, required String image, required String name, required Map<String, dynamic> operatorFeedbackMetadata, required Map<String, dynamic> requesterFeedbackMetadata})
Creates a new GetFeedbackMessageResult. body String content of the feedback. Maximum of 10000 characters. createTime Create time. image The image storing this feedback if the feedback is an image representing operator's comments. name Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}' operatorFeedbackMetadata Required. requesterFeedbackMetadata Required.
const
GetFeedbackMessageResult.fromMap(Map<String, dynamic> map)
factory

Properties

body → String
String content of the feedback. Maximum of 10000 characters.
final
createTime → String
Create time.
final
hashCode → int
The hash code for this object.
no setterinherited
image → String
The image storing this feedback if the feedback is an image representing operator's comments.
final
name → String
Name of the feedback message in a feedback thread. Format: 'project/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset_id}/feedbackThreads/{feedback_thread_id}/feedbackMessage/{feedback_message_id}'
final
operatorFeedbackMetadata → Map<String, dynamic>
final
requesterFeedbackMetadata → Map<String, dynamic>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited