public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://virtserver.swaggerhub.com/VNGRealisatie/api/plan_sw___toepasbare_regel_sw/v0") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "http://104.248.226.225:8080//ricardorzan/Employex/1.0.0") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://virtserver.swaggerhub.com/VNG-sandbox/Waardering-onroerende-zaken/1.0.0") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://9a474388-ba4d-469a-bf3c-8b557f89012d.client-api.unity3dusercontent.com/client_api/v1") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://api.bag.acceptatie.kadaster.nl/esd/huidigebevragingen/v1") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "http://healthsuite.allocatesoftware.com/vms/provisioning/v1") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://13d16e9d-d8b1-4ef4-bc4a-ed8156b2b159.mock.pstmn.io") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #8
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://virtserver.swaggerhub.com/BrambyPerspective/CheckoutPaymentGatewayAPI/V1") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #9
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://test.edfi.education.mn.gov:443/sb20_/edfi.ods.webapi/data/v3") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #10
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://virtserver.swaggerhub.com/RobinTTYTeam/AppliedAI/1.0.0") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #11
0
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://demo.tenants.oryapis.com/api/kratos/public") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #12
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://jsapi-integration.us-east-1.elasticbeanstalk.com") : this()
        {
            if (string.IsNullOrEmpty(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #14
0
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "http://petstore.swagger.io:80/v2") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        public Configuration(
            IDictionary <string, string> defaultHeaders,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://arqsimocfactoryservice.azurewebsites.net") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeaders == null)
            {
                throw new ArgumentNullException("defaultHeaders");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeaders)
            {
                DefaultHeaders.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "https://fbn-prd.lusid.com/api") : this()
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }
Exemple #17
0
        /// <summary>
        /// Initializes a new instance of the <see cref="Configuration" /> class
        /// </summary>
        public Configuration(
            IDictionary <string, string> defaultHeader,
            IDictionary <string, string> apiKey,
            IDictionary <string, string> apiKeyPrefix,
            string basePath = "http://104.128.226.60:7890") : this()    //  testBigAlice2path
        {
            if (string.IsNullOrWhiteSpace(basePath))
            {
                throw new ArgumentException("The provided basePath is invalid.", "basePath");
            }
            if (defaultHeader == null)
            {
                throw new ArgumentNullException("defaultHeader");
            }
            if (apiKey == null)
            {
                throw new ArgumentNullException("apiKey");
            }
            if (apiKeyPrefix == null)
            {
                throw new ArgumentNullException("apiKeyPrefix");
            }

            BasePath = basePath;

            foreach (var keyValuePair in defaultHeader)
            {
                DefaultHeader.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKey)
            {
                ApiKey.Add(keyValuePair);
            }

            foreach (var keyValuePair in apiKeyPrefix)
            {
                ApiKeyPrefix.Add(keyValuePair);
            }
        }