mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-21 10:13:39 +00:00
34 lines
979 B
Python
34 lines
979 B
Python
|
from typing import Dict, Optional
|
||
|
|
||
|
from . import NotifyFormat, NotifyType
|
||
|
|
||
|
class AppriseAsset:
|
||
|
app_id: str
|
||
|
app_desc: str
|
||
|
app_url: str
|
||
|
html_notify_map: Dict[NotifyType, str]
|
||
|
default_html_color: str
|
||
|
default_extension: str
|
||
|
theme: Optional[str]
|
||
|
image_url_mask: str
|
||
|
image_url_logo: str
|
||
|
image_path_mask: Optional[str]
|
||
|
body_format: Optional[NotifyFormat]
|
||
|
async_mode: bool
|
||
|
interpret_escapes: bool
|
||
|
def __init__(
|
||
|
self,
|
||
|
app_id: str = ...,
|
||
|
app_desc: str = ...,
|
||
|
app_url: str = ...,
|
||
|
html_notify_map: Dict[NotifyType, str] = ...,
|
||
|
default_html_color: str = ...,
|
||
|
default_extension: str = ...,
|
||
|
theme: Optional[str] = ...,
|
||
|
image_url_mask: str = ...,
|
||
|
image_url_logo: str = ...,
|
||
|
image_path_mask: Optional[str] = ...,
|
||
|
body_format: Optional[NotifyFormat] = ...,
|
||
|
async_mode: bool = ...,
|
||
|
interpret_escapes: bool = ...
|
||
|
) -> None: ...
|