< Summary

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

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
get_ConferenceId()100%10%
get_NewAbbreviation()100%10%

File(s)

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

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2
 3namespace MUNity.Schema.Conference
 4{
 5    /// <summary>
 6    /// The Body of a request to change the short name (abbreviation) of a conference.
 7    /// </summary>
 8    public class ChangeConferenceAbbreviation
 9    {
 10        /// <summary>
 11        /// The id of the conference that the abbreviation should be changed of.
 12        /// </summary>
 13        [Required]
 14        [MaxLength(80)]
 015        public string ConferenceId { get; set; }
 16
 17        /// <summary>
 18        /// the new abbreviation (short name) that you want to set.
 19        /// </summary>
 20        [Required]
 21        [MaxLength(18)]
 022        public string NewAbbreviation { get; set; }
 23    }
 24}