public PSExchangePeeringModelView(PSPeering peering)
 {
     this.Connections       = peering.Exchange.Connections;
     this.Kind              = peering.Kind;
     this.Location          = peering.Location;
     this.PeerAsn           = peering.Exchange.PeerAsn;
     this.PeeringLocation   = peering.PeeringLocation;
     this.ProvisioningState = peering.ProvisioningState;
     this.Sku    = peering.Sku;
     this.Tags   = peering.Tags;
     this.Name   = peering.Name;
     this.Id     = peering.Id;
     this.Type   = peering.Type;
     this.Direct = null;
 }
 public PSDirectPeeringModelView(PSPeering peering)
 {
     this.Connections       = peering.Direct?.Connections;
     this.Kind              = peering.Kind;
     this.Location          = peering.Location;
     this.PeerAsn           = peering.Direct.PeerAsn;
     this.PeeringLocation   = peering.PeeringLocation;
     this.ProvisioningState = peering.ProvisioningState;
     this.Sku = peering.Sku;
     this.UseForPeeringService = peering.Direct.UseForPeeringService ?? false;
     this.Tags     = peering.Tags;
     this.Name     = peering.Name;
     this.Id       = peering.Id;
     this.Type     = peering.Type;
     this.Exchange = null;
 }