toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final complianceResourceId = this.complianceResourceId;
  final complianceResourceTypes = this.complianceResourceTypes;
  final tagKey = this.tagKey;
  final tagValue = this.tagValue;
  return {
    if (complianceResourceId != null)
      'ComplianceResourceId': complianceResourceId,
    if (complianceResourceTypes != null)
      'ComplianceResourceTypes': complianceResourceTypes,
    if (tagKey != null) 'TagKey': tagKey,
    if (tagValue != null) 'TagValue': tagValue,
  };
}