/**
 * Adds a default session token with the given name and enabled state.
*/
Adds a default session token with the given name and enabled state.
Adds a default session token with the given name and enabled state .
pub fn add_default_session_token(
    service: &ZapService,
    sessiontoken: String,
    tokenenabled: String,
) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("sessionToken".to_string(), sessiontoken);
    params.insert("tokenEnabled".to_string(), tokenenabled);
    super::call(
        service,
        "httpSessions",
        "action",
        "addDefaultSessionToken",
        params,
    )
}
pub fn add_default_session_token ( service : & ZapService , sessiontoken : String , tokenenabled : String , ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , sessiontoken ) ; params . insert ( " " . to_string ( ) , tokenenabled ) ; super :: call ( service , " " , " " , " " , params , ) }
Adds a default session token with the given name and enabled state.
Adds a default session token with the given name and enabled state .
service
&ZapService
sessiontoken
String
tokenenabled
String