HTTPIngressPath.fromJson constructor
Creates a HTTPIngressPath from JSON data.
Implementation
factory HTTPIngressPath.fromJson(Map<String, dynamic> json) {
final tempBackendJson = json['backend'];
final tempPathJson = json['path'];
final tempPathTypeJson = json['pathType'];
final IngressBackend tempBackend = IngressBackend.fromJson(tempBackendJson);
final String? tempPath = tempPathJson;
final String tempPathType = tempPathTypeJson;
return HTTPIngressPath(
backend: tempBackend,
path: tempPath,
pathType: tempPathType,
);
}