Twilio.Flex.V1.Insight.QualityManagement.CategoryService (twilio_elixir v0.1.1)

Copy Markdown View Source

Service for Category API operations.

Operations: list, create, update, delete

Summary

Functions

To create a category for Questions

Operation: DeleteInsightsQuestionnairesCategory | Tags: FlexV1InsightsQuestionnairesCategory

To get all the categories

Stream: To get all the categories (lazy auto-pagination).

To update the category for Questions

Functions

create(client, params \\ %{}, opts \\ [])

@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Flex.V1.Insight.QualityManagement.Category.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

To create a category for Questions

Operation: CreateInsightsQuestionnairesCategory | Tags: FlexV1InsightsQuestionnairesCategory

Required Parameters

ParameterTypeDescription
NamestringThe name of this category.

delete(client, sid, opts \\ [])

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

Operation: DeleteInsightsQuestionnairesCategory | Tags: FlexV1InsightsQuestionnairesCategory

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

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

To get all the categories

Operation: ListInsightsQuestionnairesCategory | Tags: FlexV1InsightsQuestionnairesCategory

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

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

Stream: To get all the categories (lazy auto-pagination).

update(client, sid, params \\ %{}, opts \\ [])

@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Flex.V1.Insight.QualityManagement.Category.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}

To update the category for Questions

Operation: UpdateInsightsQuestionnairesCategory | Tags: FlexV1InsightsQuestionnairesCategory

Required Parameters

ParameterTypeDescription
NamestringThe name of this category.