Twilio.Serverless.V1.Service.Asset.VersionService (twilio_elixir v0.1.1)

Copy Markdown View Source

The content of an Asset.

Operations: list, fetch

Summary

Functions

Retrieve a specific Asset Version.

Stream: Retrieve a list of all Asset Versions. (lazy auto-pagination).

Functions

fetch(client, service_sid, asset_sid, sid, opts \\ [])

@spec fetch(Twilio.Client.t(), String.t(), String.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Serverless.V1.Service.Asset.Version.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieve a specific Asset Version.

Operation: FetchAssetVersion | Tags: ServerlessV1AssetVersion

list(client, service_sid, asset_sid, params \\ %{}, opts \\ [])

@spec list(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Page.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

Retrieve a list of all Asset Versions.

Operation: ListAssetVersion | Tags: ServerlessV1AssetVersion

stream(client, service_sid, asset_sid, params \\ %{}, opts \\ [])

@spec stream(Twilio.Client.t(), String.t(), String.t(), map(), keyword()) ::
  Enumerable.t()

Stream: Retrieve a list of all Asset Versions. (lazy auto-pagination).