< Summary

Class:MUNity.Schema.Simulation.CreateSimulationRequest
Assembly:MUNity.Schema
File(s):C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\CreateSimulationRequest.cs
Covered lines:0
Uncovered lines:3
Coverable lines:3
Total lines:33
Line coverage:0% (0 of 3)
Covered branches:0
Total branches:0
Covered methods:0
Total methods:3
Method coverage:0% (0 of 3)

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_Name()100%10%
get_AdminPassword()100%10%
get_UserDisplayName()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Schema\Simulation\CreateSimulationRequest.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.Text;
 5
 6namespace MUNity.Schema.Simulation
 7{
 8    /// <summary>
 9    /// A request body to create a new simulation/virual Committee.
 10    /// </summary>
 11    public class CreateSimulationRequest
 12    {
 13        /// <summary>
 14        /// The display name of the simulation.
 15        /// </summary>
 16        [Required]
 017        public string Name { get; set; }
 18
 19        /// <summary>
 20        /// The password for administration. This password will be asked if someone who is not the owner
 21        /// of the simulation will need to enter to change the settings.
 22        /// </summary>
 23        [Required]
 024        public string AdminPassword { get; set; }
 25
 26        /// <summary>
 27        /// The display name you want to have because the one creating the simulation will also be the
 28        /// first user to join and be added to the admin list.
 29        /// </summary>
 30        [Required]
 031        public string UserDisplayName { get; set; }
 32    }
 33}