"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 });
const ValidatedArgs_1 = __importDefault(require("../../../../core/validation/ValidatedArgs"));
const FormatValidation_1 = __importDefault(require("../FormatValidation"));
class UpdateResolverRequest extends ValidatedArgs_1.default {
    securityId;
    configVersion;
    configId;
    resolver;
    constructor({ configVersion, configId, securityId, resolver, }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            configVersion: FormatValidation_1.default.checkNumber(),
            configId: FormatValidation_1.default.checkBytes32Format(),
            resolver: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
        });
        this.configVersion = configVersion;
        this.configId = configId;
        this.securityId = securityId;
        this.resolver = resolver;
    }
}
exports.default = UpdateResolverRequest;
