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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.