CustomResourceSubresourceScale.fromJson constructor
Creates a CustomResourceSubresourceScale from JSON data.
Implementation
factory CustomResourceSubresourceScale.fromJson(Map<String, dynamic> json) {
final tempLabelSelectorPathJson = json['labelSelectorPath'];
final tempSpecReplicasPathJson = json['specReplicasPath'];
final tempStatusReplicasPathJson = json['statusReplicasPath'];
final String? tempLabelSelectorPath = tempLabelSelectorPathJson;
final String tempSpecReplicasPath = tempSpecReplicasPathJson;
final String tempStatusReplicasPath = tempStatusReplicasPathJson;
return CustomResourceSubresourceScale(
labelSelectorPath: tempLabelSelectorPath,
specReplicasPath: tempSpecReplicasPath,
statusReplicasPath: tempStatusReplicasPath,
);
}