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