DescribeUserProfileResponse.fromJson constructor
DescribeUserProfileResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DescribeUserProfileResponse.fromJson(Map<String, dynamic> json) {
return DescribeUserProfileResponse(
creationTime: timeStampFromJson(json['CreationTime']),
domainId: json['DomainId'] as String?,
failureReason: json['FailureReason'] as String?,
homeEfsFileSystemUid: json['HomeEfsFileSystemUid'] as String?,
lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
singleSignOnUserIdentifier: json['SingleSignOnUserIdentifier'] as String?,
singleSignOnUserValue: json['SingleSignOnUserValue'] as String?,
status: (json['Status'] as String?)?.toUserProfileStatus(),
userProfileArn: json['UserProfileArn'] as String?,
userProfileName: json['UserProfileName'] as String?,
userSettings: json['UserSettings'] != null
? UserSettings.fromJson(json['UserSettings'] as Map<String, dynamic>)
: null,
);
}