using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChatController.Klassen
{
    public class ChatDatenUebergabe
    {
        private AuthentifizierungsDaten _serverconect { get; set; }
        private UserDaten _userconect { get; set; }
        private ChatGruppenDaten _groupconect { get; set; }

        private string _serverUrl { get; set; }
        private string _authToken { get; set; }
        private long? _userid { get; set; }
        private string _kundennummer { get; set; }
        private string _apikey { get; set; }

        public ChatDatenUebergabe(AuthentifizierungsDaten serverConect, UserDaten userConect, ChatGruppenDaten groupConect, string serverUrl, string authToken, long? userid, string kundennummer, string apikey)
        {
            _serverconect = serverConect;
            _userconect = userConect;
            _groupconect = groupConect;

            _serverUrl = serverUrl;
            _authToken = authToken;
            _userid = userid;
            _kundennummer = kundennummer;
            _apikey = apikey;
        }

        public AuthentifizierungsDaten Serverconect
        {
            get
            {
                return _serverconect;
            }
            private set
            {
                _serverconect = value; 
            }
        }

        public UserDaten Userconect
        {
            get
            {
                return _userconect;   
            }
            private set
            {
                _userconect = value;
            }
        }

        public ChatGruppenDaten Groupconect
        {
            get
            {
                return _groupconect;
            }
            private set
            {
                _groupconect = value;
            }
        }

        public string ServerUrl
        {
            get
            {
                return _serverUrl;
            }
            private set
            {
                _serverUrl = value;
            }
        }

        public string AuthToken
        {
            get
            {
                return _authToken;
            }
            private set
            {
                _authToken = value;
            }
        }

        public long? Userid
        {
            get
            {
                return _userid;
            }
            private set
            {
                _userid = value;
            }
        }

        public string Kundennummer
        {
            get
            {
                return _kundennummer;
            }
            private set
            {
                _kundennummer = value;
            }
        }

        public string ApiKey
        {
            get
            {
                return _apikey;
            }
            private set
            {
                _apikey = value;
            }
        }
    }
}
