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

A comment on a file.

Attributes

  • legacyCommentId (type: String.t, default: nil) - The comment in the discussion thread. This identifier is an opaque string compatible with the Drive API; see https://developers.google.com/drive/v3/reference/comments/get
  • legacyDiscussionId (type: String.t, default: nil) - The discussion thread to which the comment was added. This identifier is an opaque string compatible with the Drive API and references the first comment in a discussion; see https://developers.google.com/drive/v3/reference/comments/get
  • linkToDiscussion (type: String.t, default: nil) - The link to the discussion thread containing this comment, for example, https://docs.google.com/DOCUMENT_ID/edit?disco=THREAD_ID.
  • parent (type: GoogleApi.DriveActivity.V2.Model.DriveItem.t, default: nil) - The Drive item containing this comment.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DriveActivity.V2.Model.FileComment{
  legacyCommentId: String.t() | nil,
  legacyDiscussionId: String.t() | nil,
  linkToDiscussion: String.t() | nil,
  parent: GoogleApi.DriveActivity.V2.Model.DriveItem.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.