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

lib/ex_stream_client/model/create_guest_response.ex

defmodule ExStreamClient.Model.CreateGuestResponse do
@moduledoc "Schema representing a CreateGuestResponse"
use ExStreamClient.JSON
use ExStreamClient.TypeInterner
@enforce_keys [:access_token, :duration, :user]
defstruct [:access_token, :duration, :user]
@nested_components user: ExStreamClient.Model.UserResponse
def nested_components do
@nested_components
end
@type t :: %__MODULE__{
access_token: String.t(),
duration: String.t(),
user: ExStreamClient.Model.UserResponse.t()
}
end