< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_ConferenceId()100%10%
get_Name()100%10%
get_FullName()100%10%
get_Short()100%10%
get_Article()100%10%
get_ResolutlyCommitteeId()100%10%

File(s)

C:\Users\aeuke\source\repos\PeerConradi\munity\src\MUNitySchema\Conference\CreateCommitteeRequest.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace MUNity.Schema.Conference
 4{
 5    /// <summary>
 6    /// A request body used when creating a new committee for a conference.
 7    /// </summary>
 8    public class CreateCommitteeRequest
 9    {
 10        /// <summary>
 11        /// The id of the conference that you want to create the committee at.
 12        /// </summary>
 13        [Required]
 14        [MaxLength(80)]
 015        public string ConferenceId { get; set; }
 16
 17        /// <summary>
 18        /// The name of the committee for example: General Assembly
 19        /// The max length is 150 characters.
 20        /// </summary>
 21        [Required]
 22        [MaxLength(150)]
 023        public string Name { get; set; }
 24
 25        /// <summary>
 26        /// The full name of the committee for example: United Nations General Assembly.
 27        /// The max length is 250 characters.
 28        /// </summary>
 29        [Required]
 30        [MaxLength(250)]
 031        public string FullName { get; set; }
 32
 33        /// <summary>
 34        /// The short name of the committee for example: GA (for General Assembly)
 35        /// The Abbreviation (short name) has a max length of 10 characters.
 36        /// </summary>
 37        [Required]
 38        [MaxLength(10)]
 039        public string Short { get; set; }
 40
 41        /// <summary>
 42        /// The article of the committe for example: the, der, die, le, la...
 43        /// the max length of the article is 10 characters.
 44        /// </summary>
 45        [Required]
 46        [MaxLength(10)]
 047        public string Article { get; set; }
 48
 49        /// <summary>
 50        /// An id of a parent committee. Leave this property null if you dont want to set any.
 51        /// </summary>
 052        public string ResolutlyCommitteeId { get; set; }
 53    }
 54
 55    public class CreateCommitteeResponse : AbstractResponse
 56    {
 57
 58        public string NewCommitteeId { get; set; }
 59    }
 60}