RoleAliasDescription.fromJson constructor

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

Implementation

factory RoleAliasDescription.fromJson(Map<String, dynamic> json) {
  return RoleAliasDescription(
    creationDate: timeStampFromJson(json['creationDate']),
    credentialDurationSeconds: json['credentialDurationSeconds'] as int?,
    lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
    owner: json['owner'] as String?,
    roleAlias: json['roleAlias'] as String?,
    roleAliasArn: json['roleAliasArn'] as String?,
    roleArn: json['roleArn'] as String?,
  );
}