Files
onspring-api-sdk-python/Enums.py
T

55 lines
1.1 KiB
Python
Raw Normal View History

2022-04-17 00:31:43 -05:00
from enum import Enum
class DataFormat(Enum):
2022-04-29 13:07:17 -05:00
"""
The possible data format types for record field values.
"""
2022-04-17 00:31:43 -05:00
Raw = 0
Formatted = 1
2022-04-18 10:39:20 -05:00
2022-04-21 16:22:44 -05:00
class ReportDataType(Enum):
2022-04-29 13:07:17 -05:00
"""
The possible report data types for reports.
"""
2022-04-21 16:22:44 -05:00
ReportData = 0
ChartData = 1
2022-04-18 10:39:20 -05:00
class ResultValueType(Enum):
2022-04-29 13:07:17 -05:00
"""
The possible types for record field values.
"""
2022-04-18 10:39:20 -05:00
String = 0
Integer = 1
Decimal = 2
Date = 3
TimeSpan = 4
Guid = 5
StringList = 6
IntegerList = 7
GuidList = 8
AttachmentList = 9
ScoringGroupList = 10
FileList = 11
class Increment(Enum):
2022-04-29 13:07:17 -05:00
"""
The possible values for the increment property of timespan data in an Onspring timespan field.
"""
Seconds = "Second(s)"
Minutes = "Minute(s)"
Hours = "Hour(s)"
Days = "Day(s)"
Weeks = "Week(s)"
Months = "Month(s)"
Years = "Year(s)"
2022-04-18 10:39:20 -05:00
class Recurrence(Enum):
2022-04-29 13:07:17 -05:00
"""
The possible values for the recurrence property of timespan data in an Onspring timespan field.
"""
2022-04-18 10:39:20 -05:00
Empty = "None"
EndByDate = "EndByDate"
EndAfterOccurrences = 'EndAfterOccurrences'