-
Notifications
You must be signed in to change notification settings - Fork 143
Expand file tree
/
Copy pathticket_type.py
More file actions
55 lines (36 loc) · 1.7 KB
/
ticket_type.py
File metadata and controls
55 lines (36 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import List, Optional
from typing_extensions import Literal
from .._models import BaseModel
from .shared.ticket_type_attribute import TicketTypeAttribute
__all__ = ["TicketType", "TicketTypeAttributes"]
class TicketTypeAttributes(BaseModel):
ticket_type_attributes: Optional[List[Optional[TicketTypeAttribute]]] = None
"""A list of ticket type attributes associated with a given ticket type."""
type: Optional[str] = None
"""String representing the object's type.
Always has the value `ticket_type_attributes.list`.
"""
class TicketType(BaseModel):
id: Optional[str] = None
"""The id representing the ticket type."""
archived: Optional[bool] = None
"""Whether the ticket type is archived or not."""
category: Optional[Literal["Customer", "Back-office", "Tracker"]] = None
"""Category of the Ticket Type."""
created_at: Optional[int] = None
"""The date and time the ticket type was created."""
description: Optional[str] = None
"""The description of the ticket type"""
icon: Optional[str] = None
"""The icon of the ticket type"""
name: Optional[str] = None
"""The name of the ticket type"""
ticket_type_attributes: Optional[TicketTypeAttributes] = None
"""A list of attributes associated with a given ticket type."""
type: Optional[str] = None
"""String representing the object's type. Always has the value `ticket_type`."""
updated_at: Optional[int] = None
"""The date and time the ticket type was last updated."""
workspace_id: Optional[str] = None
"""The id of the workspace that the ticket type belongs to."""