GetPolicyVersionResponse.fromJson constructor

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

Implementation

factory GetPolicyVersionResponse.fromJson(Map<String, dynamic> json) {
  return GetPolicyVersionResponse(
    creationDate: timeStampFromJson(json['creationDate']),
    generationId: json['generationId'] as String?,
    isDefaultVersion: json['isDefaultVersion'] as bool?,
    lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
    policyArn: json['policyArn'] as String?,
    policyDocument: json['policyDocument'] as String?,
    policyName: json['policyName'] as String?,
    policyVersionId: json['policyVersionId'] as String?,
  );
}