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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.