// SPDX-License-Identifier: Apache-2.0
import ValidatedRequest from "../../../../core/validation/ValidatedArgs";
import FormatValidation from "../FormatValidation";
export default class UpdateResolverRequest extends ValidatedRequest {
    securityId;
    configVersion;
    configId;
    resolver;
    constructor({ configVersion, configId, securityId, resolver, }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            configVersion: FormatValidation.checkNumber(),
            configId: FormatValidation.checkBytes32Format(),
            resolver: FormatValidation.checkHederaIdFormatOrEvmAddress(),
        });
        this.configVersion = configVersion;
        this.configId = configId;
        this.securityId = securityId;
        this.resolver = resolver;
    }
}
