summaryrefslogtreecommitdiffstats
path: root/testapi/testapi-client/testapiclient/models/result.py
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-05-07 14:14:43 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-07 14:14:43 +0000
commite4c1d703a7784fe8acea8477fc57fb2438201c33 (patch)
tree4869325ccf6807b8ca65f99674e013a6e49b232f /testapi/testapi-client/testapiclient/models/result.py
parentbdd692287fc028295ef5763c48d2218d6c7e06cb (diff)
parenta2a855bc1b66284addaead40b23f43a574de336d (diff)
Merge "Add result model to the client"
Diffstat (limited to 'testapi/testapi-client/testapiclient/models/result.py')
-rw-r--r--testapi/testapi-client/testapiclient/models/result.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/testapi/testapi-client/testapiclient/models/result.py b/testapi/testapi-client/testapiclient/models/result.py
new file mode 100644
index 0000000..766c03a
--- /dev/null
+++ b/testapi/testapi-client/testapiclient/models/result.py
@@ -0,0 +1,16 @@
+class ResultCreateRequest():
+ def __init__(
+ self, project_name='', scenario='', case_name='', pod_name='',
+ installer='', version='', stop_date='', build_tag='', criteria='',
+ start_date='', details=''):
+ self.project_name = project_name
+ self.scenario = scenario
+ self.case_name = case_name
+ self.pod_name = pod_name
+ self.installer = installer
+ self.version = version
+ self.stop_date = stop_date
+ self.build_tag = build_tag
+ self.criteria = criteria
+ self.start_date = start_date
+ self.details = details