finished adding doc strings to models

This commit is contained in:
StevanFreeborn
2022-04-29 13:07:17 -05:00
parent 1821a4cd00
commit 0cc010238c
2 changed files with 201 additions and 0 deletions
+16
View File
@@ -1,14 +1,24 @@
from enum import Enum
class DataFormat(Enum):
"""
The possible data format types for record field values.
"""
Raw = 0
Formatted = 1
class ReportDataType(Enum):
"""
The possible report data types for reports.
"""
ReportData = 0
ChartData = 1
class ResultValueType(Enum):
"""
The possible types for record field values.
"""
String = 0
Integer = 1
Decimal = 2
@@ -23,6 +33,9 @@ class ResultValueType(Enum):
FileList = 11
class Increment(Enum):
"""
The possible values for the increment property of timespan data in an Onspring timespan field.
"""
Seconds = "Second(s)"
Minutes = "Minute(s)"
Hours = "Hour(s)"
@@ -32,6 +45,9 @@ class Increment(Enum):
Years = "Year(s)"
class Recurrence(Enum):
"""
The possible values for the recurrence property of timespan data in an Onspring timespan field.
"""
Empty = "None"
EndByDate = "EndByDate"
EndAfterOccurrences = 'EndAfterOccurrences'