-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
49306fc
commit 302b8a1
Showing
9 changed files
with
139 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import enum | ||
import typing | ||
|
||
T_Result = typing.TypeVar("T_Result") | ||
|
||
|
||
class PlayHtVoiceParamsQuality(str, enum.Enum): | ||
FASTER = "faster" | ||
DRAFT = "draft" | ||
LOW = "low" | ||
MEDIUM = "medium" | ||
HIGH = "high" | ||
PREMIUM = "premium" | ||
|
||
def visit( | ||
self, | ||
faster: typing.Callable[[], T_Result], | ||
draft: typing.Callable[[], T_Result], | ||
low: typing.Callable[[], T_Result], | ||
medium: typing.Callable[[], T_Result], | ||
high: typing.Callable[[], T_Result], | ||
premium: typing.Callable[[], T_Result], | ||
) -> T_Result: | ||
if self is PlayHtVoiceParamsQuality.FASTER: | ||
return faster() | ||
if self is PlayHtVoiceParamsQuality.DRAFT: | ||
return draft() | ||
if self is PlayHtVoiceParamsQuality.LOW: | ||
return low() | ||
if self is PlayHtVoiceParamsQuality.MEDIUM: | ||
return medium() | ||
if self is PlayHtVoiceParamsQuality.HIGH: | ||
return high() | ||
if self is PlayHtVoiceParamsQuality.PREMIUM: | ||
return premium() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import enum | ||
import typing | ||
|
||
T_Result = typing.TypeVar("T_Result") | ||
|
||
|
||
class PlayHtVoiceQuality(str, enum.Enum): | ||
FASTER = "faster" | ||
DRAFT = "draft" | ||
LOW = "low" | ||
MEDIUM = "medium" | ||
HIGH = "high" | ||
PREMIUM = "premium" | ||
|
||
def visit( | ||
self, | ||
faster: typing.Callable[[], T_Result], | ||
draft: typing.Callable[[], T_Result], | ||
low: typing.Callable[[], T_Result], | ||
medium: typing.Callable[[], T_Result], | ||
high: typing.Callable[[], T_Result], | ||
premium: typing.Callable[[], T_Result], | ||
) -> T_Result: | ||
if self is PlayHtVoiceQuality.FASTER: | ||
return faster() | ||
if self is PlayHtVoiceQuality.DRAFT: | ||
return draft() | ||
if self is PlayHtVoiceQuality.LOW: | ||
return low() | ||
if self is PlayHtVoiceQuality.MEDIUM: | ||
return medium() | ||
if self is PlayHtVoiceQuality.HIGH: | ||
return high() | ||
if self is PlayHtVoiceQuality.PREMIUM: | ||
return premium() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import enum | ||
import typing | ||
|
||
T_Result = typing.TypeVar("T_Result") | ||
|
||
|
||
class PlayHtVoiceUpdateParamsQuality(str, enum.Enum): | ||
FASTER = "faster" | ||
DRAFT = "draft" | ||
LOW = "low" | ||
MEDIUM = "medium" | ||
HIGH = "high" | ||
PREMIUM = "premium" | ||
|
||
def visit( | ||
self, | ||
faster: typing.Callable[[], T_Result], | ||
draft: typing.Callable[[], T_Result], | ||
low: typing.Callable[[], T_Result], | ||
medium: typing.Callable[[], T_Result], | ||
high: typing.Callable[[], T_Result], | ||
premium: typing.Callable[[], T_Result], | ||
) -> T_Result: | ||
if self is PlayHtVoiceUpdateParamsQuality.FASTER: | ||
return faster() | ||
if self is PlayHtVoiceUpdateParamsQuality.DRAFT: | ||
return draft() | ||
if self is PlayHtVoiceUpdateParamsQuality.LOW: | ||
return low() | ||
if self is PlayHtVoiceUpdateParamsQuality.MEDIUM: | ||
return medium() | ||
if self is PlayHtVoiceUpdateParamsQuality.HIGH: | ||
return high() | ||
if self is PlayHtVoiceUpdateParamsQuality.PREMIUM: | ||
return premium() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was auto-generated by Fern from our API Definition. | ||
|
||
import typing | ||
|
||
from .undefined import Undefined | ||
|
||
PlayHtVoiceUpdateParamsTemperature = typing.Union[float, Undefined] |