AggregateResourceIdentifier.fromJson constructor

AggregateResourceIdentifier.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AggregateResourceIdentifier.fromJson(Map<String, dynamic> json) {
  return AggregateResourceIdentifier(
    resourceId: json['ResourceId'] as String,
    resourceType: (json['ResourceType'] as String).toResourceType(),
    sourceAccountId: json['SourceAccountId'] as String,
    sourceRegion: json['SourceRegion'] as String,
    resourceName: json['ResourceName'] as String?,
  );
}