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 create_command_response.ex
Raw

lib/ex_stream_client/model/create_command_response.ex

defmodule ExStreamClient.Model.CreateCommandResponse do
@moduledoc "Schema representing a CreateCommandResponse"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:duration]
defstruct [:command, :duration]
@nested_components command: ExStreamClient.Model.Command
def nested_components do
@nested_components
end
@type t :: %__MODULE__{command: ExStreamClient.Model.Command.t() | nil, duration: String.t()}
end