blob: 1f7eb2b2421088ff2b80edaeb31df93050d99e8e (
plain)
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
|
#!/usr/bin/python
#
# This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
class ScenarioResult(object):
def __init__(self, status, four_days_score='', ten_days_score='',
score_percent=0.0):
self.status = status
self.four_days_score = four_days_score
self.ten_days_score = ten_days_score
self.score_percent = score_percent
def getStatus(self):
return self.status
def getTenDaysScore(self):
return self.ten_days_score
def getFourDaysScore(self):
return self.four_days_score
def getScorePercent(self):
return self.score_percent
|