SerializeableContent

class LOGS.Entity.SerializeableContent.SerializeableClass(ref=None)[source]

Bases: SerializeableContent

class LOGS.Entity.SerializeableContent.SerializeableContent(ref=None)[source]

Bases: object

check(path=[])[source]
classmethod checkAndAppend(value, fieldType, fieldName=None, converter=None, allowNone=False)[source]
classmethod checkAndConvert(value, fieldType, fieldName=None, converter=None, allowNone=False)[source]
Return type:

TypeVar(_T)

classmethod checkAndConvertNullable(value, fieldType, fieldName=None, converter=None)[source]
classmethod checkFieldAndConvert(elements, fieldType, fieldName=None, converter=None, allowNone=False)[source]
classmethod checkFieldAndConvertToList(elements, fieldType, fieldName=None, converter=None, allowNone=False, singleToList=False, length=-1)[source]
checkInstance(instance, path=[])[source]
classmethod checkListAndConvert(value, fieldType, fieldName=None, converter=None, allowNone=False, singleToList=False, length=-1)[source]
Return type:

List[TypeVar(_T)]

classmethod checkListAndConvertNullable(value, fieldType, fieldName=None, converter=None, length=-1)[source]
checkProperty(property, path=[])[source]
createOnDemand(attr, typeOfValue)[source]
static delEntryFromDict(d, entry)[source]
dictToString(element, length=30)[source]
fromDict(ref)[source]
Return type:

None

fromInstance(ref)[source]
classmethod generateID(len=10)[source]
override(ref)[source]
classmethod plural(word, count)[source]
printJson(indent=2, sort_keys=True, compact=False, validate=False)[source]
classmethod replaceControlCharacters(text, excludeCharacters=[], mergeMessages=False, excludeKeys=[])[source]
classmethod toBaseclassString(obj)[source]
toDict()[source]
Return type:

Dict[str, Any]

toJson(indent=2, sort_keys=True, compact=False, validate=False)[source]
toString()[source]
classmethod truncString(text, length=30)[source]
Return type:

str