google_api_chat v0.14.0 GoogleApi.Chat.V1.Model.Membership View Source

Represents a membership relation in Hangouts Chat.

Attributes

  • createTime (type: DateTime.t, default: nil) - The creation time of the membership a.k.a the time at which the member joined the space, if applicable.

  • member (type: GoogleApi.Chat.V1.Model.User.t, default: nil) - Member details.

  • name (type: String.t, default: nil) - Resource name of the membership, in the form "spaces//members/".

    Example: spaces/AAAAMpdlehY/members/105115627578887013105

  • state (type: String.t, default: nil) - State of the membership.

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.Chat.V1.Model.Membership{
  createTime: DateTime.t(),
  member: GoogleApi.Chat.V1.Model.User.t(),
  name: String.t(),
  state: String.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.