toJson method
Implementation
Map<String, dynamic> toJson() {
final complianceResourceId = this.complianceResourceId;
final complianceResourceType = this.complianceResourceType;
final complianceType = this.complianceType;
final orderingTimestamp = this.orderingTimestamp;
final annotation = this.annotation;
return {
'ComplianceResourceId': complianceResourceId,
'ComplianceResourceType': complianceResourceType,
'ComplianceType': complianceType.toValue(),
'OrderingTimestamp': unixTimestampToJson(orderingTimestamp),
if (annotation != null) 'Annotation': annotation,
};
}