VolumeBackup.fromJson constructor
VolumeBackup.fromJson(
- Map json_
Implementation
VolumeBackup.fromJson(core.Map json_)
: this(
completeTime: json_.containsKey('completeTime')
? json_['completeTime'] as core.String
: null,
createTime: json_.containsKey('createTime')
? json_['createTime'] as core.String
: null,
diskSizeBytes: json_.containsKey('diskSizeBytes')
? json_['diskSizeBytes'] as core.String
: null,
etag: json_.containsKey('etag') ? json_['etag'] as core.String : null,
format: json_.containsKey('format')
? json_['format'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
sourcePvc: json_.containsKey('sourcePvc')
? NamespacedName.fromJson(
json_['sourcePvc'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
stateMessage: json_.containsKey('stateMessage')
? json_['stateMessage'] as core.String
: null,
storageBytes: json_.containsKey('storageBytes')
? json_['storageBytes'] as core.String
: null,
uid: json_.containsKey('uid') ? json_['uid'] as core.String : null,
updateTime: json_.containsKey('updateTime')
? json_['updateTime'] as core.String
: null,
volumeBackupHandle: json_.containsKey('volumeBackupHandle')
? json_['volumeBackupHandle'] as core.String
: null,
);