public static RootFolder ToModel(this RootFolderResource resource) { if (resource == null) { return(null); } return(new RootFolder { Id = resource.Id, Path = resource.Path, //FreeSpace //UnmappedFolders }); }
public static RootFolder ToModel(this RootFolderResource resource) { if (resource == null) { return(null); } return(new RootFolder { Id = resource.Id, Name = resource.Name, Path = resource.Path, DefaultMetadataProfileId = resource.DefaultMetadataProfileId, DefaultQualityProfileId = resource.DefaultQualityProfileId, DefaultMonitorOption = resource.DefaultMonitorOption, DefaultTags = resource.DefaultTags }); }