forked from ni/nisystemlink-clients-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_create_result_request.py
More file actions
51 lines (34 loc) · 1.56 KB
/
_create_result_request.py
File metadata and controls
51 lines (34 loc) · 1.56 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
from datetime import datetime
from typing import Dict, List, Optional
from nisystemlink.clients.core._uplink._json_model import JsonModel
from nisystemlink.clients.testmonitor.models._result import ResultStatus
class CreateResultRequest(JsonModel):
"""Contains information about a result."""
status: ResultStatus
"""The status of the result."""
started_at: Optional[datetime]
"""The time that the result started."""
program_name: str
"""The name of the program that generated this result."""
system_id: Optional[str]
"""The id of the system that generated this result."""
host_name: Optional[str]
"""The name of the host that generated this result."""
part_number: Optional[str]
"""The part number is the unique identifier of a product within a single org."""
serial_number: Optional[str]
"""The serial number of the system that generated this result."""
total_time_in_seconds: Optional[float]
"""The total time that the result took to run in seconds."""
keywords: Optional[List[str]]
"""A list of keywords that categorize this result."""
properties: Optional[Dict[str, str]]
"""A list of custom properties for this result."""
operator: Optional[str]
"""The operator that ran the result."""
file_ids: Optional[List[str]]
"""A list of file ids that are attached to this result."""
data_table_ids: Optional[List[str]]
"""A list of data table ids that are attached to this result."""
workspace: Optional[str]
"""The id of the workspace that this product belongs to."""