GetAccessEntryResult.fromMap constructor

GetAccessEntryResult.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetAccessEntryResult.fromMap(Map<String, dynamic> map) {
  return GetAccessEntryResult(
    accessEntryArn: map['accessEntryArn'] as String,
    clusterName: map['clusterName'] as String,
    createdAt: map['createdAt'] as String,
    id: map['id'] as String,
    kubernetesGroups: (map['kubernetesGroups'] as List).cast<String>(),
    modifiedAt: map['modifiedAt'] as String,
    principalArn: map['principalArn'] as String,
    region: map['region'] as String,
    tags: (map['tags'] as Map).cast<String, String>(),
    tagsAll: (map['tagsAll'] as Map).cast<String, String>(),
    type: map['type'] as String,
    userName: map['userName'] as String,
  );
}