// SPDX-License-Identifier: Apache-2.0
import ValidatedRequest from "../../../../../../core/validation/ValidatedArgs";
import FormatValidation from "../../../../../in/request/FormatValidation";
export default class SetNameRequest extends ValidatedRequest {
    securityId;
    name;
    constructor({ securityId, name }) {
        super({
            securityId: FormatValidation.checkHederaIdFormatOrEvmAddress(),
            name: FormatValidation.checkString({ emptyCheck: true }),
        });
        this.securityId = securityId;
        this.name = name;
    }
}
