"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenerateRandomStringAction = void 0;
const MablAction_1 = require("../MablAction");
const mablscriptFind_1 = require("../mablscriptFind");
class GenerateRandomStringAction extends MablAction_1.MablAction {
    static mablScriptStepNames = ['generate_random_string'];
    static yamlMablScriptNames = ['GenerateRandomString'];
    generateString;
    constructor(name, args) {
        super(name, 'generate_random_string', args);
        this.generateString = this.getActionArgs()[0];
    }
    toMablscript() {
        return `generate_random_string(\"${(0, mablscriptFind_1.escapeMablscriptString)(this.generateString)}\")`;
    }
    getInputVariables() {
        return MablAction_1.MablAction.findUniqueVariableReferencesInValue(this.generateString);
    }
}
exports.GenerateRandomStringAction = GenerateRandomStringAction;
