code: def get_attachments(self, ticket_id):
          
          msg = self.__request('ticket/{}/attachments'.format(str(ticket_id), ))
          lines = msg.split('\n')
          if (len(lines) > 2) and self.RE_PATTERNS['does_not_exist_pattern'].match(lines[2]):
              return None
          attachment_infos = []
          if (self.__get_status_code(lines[0]) == 200) and (len(lines) >= 4):
              for line in lines[4:]:
                  info = self.RE_PATTERNS['attachments_list_pattern'].match(line)
                  if info:
                      attachment_infos.append(info.groups())
          return attachment_infos
docs: Get attachment list for a given ticket
  
          :param ticket_id: ID of ticket
          :returns: List of tuples for attachments belonging to given ticket.
                    Tuple format: (id, name, content_type, size)
                    Returns None if ticket does not exist.