/// <summary>
 /// Helper method to copy data from a <see cref="ClusterEndpointData"/>
 /// to a <see cref="ClusterEndpointInfo"/> instance.
 /// </summary>
 /// <param name="info">The full data instance.</param>
 /// <param name="data">The data instance.</param>
 public static void CopyFrom(this ClusterEndpointInfo info, ClusterEndpointData data)
 {
     info.Link   = data?.Link;
     info.Name   = data?.Name;
     info.RoomId = data?.Room;
     info.Tags   = data?.Tags;
 }
 /// <summary>
 /// Helper method to convert a <see cref="ClusterEndpointData"/> instance
 /// to a <see cref="ClusterEndpointInfo"/> instance.
 /// </summary>
 /// <param name="data">The data instance.</param>
 /// <returns>The converted data.</returns>
 public static ClusterEndpointInfo ToClusterEndpointInfo(this ClusterEndpointData data)
 {
     return(new ClusterEndpointInfo()
     {
         Uuid = data?.Uuid,
         Link = data?.Link,
         Name = data?.Name,
         RoomId = data?.Room,
         Tags = data?.Tags
     });
 }