ExStreamClient.Model.Role (ExStreamClient v0.1.11)

View Source

Schema representing a Role

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.Role{
  created_at: DateTime.t() | integer() | String.t(),
  custom: boolean(),
  name: String.t(),
  scopes: [String.t()],
  updated_at: DateTime.t() | integer() | String.t()
}

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()