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 _angemeldeterUser { get; set; }
        private ChatGruppenDaten _alleGruppen { 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; }
        private long _maxUploadSize { get; set; }

        public ChatDatenUebergabe(AuthentifizierungsDaten serverConect, UserDaten angemeldeterUser, ChatGruppenDaten alleGruppen, string serverUrl, string authToken, long? userid, string kundennummer, string apikey,long maxUploadSize)
        {
            _serverconect = serverConect;
            _angemeldeterUser = angemeldeterUser;
            _alleGruppen = alleGruppen;

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

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

        public UserDaten AngemeldeterUser
        {
            get
            {
                return _angemeldeterUser;   
            }
            private set
            {
                _angemeldeterUser = value;
            }
        }

        public ChatGruppenDaten AlleGruppen
        {
            get
            {
                return _alleGruppen;
            }
            private set
            {
                _alleGruppen = 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;
            }
        }

        public long MaxUploadSize
        {
            get
            {
                return _maxUploadSize;
            }
            private set
            {
                _maxUploadSize = value;
            }
        }
    }
}
