CephFSPersistentVolumeSource.fromJson constructor
Creates a CephFSPersistentVolumeSource from JSON data.
Implementation
CephFSPersistentVolumeSource.fromJson(Map<String, dynamic> json)
: this(
monitors: json['monitors'] != null
? List<String>.from(json['monitors'])
: [],
path: json['path'],
readOnly: json['readOnly'],
secretFile: json['secretFile'],
secretRef: json['secretRef'] != null
? SecretReference.fromJson(json['secretRef'])
: null,
user: json['user'],
);