Packages

A client for [Stream](https://getstream.io) REST APIs in Elixir - auto generated from their [OpenAPI specification](https://github.com/GetStream/protocol).

Current section

Files

Jump to
ex_stream_client lib ex_stream_client model delete_users_request.ex
Raw

lib/ex_stream_client/model/delete_users_request.ex

defmodule ExStreamClient.Model.DeleteUsersRequest do
@moduledoc "Schema representing a DeleteUsersRequest"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:user_ids]
defstruct [
:calls,
:conversations,
:messages,
:new_call_owner_id,
:new_channel_owner_id,
:user,
:user_ids
]
@nested_components calls: :atom, conversations: :atom, messages: :atom, user: :atom
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
calls: (:hard | :soft) | nil,
conversations: (:hard | :soft) | nil,
messages: (:hard | :pruning | :soft) | nil,
new_call_owner_id: String.t() | nil,
new_channel_owner_id: String.t() | nil,
user: (:hard | :pruning | :soft) | nil,
user_ids: [String.t()]
}
end