VpcPeeringAuthorization.fromJson constructor

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

Implementation

factory VpcPeeringAuthorization.fromJson(Map<String, dynamic> json) {
  return VpcPeeringAuthorization(
    creationTime: timeStampFromJson(json['CreationTime']),
    expirationTime: timeStampFromJson(json['ExpirationTime']),
    gameLiftAwsAccountId: json['GameLiftAwsAccountId'] as String?,
    peerVpcAwsAccountId: json['PeerVpcAwsAccountId'] as String?,
    peerVpcId: json['PeerVpcId'] as String?,
  );
}