ResourceClaimConsumerReference.fromJson constructor
Creates a ResourceClaimConsumerReference from JSON data.
Implementation
factory ResourceClaimConsumerReference.fromJson(Map<String, dynamic> json) {
final tempApiGroupJson = json['apiGroup'];
final tempNameJson = json['name'];
final tempResourceJson = json['resource'];
final tempUidJson = json['uid'];
final String? tempApiGroup = tempApiGroupJson;
final String tempName = tempNameJson;
final String tempResource = tempResourceJson;
final String tempUid = tempUidJson;
return ResourceClaimConsumerReference(
apiGroup: tempApiGroup,
name: tempName,
resource: tempResource,
uid: tempUid,
);
}