@property<EOL><INDENT>def attachment_name(self):<DEDENT>
if self.__attachment_name is not None:<EOL><INDENT>return self.__attachment_name<EOL><DEDENT>if self.__attachment_name_property:<EOL><INDENT>return getattr(self, self.__attachment_name_property, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>attachment_name = getattr(self, '<STR_LIT>')<EOL><DEDENT>except AttributeError:<EOL><INDENT>attachment_name = getattr(self, '<STR_LIT:name>', '<STR_LIT>')<EOL><DEDENT>return attachment_name<EOL><DEDENT>
Name of the attachment

        :getter: get attachment name
        :setter: set new name for the attachment
        :type: str