Aufgrund einer Wartung wird GitLab am 19.10. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 19.10. between 8:00 and 9:00 am.

ResourceObject.cs 632 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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Coscine.Api.Project.ReturnObjects
{
    [Serializable]
    public class ResourceObject
    {
        public Guid Id { get; set; }

        public string ExternalId { get; set; }
        public string Url { get; set; }

        public ResourceTypeObject Type { get; set; }

        public ResourceObject(Guid id, string externalId, string url, ResourceTypeObject type)
        {
            Id = id;
            ExternalId = externalId;
            Url = url;
            Type = type;
        }
    }
}