View Source GoogleApi.Keep.V1.Model.Note (google_api_keep v0.3.0)

A single note.

Attributes

  • attachments (type: list(GoogleApi.Keep.V1.Model.Attachment.t), default: nil) - Output only. The attachments attached to this note.
  • body (type: GoogleApi.Keep.V1.Model.Section.t, default: nil) - The body of the note.
  • createTime (type: DateTime.t, default: nil) - Output only. When this note was created.
  • name (type: String.t, default: nil) - Output only. The resource name of this note. See general note on identifiers in KeepService.
  • permissions (type: list(GoogleApi.Keep.V1.Model.Permission.t), default: nil) - Output only. The list of permissions set on the note. Contains at least one entry for the note owner.
  • title (type: String.t, default: nil) - The title of the note. Length must be less than 1,000 characters.
  • trashTime (type: DateTime.t, default: nil) - Output only. When this note was trashed. If trashed, the note is eventually deleted. If the note is not trashed, this field is not set (and the trashed field is false).
  • trashed (type: boolean(), default: nil) - Output only. true if this note has been trashed. If trashed, the note is eventually deleted.
  • updateTime (type: DateTime.t, default: nil) - Output only. When this note was last modified.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Keep.V1.Model.Note{
  attachments: [GoogleApi.Keep.V1.Model.Attachment.t()] | nil,
  body: GoogleApi.Keep.V1.Model.Section.t() | nil,
  createTime: DateTime.t() | nil,
  name: String.t() | nil,
  permissions: [GoogleApi.Keep.V1.Model.Permission.t()] | nil,
  title: String.t() | nil,
  trashTime: DateTime.t() | nil,
  trashed: boolean() | nil,
  updateTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.