google_api_apps_activity v0.3.0 GoogleApi.AppsActivity.V1.Model.User View Source

A representation of a user.

Attributes

  • isDeleted (boolean()): A boolean which indicates whether the specified User was deleted. If true, name, photo and permission_id will be omitted. Defaults to nil.
  • isMe (boolean()): Whether the user is the authenticated user. Defaults to nil.
  • name (String.t): The displayable name of the user. Defaults to nil.
  • permissionId (String.t): The permission ID associated with this user. Equivalent to the Drive API's permission ID for this user, returned as part of the Drive Permissions resource. Defaults to nil.
  • photo (GoogleApi.AppsActivity.V1.Model.Photo.t): The profile photo of the user. Not present if the user has no profile photo. Defaults to nil.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.AppsActivity.V1.Model.User{
  isDeleted: boolean(),
  isMe: boolean(),
  name: String.t(),
  permissionId: String.t(),
  photo: GoogleApi.AppsActivity.V1.Model.Photo.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.