MaintenanceReturnObject.cs 992 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;

namespace Coscine.Api.Notices.ReturnObjects
{
    /// <summary>
    /// This class represents a maintenance with its significant properties, which is returned from the api.
    /// </summary>
    public class MaintenanceReturnObject
    {
        /// <summary>
        /// Maintenance title.
        /// </summary>
        public string DisplayName { get; set; }

        /// <summary>
        /// Maintenance url.
        /// </summary>
        public Uri Url { get; set; }

        /// <summary>
        /// Maintenance type.
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// Maintenance description.
        /// </summary>
        public string Body { get; set; }

        /// <summary>
        /// Maintenance start.
        /// </summary>
        public DateTime? StartsDate { get; set; }

        /// <summary>
        /// Maintenance end.
        /// </summary>
        public DateTime? EndsDate { get; set; }
    }
}