"use strict";
// SPDX-License-Identifier: Apache-2.0
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/* eslint-disable @typescript-eslint/no-explicit-any */
const ValidatedArgs_1 = __importDefault(require("../../../../../core/validation/ValidatedArgs"));
const FormatValidation_1 = __importDefault(require("../../FormatValidation"));
class RoleRequest extends ValidatedArgs_1.default {
    securityId;
    targetId;
    role;
    constructor({ targetId, securityId, role }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            targetId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            role: FormatValidation_1.default.checkBytes32Format(),
        });
        this.securityId = securityId;
        this.targetId = targetId;
        this.role = role;
    }
}
exports.default = RoleRequest;
