/// <summary> /// Initializes a new instance of the <see cref="AuthorizationTokenApi"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public AuthorizationTokenApi(iimmpact.Client.Configuration configuration = null) { if (configuration == null) // use the default one in Configuration { this.Configuration = iimmpact.Client.Configuration.Default; } else { this.Configuration = configuration; } ExceptionFactory = iimmpact.Client.Configuration.DefaultExceptionFactory; }
/// <summary> /// Initializes a new instance of the <see cref="CarInsuranceApi"/> class /// using Configuration object /// </summary> /// <param name="configuration">An instance of Configuration</param> /// <returns></returns> public CarInsuranceApi(iimmpact.Client.Configuration configuration = null) { if (configuration == null) // use the default one in Configuration { this.Configuration = iimmpact.Client.Configuration.Default; } else { this.Configuration = configuration; } ExceptionFactory = iimmpact.Client.Configuration.DefaultExceptionFactory; }