def create(self, list_id, data):
        """
        adds a new segment to the list.
        """
        return self._mc_client._post(url=self._build_path(list_id, 'segments'), data=data)
def create(self, list_id, data):
        """
        adds a new segment to the list.
        """
        return self._mc_client._post(url=self._build_path(list_id, 'segments'), data=data)
def create ( self , list_id , data ) : return self . _mc_client . _post ( url = self . _build_path ( list_id , 'segments' ) , data = data )
adds a new segment to the list.
adds a new segment to the list .