"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    var desc = Object.getOwnPropertyDescriptor(m, k);
    if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
      desc = { enumerable: true, get: function() { return m[k]; } };
    }
    Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
    Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
    o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
    var ownKeys = function(o) {
        ownKeys = Object.getOwnPropertyNames || function (o) {
            var ar = [];
            for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
            return ar;
        };
        return ownKeys(o);
    };
    return function (mod) {
        if (mod && mod.__esModule) return mod;
        var result = {};
        if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
        __setModuleDefault(result, mod);
        return result;
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.DescribeUniBackupPoliciesResponseBody = exports.DescribeUniBackupPoliciesResponseBodyUniBackupPolicies = exports.DescribeUniBackupPoliciesResponseBodyPageInfo = void 0;
// This file is auto-generated, don't edit it
const $dara = __importStar(require("@darabonba/typescript"));
class DescribeUniBackupPoliciesResponseBodyPageInfo extends $dara.Model {
    static names() {
        return {
            count: 'Count',
            currentPage: 'CurrentPage',
            pageSize: 'PageSize',
            totalCount: 'TotalCount',
        };
    }
    static types() {
        return {
            count: 'number',
            currentPage: 'number',
            pageSize: 'number',
            totalCount: 'number',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeUniBackupPoliciesResponseBodyPageInfo = DescribeUniBackupPoliciesResponseBodyPageInfo;
class DescribeUniBackupPoliciesResponseBodyUniBackupPolicies extends $dara.Model {
    static names() {
        return {
            agentErrorMessage: 'AgentErrorMessage',
            agentStatus: 'AgentStatus',
            databaseName: 'DatabaseName',
            databaseType: 'DatabaseType',
            errorCode: 'ErrorCode',
            errorMessage: 'ErrorMessage',
            instanceId: 'InstanceId',
            instanceName: 'InstanceName',
            instanceStatus: 'InstanceStatus',
            instanceUuid: 'InstanceUuid',
            latestBackResult: 'LatestBackResult',
            latestBackupTime: 'LatestBackupTime',
            planStatus: 'PlanStatus',
            policyId: 'PolicyId',
            policyName: 'PolicyName',
            policyStatus: 'PolicyStatus',
            uniRegionId: 'UniRegionId',
        };
    }
    static types() {
        return {
            agentErrorMessage: 'string',
            agentStatus: 'string',
            databaseName: 'string',
            databaseType: 'string',
            errorCode: 'string',
            errorMessage: 'string',
            instanceId: 'string',
            instanceName: 'string',
            instanceStatus: 'string',
            instanceUuid: 'string',
            latestBackResult: 'string',
            latestBackupTime: 'string',
            planStatus: 'string',
            policyId: 'number',
            policyName: 'string',
            policyStatus: 'string',
            uniRegionId: 'string',
        };
    }
    validate() {
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeUniBackupPoliciesResponseBodyUniBackupPolicies = DescribeUniBackupPoliciesResponseBodyUniBackupPolicies;
class DescribeUniBackupPoliciesResponseBody extends $dara.Model {
    static names() {
        return {
            pageInfo: 'PageInfo',
            requestId: 'RequestId',
            uniBackupPolicies: 'UniBackupPolicies',
        };
    }
    static types() {
        return {
            pageInfo: DescribeUniBackupPoliciesResponseBodyPageInfo,
            requestId: 'string',
            uniBackupPolicies: { 'type': 'array', 'itemType': DescribeUniBackupPoliciesResponseBodyUniBackupPolicies },
        };
    }
    validate() {
        if (this.pageInfo && typeof this.pageInfo.validate === 'function') {
            this.pageInfo.validate();
        }
        if (Array.isArray(this.uniBackupPolicies)) {
            $dara.Model.validateArray(this.uniBackupPolicies);
        }
        super.validate();
    }
    constructor(map) {
        super(map);
    }
}
exports.DescribeUniBackupPoliciesResponseBody = DescribeUniBackupPoliciesResponseBody;
//# sourceMappingURL=DescribeUniBackupPoliciesResponseBody.js.map