# `Twilio.Flex.V1.PluginService.PluginService`
[🔗](https://github.com/jeffhuen/twilio_elixir/blob/main/lib/twilio/flex/v1/plugin_service/plugin_service.ex#L2)

Service for Plugin API operations.

Operations: `list`, `create`, `fetch`, `update`

# `create`

```elixir
@spec create(Twilio.Client.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Flex.V1.PluginService.Plugin.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `CreatePlugin` | Tags: FlexV1Plugin

## Required Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
| `UniqueName` | string | The Flex Plugin's unique name. |
## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `Description` | string | A descriptive string that you create to describe the plugin resource. It can be up to 500 characters long |
| `FriendlyName` | string | The Flex Plugin's friendly name. |

# `fetch`

```elixir
@spec fetch(Twilio.Client.t(), String.t(), keyword()) ::
  {:ok, Twilio.Resources.Flex.V1.PluginService.Plugin.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `FetchPlugin` | Tags: FlexV1Plugin

# `list`

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

Operation: `ListPlugin` | Tags: FlexV1Plugin

# `stream`

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

Stream:  (lazy auto-pagination).

# `update`

```elixir
@spec update(Twilio.Client.t(), String.t(), map(), keyword()) ::
  {:ok, Twilio.Resources.Flex.V1.PluginService.Plugin.t()}
  | {:ok, map(), map()}
  | :ok
  | {:error, Twilio.Error.t()}
```

Operation: `UpdatePlugin` | Tags: FlexV1Plugin

## Optional Parameters

| Parameter | Type | Description |
|-----------|------|-------------|
# credo:disable-for-next-line Credo.Check.Readability.MaxLineLength
| `Description` | string | A descriptive string that you update to describe the plugin resource. It can be up to 500 characters long |
| `FriendlyName` | string | The Flex Plugin's friendly name. |

---

*Consult [api-reference.md](api-reference.md) for complete listing*
