< Summary

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

Metrics

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

File(s)

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

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.ComponentModel.DataAnnotations;
 4using System.Text;
 5
 6namespace MUNity.Schema.Conference
 7{
 8    /// <summary>
 9    /// The request body to create a new conference.
 10    /// </summary>
 11    public class CreateConferenceRequest
 12    {
 13        /// <summary>
 14        /// Every conference needs to be part of a project. for example Model United Nations Schleswig-Holstein 2021 wou
 15        /// of the project Model United Nations Schleswig-Holstein.
 16        /// You could also create a project named: "Model United Nations in Schools" and then create
 17        /// a conference named: MUN2021@SchoolX and make it part of the project "Model United Nations in Schools".
 18        /// </summary>
 19        [Required]
 20        public string ProjectId { get; set; }
 21
 22        /// <summary>
 23        /// The Name of the conference for example MUN Schleswig-Holstein 2021.
 24        /// </summary>
 25        [Required]
 26        public string Name { get; set; }
 27
 28        /// <summary>
 29        /// The full name of the conference for example Model United Nations Schleswig-Holstein 2021.
 30        /// </summary>
 31        [Required]
 32        public string FullName { get; set; }
 33
 34        /// <summary>
 35        /// A short name of the conference. Like: MUN-SH 2021
 36        /// </summary>
 37        [Required]
 38        public string ConferenceShort { get; set; }
 39
 40        /// <summary>
 41        /// The start Date of the Conference. Note that the Schema should be 08/18/2018 07:22:16, 08/18/2018, 2018-08-18
 42        /// allowed format you can find here: https://docs.microsoft.com/de-de/dotnet/api/system.datetime.parse?view=net
 43        /// <see cref="DateTime.Parse(string)"/>
 44        /// </summary>
 45        public DateTime? StartDate { get; set; }
 46
 47        /// <summary>
 48        /// The end Date of the Conference. Note that the Schema should be 08/18/2018 07:22:16, 08/18/2018, 2018-08-18T0
 49        /// allowed format you can find here: https://docs.microsoft.com/de-de/dotnet/api/system.datetime.parse?view=net
 50        /// <see cref="DateTime.Parse(string)"/>
 51        /// </summary>
 52        public DateTime? EndDate { get; set; }
 53    }
 54
 55    public class CreateConferenceResponse : AbstractResponse
 56    {
 57
 058        public string ConferenceId { get; set; }
 59    }
 60}

Methods/Properties

get_ConferenceId()