LustreFileSystemConfiguration.fromJson constructor

LustreFileSystemConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LustreFileSystemConfiguration.fromJson(Map<String, dynamic> json) {
  return LustreFileSystemConfiguration(
    automaticBackupRetentionDays:
        json['AutomaticBackupRetentionDays'] as int?,
    copyTagsToBackups: json['CopyTagsToBackups'] as bool?,
    dailyAutomaticBackupStartTime:
        json['DailyAutomaticBackupStartTime'] as String?,
    dataRepositoryConfiguration: json['DataRepositoryConfiguration'] != null
        ? DataRepositoryConfiguration.fromJson(
            json['DataRepositoryConfiguration'] as Map<String, dynamic>)
        : null,
    deploymentType:
        (json['DeploymentType'] as String?)?.toLustreDeploymentType(),
    driveCacheType: (json['DriveCacheType'] as String?)?.toDriveCacheType(),
    mountName: json['MountName'] as String?,
    perUnitStorageThroughput: json['PerUnitStorageThroughput'] as int?,
    weeklyMaintenanceStartTime: json['WeeklyMaintenanceStartTime'] as String?,
  );
}