public List < AlternateEmail > addAlternateEmail ( long userId , List < AlternateEmail > altEmails ) throws SmartsheetException { Util . throwIfNull ( altEmails ) ; if ( altEmails . size ( ) == 0 ) { return altEmails ; } return this . postAndReceiveList ( "users/" + userId + "/alternateemails" , altEmails , AlternateEmail . class ) ; }
Add an alternate email .