View Source GoogleApi.Gmail.V1.Model.Label (google_api_gmail v0.16.0)
Labels are used to categorize messages and threads within the user's mailbox. The maximum number of labels supported for a user's mailbox is 10,000.
Attributes
-
color
(type:GoogleApi.Gmail.V1.Model.LabelColor.t
, default:nil
) - The color to assign to the label. Color is only available for labels that have theirtype
set touser
. -
id
(type:String.t
, default:nil
) - The immutable ID of the label. -
labelListVisibility
(type:String.t
, default:nil
) - The visibility of the label in the label list in the Gmail web interface. -
messageListVisibility
(type:String.t
, default:nil
) - The visibility of messages with this label in the message list in the Gmail web interface. -
messagesTotal
(type:integer()
, default:nil
) - The total number of messages with the label. -
messagesUnread
(type:integer()
, default:nil
) - The number of unread messages with the label. -
name
(type:String.t
, default:nil
) - The display name of the label. -
threadsTotal
(type:integer()
, default:nil
) - The total number of threads with the label. -
threadsUnread
(type:integer()
, default:nil
) - The number of unread threads with the label. -
type
(type:String.t
, default:nil
) - The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove theINBOX
andUNREAD
labels from messages and threads, but cannot apply or remove theDRAFTS
orSENT
labels from messages or threads.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Gmail.V1.Model.Label{ color: GoogleApi.Gmail.V1.Model.LabelColor.t() | nil, id: String.t() | nil, labelListVisibility: String.t() | nil, messageListVisibility: String.t() | nil, messagesTotal: integer() | nil, messagesUnread: integer() | nil, name: String.t() | nil, threadsTotal: integer() | nil, threadsUnread: integer() | nil, type: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.