/**
 * Gets all the variables (key/value pairs) of the given script. Returns an API error (DOES_NOT_EXIST) if no script with the given name exists.
*/
Gets all the variables (key/value pairs) of the given script. Returns an API error (DOES_NOT_EXIST) if no script with the given name exists.
Gets all the variables ( key / value pairs ) of the given script . Returns an API error ( DOES_NOT_EXIST ) if no script with the given name exists .
pub fn script_vars(service: &ZapService, scriptname: String) -> Result<Value, ZapApiError> {
    let mut params = HashMap::new();
    params.insert("scriptName".to_string(), scriptname);
    super::call(service, "script", "view", "scriptVars", params)
}
pub fn script_vars ( service : & ZapService , scriptname : String ) -> Result < Value , ZapApiError > { let mut params = HashMap :: new ( ) ; params . insert ( " " . to_string ( ) , scriptname ) ; super :: call ( service , " " , " " , " " , params ) }
Gets all the variables (key/value pairs) of the given script.
Gets all the variables ( key / value pairs ) of the given script .
service
&ZapService
scriptname
String