toJson method
Converts a ResourceClaimParametersReference instance to JSON data.
Implementation
Map<String, Object> toJson() {
final jsonData = <String, Object>{};
final tempApiGroup = apiGroup;
final tempKind = kind;
final tempName = name;
if (tempApiGroup != null) {
jsonData['apiGroup'] = tempApiGroup;
}
jsonData['kind'] = tempKind;
jsonData['name'] = tempName;
return jsonData;
}