Twilio.Memory.V1.Store.Profile.TraitService (twilio_elixir v0.1.3)

Copy Markdown View Source

Service for Trait API operations.

Operations: list

Summary

Functions

Stream: Return a paginated, optionally filtered list of individual traits for a profile (flattened view). This is useful for UIs or tools that need to browse trait metadata (names, groups, timestamps). Use the optional traitGroups filter to scope results and the paging parameters to iterate through larger sets. (lazy auto-pagination).

Functions

list(client, store_id, profile_id, 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()}

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

Return a paginated, optionally filtered list of individual traits for a profile (flattened view). This is useful for UIs or tools that need to browse trait metadata (names, groups, timestamps). Use the optional traitGroups filter to scope results and the paging parameters to iterate through larger sets.

Operation: ListProfileTraits | Tags: Traits

stream(client, store_id, profile_id, params \\ %{}, opts \\ [])

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

Stream: Return a paginated, optionally filtered list of individual traits for a profile (flattened view). This is useful for UIs or tools that need to browse trait metadata (names, groups, timestamps). Use the optional traitGroups filter to scope results and the paging parameters to iterate through larger sets. (lazy auto-pagination).