View Source GoogleApi.Admin.Directory_v1.Model.UserIm (google_api_admin v0.40.0)

JSON template for instant messenger of an user.

Attributes

  • customProtocol (type: String.t, default: nil) - Custom protocol.
  • customType (type: String.t, default: nil) - Custom type.
  • im (type: String.t, default: nil) - Instant messenger id.
  • primary (type: boolean(), default: nil) - If this is user's primary im. Only one entry could be marked as primary.
  • protocol (type: String.t, default: nil) - Protocol used in the instant messenger. It should be one of the values from ImProtocolTypes map. Similar to type it can take a CUSTOM value and specify the custom name in customProtocol field.
  • type (type: String.t, default: nil) - Each entry can have a type which indicates standard types of that entry. For example instant messengers could be of home work etc. In addition to the standard type an entry can have a custom type and can take any value. Such types should have the CUSTOM value as type and also have a customType value.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Admin.Directory_v1.Model.UserIm{
  customProtocol: String.t() | nil,
  customType: String.t() | nil,
  im: String.t() | nil,
  primary: boolean() | nil,
  protocol: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.