def server_relative_path(self): """ The server-relative-path of the attachment. """ return self.properties.get("ServerRelativePath", SPResPath())
def server_relative_path(self): """Gets the server-relative Path of the list folder. :rtype: SPResPath or None """ return self.properties.get("ServerRelativePath", SPResPath(None))
def file_name_as_path(self): """ The file name of the attachment as a SP.ResourcePath. """ return self.properties.get("FileNameAsPath", SPResPath())