AwsCloudFrontDistributionOriginGroupFailover.fromJson constructor

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

Implementation

factory AwsCloudFrontDistributionOriginGroupFailover.fromJson(
    Map<String, dynamic> json) {
  return AwsCloudFrontDistributionOriginGroupFailover(
    statusCodes: json['StatusCodes'] != null
        ? AwsCloudFrontDistributionOriginGroupFailoverStatusCodes.fromJson(
            json['StatusCodes'] as Map<String, dynamic>)
        : null,
  );
}