/// <summary>
        /// Create a new client instance for the OpenScope API REST web service at https://appload.scopevisio.com/rest/swagger.json
        /// </summary>
        /// <param name="config"></param>
        public OpenScopeApiClient(Client.Configuration config)
        {
            this.Config           = config;
            this.AuthorizationApi = new Api.AuthorizationApi(this.Config);
            this.AdditionalApi    = new Api.AdditionalApi(this.Config);
#pragma warning disable CS0618 // Typ oder Element ist veraltet
            this.AccountingApi       = new Api.AccountingApi(this.Config);
            this.ActivitiesApi       = new Api.ActivitiesApi(this.Config);
            this.CashbookApi         = new Api.CashbookApi(this.Config);
            this.ContactApi          = new Api.ContactApi(this.Config);
            this.CreditApi           = new Api.CreditApi(this.Config);
            this.DispatchApi         = new Api.DispatchApi(this.Config);
            this.HumanResourcesApi   = new Api.HumanResourcesApi(this.Config);
            this.IncomingInvoiceApi  = new Api.IncomingInvoiceApi(this.Config);
            this.OfferApi            = new Api.OfferApi(this.Config);
            this.OpportunityApi      = new Api.OpportunityApi(this.Config);
            this.OrderApi            = new Api.OrderApi(this.Config);
            this.OrganisationApi     = new Api.OrganisationApi(this.Config);
            this.OutgoingInvoiceApi  = new Api.OutgoingInvoiceApi(this.Config);
            this.ProductApi          = new Api.ProductApi(this.Config);
            this.ProjectApi          = new Api.ProjectApi(this.Config);
            this.RecurringInvoiceApi = new Api.RecurringInvoiceApi(this.Config);
            this.ReportApi           = new Api.ReportApi(this.Config);
            this.TaskApi             = new Api.TaskApi(this.Config);
            this.TeamworkApi         = new Api.TeamworkApi(this.Config);
            this.UserApi             = new Api.UserApi(this.Config);
#pragma warning restore CS0618 // Typ oder Element ist veraltet
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="OrganisationApi"/> class
        /// using Configuration object
        /// </summary>
        /// <param name="configuration">An instance of Configuration</param>
        /// <returns></returns>
        public OrganisationApi(CompuMaster.Scopevisio.OpenApi.Client.Configuration configuration = null)
        {
            if (configuration == null) // use the default one in Configuration
            {
                this.Configuration = CompuMaster.Scopevisio.OpenApi.Client.Configuration.Default;
            }
            else
            {
                this.Configuration = configuration;
            }

            ExceptionFactory = CompuMaster.Scopevisio.OpenApi.Client.Configuration.DefaultExceptionFactory;
        }