"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 FormatValidation_1 = __importDefault(require("../../../../in/request/FormatValidation"));
const ValidatedArgs_1 = __importDefault(require("../../../../../core/validation/ValidatedArgs"));
class GetAmortizationHoldersRequest extends ValidatedArgs_1.default {
    securityId;
    amortizationId;
    start;
    end;
    constructor({ securityId, amortizationId, start, end, }) {
        super({
            securityId: FormatValidation_1.default.checkHederaIdFormatOrEvmAddress(),
            amortizationId: FormatValidation_1.default.checkNumber({ min: 0 }),
            start: FormatValidation_1.default.checkNumber({ min: 0 }),
            end: FormatValidation_1.default.checkNumber({ min: 0 }),
        });
        this.securityId = securityId;
        this.amortizationId = amortizationId;
        this.start = start;
        this.end = end;
    }
}
exports.default = GetAmortizationHoldersRequest;
