public function ListManagement_Create_List($modifyList) {
        $ret = false;

        if ($modifyList instanceof \Yesmail\YesmailListManagementModifyList && $modifyList->is_valid() === true) {
            $ret = $this->_call_api('post', "{$this->_url}/lists/{$modifyList->type}", $modifyList);
        }

        return $ret;
    }
public function ListManagement_Create_List($modifyList) {
        $ret = false;

        if ($modifyList instanceof \Yesmail\YesmailListManagementModifyList && $modifyList->is_valid() === true) {
            $ret = $this->_call_api('post', "{$this->_url}/lists/{$modifyList->type}", $modifyList);
        }

        return $ret;
    }
public function ListManagement_Create_List ( $ modifyList ) { $ ret = false ; if ( $ modifyList instanceof \ Yesmail \ YesmailListManagementModifyList && $ modifyList -> is_valid ( ) === true ) { $ ret = $ this -> _call_api ( 'post' , "{$this->_url}/lists/{$modifyList->type}" , $ modifyList ) ; } return $ ret ; }
Create a new list of the given type

@param object $modifyList
@return mixed A JSON decoded PHP variable representing the HTTP response
Create a new list of the given type