Example #1
0
 /// <summary>
 /// Create service model from api model
 /// </summary>
 public PublishedDataSetSourceModel ToServiceModel()
 {
     return(new PublishedDataSetSourceModel {
         Connection = Connection?.ToServiceModel(),
         PublishedEvents = PublishedEvents?.ToServiceModel(),
         PublishedVariables = PublishedVariables?.ToServiceModel(),
         SubscriptionSettings = SubscriptionSettings?.ToServiceModel()
     });
 }