View Source GoogleApi.DriveActivity.V2.Model.Comment (google_api_drive_activity v0.8.0)

A change about comments on an object.

Attributes

  • assignment (type: GoogleApi.DriveActivity.V2.Model.Assignment.t, default: nil) - A change on an assignment.
  • mentionedUsers (type: list(GoogleApi.DriveActivity.V2.Model.User.t), default: nil) - Users who are mentioned in this comment.
  • post (type: GoogleApi.DriveActivity.V2.Model.Post.t, default: nil) - A change on a regular posted comment.
  • suggestion (type: GoogleApi.DriveActivity.V2.Model.Suggestion.t, default: nil) - A change on a suggestion.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DriveActivity.V2.Model.Comment{
  assignment: GoogleApi.DriveActivity.V2.Model.Assignment.t() | nil,
  mentionedUsers: [GoogleApi.DriveActivity.V2.Model.User.t()] | nil,
  post: GoogleApi.DriveActivity.V2.Model.Post.t() | nil,
  suggestion: GoogleApi.DriveActivity.V2.Model.Suggestion.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.