pub fn rename_session(
    service: &ZapService,
    site: String,
    oldsessionname: String,
    newsessionname: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("site".to_string(), site);
    params.insert("oldSessionName".to_string(), oldsessionname);
    params.insert("newSessionName".to_string(), newsessionname);
    super::call(service, "httpSessions", "action", "renameSession", params)
}
/**
 * Renames the session of the given site.
*/
Renames the session of the given site.
Renames the session of the given site .
pub fn rename_session(
    service: &ZapService,
    site: String,
    oldsessionname: String,
    newsessionname: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("site".to_string(), site);
    params.insert("oldSessionName".to_string(), oldsessionname);
    params.insert("newSessionName".to_string(), newsessionname);
    super::call(service, "httpSessions", "action", "renameSession", params)
}
pub fn rename_session ( service : & ZapService , site : String , oldsessionname : String , newsessionname : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , site ) ; params . insert ( " " . to_string ( ) , oldsessionname ) ; params . insert ( " " . to_string ( ) , newsessionname ) ; super :: call ( service , " " , " " , " " , params ) }
Renames the session of the given site.
Renames the session of the given site .
service
&ZapService
site
String
oldsessionname
String
newsessionname
String
service
&ZapService
site
String
oldsessionname
String
newsessionname
String