ExStreamClient.Model.UserRequest (ExStreamClient v0.1.7)

View Source

Schema representing a UserRequest

Summary

Functions

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

Types

t()

@type t() :: %ExStreamClient.Model.UserRequest{
  custom: %{optional(String.t()) => any()} | nil,
  id: String.t(),
  image: String.t() | nil,
  invisible: boolean() | nil,
  language: String.t() | nil,
  name: String.t() | nil,
  privacy_settings: ExStreamClient.Model.PrivacySettingsResponse.t() | nil,
  role: String.t() | nil,
  teams: [String.t()] | nil,
  teams_role: %{optional(String.t()) => String.t()} | nil
}

Functions

decode(map)

Components could just be enums that are typed - so we need to decode those as enums as they will just be stings

nested_components()