toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (associatedRecommendations != null)
'associatedRecommendations': associatedRecommendations!,
if (category != null) 'category': category!,
if (content != null) 'content': content!,
if (description != null) 'description': description!,
if (etag != null) 'etag': etag!,
if (insightSubtype != null) 'insightSubtype': insightSubtype!,
if (lastRefreshTime != null) 'lastRefreshTime': lastRefreshTime!,
if (name != null) 'name': name!,
if (observationPeriod != null) 'observationPeriod': observationPeriod!,
if (severity != null) 'severity': severity!,
if (stateInfo != null) 'stateInfo': stateInfo!,
if (targetResources != null) 'targetResources': targetResources!,
};