DaemonSetUpdateStrategy.fromJson constructor
Creates a DaemonSetUpdateStrategy from JSON data.
Implementation
factory DaemonSetUpdateStrategy.fromJson(Map<String, dynamic> json) {
final tempRollingUpdateJson = json['rollingUpdate'];
final tempTypeJson = json['type'];
final RollingUpdateDaemonSet? tempRollingUpdate =
tempRollingUpdateJson != null
? RollingUpdateDaemonSet.fromJson(tempRollingUpdateJson)
: null;
final String? tempType = tempTypeJson;
return DaemonSetUpdateStrategy(
rollingUpdate: tempRollingUpdate,
type: tempType,
);
}