@@ -218,3 +218,43 @@ def __init__(self, data):
218218 @property
219219 def tags (self ):
220220 return self ._data ["tags" ]
221+
222+ class DSSTaggableObjectSettings (object ):
223+ def __init__ (self , taggable_object_data ):
224+ self ._tod = taggable_object_data
225+
226+ @property
227+ def tags (self ):
228+ """The tags of the object, as a list of strings"""
229+ return self ._tod ["tags" ]
230+
231+ @tags .setter
232+ def tags (self , tags ):
233+ self ._tod ["tags" ] = tags
234+
235+ @property
236+ def description (self ):
237+ """The description of the object as a string"""
238+ return self ._tod .get ("description" , None )
239+
240+ @description .setter
241+ def description (self , description ):
242+ self ._tod ["description" ] = description
243+
244+ @property
245+ def short_description (self ):
246+ """The short description of the object as a string"""
247+ return self ._tod .get ("shortDesc" , None )
248+
249+ @short_description .setter
250+ def short_description (self , short_description ):
251+ self ._tod ["shortDesc" ] = short_description
252+
253+ @property
254+ def custom_fields (self ):
255+ """The custom fields of the object as a dict. Returns None if there are no custom fields"""
256+ return self ._tod .get ("customFields" , None )
257+
258+ @custom_fields .setter
259+ def custom_fields (self , custom_fields ):
260+ self ._tod ["customFields" ] = custom_fields
0 commit comments