ResourceShareAssociation.fromJson constructor
ResourceShareAssociation.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ResourceShareAssociation.fromJson(Map<String, dynamic> json) {
return ResourceShareAssociation(
associatedEntity: json['associatedEntity'] as String?,
associationType: (json['associationType'] as String?)
?.toResourceShareAssociationType(),
creationTime: timeStampFromJson(json['creationTime']),
external: json['external'] as bool?,
lastUpdatedTime: timeStampFromJson(json['lastUpdatedTime']),
resourceShareArn: json['resourceShareArn'] as String?,
resourceShareName: json['resourceShareName'] as String?,
status: (json['status'] as String?)?.toResourceShareAssociationStatus(),
statusMessage: json['statusMessage'] as String?,
);
}