package com.bocloud.cmp.model;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 华为云存储库
 *
 * @author admin
 */
@Data
public class VaultsModel {
    private String vaultsUuid;
    private Long vaultsId;
    private Date createTime;
    private String name;
    private String remark;
    // 对象类型：云服务器（server），云硬盘（disk）。
    private String objectType; // 存储库类型
    private Integer vaultSize; // 存储库大小
    // 保护类型：备份（backup）、复制(replication)
    private String protectType;
    private Long used;
    private String status;
    private Long allocated;
    private String regionId;
    private Boolean autoBind;
    private Boolean autoExpand;
    private Boolean incremental;
    // 策略uuid
    private String backupPolicyUuid;
    private List<VolumeModel> volumeModels;
    private List<ServerModel> serverModels;
    private List<BackupModel> backupModels;
    private List<String> resources;
    private List<String> removeResources;
    private String backupName;
    private String backupRemark;
    // 创建模式，按需：post_paid，包周期：pre_paid，默认为post_paid 缺省值：post_paid
    // 枚举值：post_paid pre_paid
    private String chargingMode;
    // 创建类型，charging_mode为pre_paid必填，按年(year)或者按月(month)
    // 枚举值：year month
    private String periodType;
    // 创建类型的数量，charging_mode为pre_paid必填
    private Integer periodNum;
    private String checkpointUuid;
}
