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

Represents a membership relation in Hangouts Chat.

Attributes

  • createTime (DateTime.t): The creation time of the membership a.k.a the time at which the member joined the space, if applicable. Defaults to: null.
  • member (User): Member details. Defaults to: null.
  • name (String.t): Resource name of the membership, in the form "spaces//members/". Example: spaces/AAAAMpdlehY/members/105115627578887013105 Defaults to: null.
  • state (String.t): State of the membership. Defaults to: null.

    • Enum - one of [MEMBERSHIP_STATE_UNSPECIFIED, JOINED, INVITED, NOT_A_MEMBER]

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: any(),
  state: any()
}

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.