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