namespace TeamViewerApi.TeamViewer.Rest
{
    using System;
    using System.Net;

    public class Properties
    {
        private string accessToken;
        private string url;
        private Method method;
        private string postData;
        private string contentType;

        public Properties(string accessToken, string url, Method method)
        {
            this.accessToken = accessToken;
            this.url = url;
            this.method = method;
            this.contentType = HttpContentType.Json;
        }

        public Properties(string accessToken, string url, Method method, string postData) : this(accessToken, url, method)
        {
            this.postData = postData;
        }

        public string AccessToken { get { return this.accessToken; } }

        public string URL { get { return this.url; } }

        public Method Method { get { return this.method; } }

        public string PostData { get { return this.postData; } }

        public string ContentType { get { return this.contentType; } }
    }
}
