PodFailurePolicyOnExitCodesRequirement.fromJson constructor
Creates a PodFailurePolicyOnExitCodesRequirement from JSON data.
Implementation
factory PodFailurePolicyOnExitCodesRequirement.fromJson(
Map<String, dynamic> json) {
final tempContainerNameJson = json['containerName'];
final tempOperatorJson = json['operator'];
final tempValuesJson = json['values'];
final String? tempContainerName = tempContainerNameJson;
final String tempOperator = tempOperatorJson;
final List<int> tempValues = List<int>.from(tempValuesJson);
return PodFailurePolicyOnExitCodesRequirement(
containerName: tempContainerName,
operator: tempOperator,
values: tempValues,
);
}