VirtualRouterRef.fromJson constructor

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

Implementation

factory VirtualRouterRef.fromJson(Map<String, dynamic> json) {
  return VirtualRouterRef(
    arn: json['arn'] as String,
    createdAt: nonNullableTimeStampFromJson(json['createdAt'] as Object),
    lastUpdatedAt:
        nonNullableTimeStampFromJson(json['lastUpdatedAt'] as Object),
    meshName: json['meshName'] as String,
    meshOwner: json['meshOwner'] as String,
    resourceOwner: json['resourceOwner'] as String,
    version: json['version'] as int,
    virtualRouterName: json['virtualRouterName'] as String,
  );
}