editClientFixedIP(client_id, use_fixedip, network_id = null, fixed_ip = null) {
    const payload = {_id: client_id,
      use_fixedip};

    if (use_fixedip === true) {
      if (network_id !== null) {
        payload.network_id = network_id;
      }

      if (fixed_ip !== null) {
        payload.fixed_ip = fixed_ip;
      }
    }

    return this._request('/api/s/<SITE>/rest/user/' + client_id.trim(), payload, 'PUT');
  }
/**
   * Update client fixedip (using REST) - edit_client_fixedip()
   *
   * returns an array containing a single object with attributes of the updated client on success
   * required parameter <client_id>   = _id of the client
   * required parameter <use_fixedip> = boolean defining whether if use_fixedip is true or false
   * optional parameter <network_id>  = _id value for the network where the ip belongs to
   * optional parameter <fixed_ip>    = value of client's fixed_ip field
   *
   */
Update client fixedip (using REST) - edit_client_fixedip()
returns an array containing a single object with attributes of the updated client on success
required parameter    = _id of the client
required parameter  = boolean defining whether if use_fixedip is true or false
optional parameter   = _id value for the network where the ip belongs to
optional parameter     = value of client's fixed_ip field
Update client fixedip ( using REST ) - edit_client_fixedip () returns an array containing a single object with attributes of the updated client on success required parameter = _id of the client required parameter = boolean defining whether if use_fixedip is true or false optional parameter = _id value for the network where the ip belongs to optional parameter = value of client ' s fixed_ip field
editClientFixedIP(client_id, use_fixedip, network_id = null, fixed_ip = null) {
    const payload = {_id: client_id,
      use_fixedip};
    if (use_fixedip === true) {
      if (network_id !== null) {
        payload.network_id = network_id;
      }
      if (fixed_ip !== null) {
        payload.fixed_ip = fixed_ip;
      }
    }
    return this._request('/api/s/<SITE>/rest/user/' + client_id.trim(), payload, 'PUT');
  }
editClientFixedIP ( client_id , use_fixedip , network_id = null , fixed_ip = null ) { const payload = { _id : client_id , use_fixedip } ; if ( use_fixedip === true ) { if ( network_id !== null ) { payload . network_id = network_id ; } if ( fixed_ip !== null ) { payload . fixed_ip = fixed_ip ; } } return this . _request ( '/api/s/<SITE>/rest/user/' + client_id . trim ( ) , payload , 'PUT' ) ; }
Update client fixedip (using REST) - edit_client_fixedip()
 returns an array containing a single object with attributes of the updated client on success
 required parameter <client_id>   = _id of the client
 required parameter <use_fixedip> = boolean defining whether if use_fixedip is true or false
 optional parameter <network_id>  = _id value for the network where the ip belongs to
 optional parameter <fixed_ip>    = value of client's fixed_ip field
Update client fixedip ( using REST ) - edit_client_fixedip () returns an array containing a single object with attributes of the updated client on success required parameter <client_id > = _id of the client required parameter <use_fixedip > = boolean defining whether if use_fixedip is true or false optional parameter <network_id > = _id value for the network where the ip belongs to optional parameter <fixed_ip > = value of client ' s fixed_ip field