GatewayRouteRef.fromJson constructor

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

Implementation

factory GatewayRouteRef.fromJson(Map<String, dynamic> json) {
  return GatewayRouteRef(
    arn: json['arn'] as String,
    createdAt: nonNullableTimeStampFromJson(json['createdAt'] as Object),
    gatewayRouteName: json['gatewayRouteName'] as String,
    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,
    virtualGatewayName: json['virtualGatewayName'] as String,
  );
}