GoogleApi.Gmail.V1.Model.Label (google_api_gmail v0.13.3) View Source
Labels are used to categorize messages and threads within the user's mailbox.
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.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.Gmail.V1.Model.Label{ color: GoogleApi.Gmail.V1.Model.LabelColor.t(), id: String.t(), labelListVisibility: String.t(), messageListVisibility: String.t(), messagesTotal: integer(), messagesUnread: integer(), name: String.t(), threadsTotal: integer(), threadsUnread: integer(), type: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.