/// <summary> /// Create service model from api model /// </summary> public StructureDescriptionModel ToServiceModel() { return(new StructureDescriptionModel { DataTypeId = DataTypeId, Name = Name, StructureDefinition = StructureDefinition?.ToServiceModel() }); }