def port_bindings(self, value):
        """
            {
                u'8080/tcp': [
                    {
                        u'host_port': u'8080',
                        u'host_ip': u''
                    }
                ]
            }
        """
        if isinstance(value, (list, dict)):
                self._port_bindings = self._convert_port_bindings(value)
        elif value is None:
            self._port_bindings = None
        else:
            raise TypeError('port bindings must be a dict, list, or None. {0} was passed.'.format(type(value)))