All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.TinypassClientApi Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client;

import java.util.LinkedHashMap;
import java.util.Map;

import com.tinypass.client.common.*;
import com.tinypass.client.user.api.*;
import com.tinypass.client.publisher.api.*;
import com.tinypass.client.anon.api.*;
import com.tinypass.client.id.api.*;

public class TinypassClientApi {
    public static final String VERSION = "16.295.0";
    private String basePath;
    private String token;
    private Map headerParams;

    private final ApiInvoker invoker;

    public void setApiToken(String token) {
        this.token = token;
    }

    public TinypassClientApi(String basePath, String token) {
        this(basePath, token, null);
    }

    public TinypassClientApi(String basePath, String token, ApiInvoker invoker) {
        this(basePath, token, invoker, new LinkedHashMap());
    }

    public TinypassClientApi(String basePath, String token, ApiInvoker invoker, Map headerParams) {
        if ("prod".equals(basePath)) {
            basePath = "https://api.piano.io/api/v3";
        } else if ("sandbox".equals(basePath)) {
            basePath = "https://sandbox.piano.io/api/v3";
        }
        this.basePath = basePath;
        this.token = token;
        this.invoker = invoker;
        this.headerParams = headerParams;
    }

    private UserApi user;
    private UserAccessApi userAccess;

    public UserApi user(){
        if (user == null)
            user = new UserApi(basePath, token, invoker, headerParams);
        return user;
    }

    public UserAccessApi userAccess(){
        if (userAccess == null)
            userAccess = new UserAccessApi(basePath, token, invoker, headerParams);
        return userAccess;
    }

    private PublisherAdblockerApi publisherAdblocker;
    private PublisherAppApi publisherApp;
    private PublisherAppApiTokenApi publisherAppApiToken;
    private PublisherAppFeaturesApi publisherAppFeatures;
    private PublisherConsentApi publisherConsent;
    private PublisherConsentEntryApi publisherConsentEntry;
    private PublisherConversionApi publisherConversion;
    private PublisherConversionCustomApi publisherConversionCustom;
    private PublisherConversionDataApi publisherConversionData;
    private PublisherConversionExternalApi publisherConversionExternal;
    private PublisherConversionRegistrationApi publisherConversionRegistration;
    private PublisherExportApi publisherExport;
    private PublisherExportCreateApi publisherExportCreate;
    private PublisherExportCreateAamApi publisherExportCreateAam;
    private PublisherExportCreateAamMonthlyApi publisherExportCreateAamMonthly;
    private PublisherExportCreateAccessReportExportApi publisherExportCreateAccessReportExport;
    private PublisherExportCreateSubscriptionDetailsReportApi publisherExportCreateSubscriptionDetailsReport;
    private PublisherExportCreateTransactionsReportApi publisherExportCreateTransactionsReport;
    private PublisherGdprApi publisherGdpr;
    private PublisherInquiryApi publisherInquiry;
    private PublisherLicensingContractApi publisherLicensingContract;
    private PublisherLicensingContractDomainApi publisherLicensingContractDomain;
    private PublisherLicensingContractDomainContractUserApi publisherLicensingContractDomainContractUser;
    private PublisherLicensingContractIpRangeApi publisherLicensingContractIpRange;
    private PublisherLicensingContractPeriodsApi publisherLicensingContractPeriods;
    private PublisherLicensingContractUserApi publisherLicensingContractUser;
    private PublisherLicensingLicenseeApi publisherLicensingLicensee;
    private PublisherLicensingNotificationApi publisherLicensingNotification;
    private PublisherLicensingNotificationRuleApi publisherLicensingNotificationRule;
    private PublisherLicensingScheduleApi publisherLicensingSchedule;
    private PublisherLicensingScheduleContractPeriodsApi publisherLicensingScheduleContractPeriods;
    private PublisherLinkedTermApi publisherLinkedTerm;
    private PublisherLinkedTermCustomFieldApi publisherLinkedTermCustomField;
    private PublisherOfferApi publisherOffer;
    private PublisherOfferTemplateApi publisherOfferTemplate;
    private PublisherOfferTemplateCreateApi publisherOfferTemplateCreate;
    private PublisherOfferTemplateInheritedApi publisherOfferTemplateInherited;
    private PublisherOfferTemplateUpdateApi publisherOfferTemplateUpdate;
    private PublisherOfferTemplateVariantApi publisherOfferTemplateVariant;
    private PublisherOfferTermApi publisherOfferTerm;
    private PublisherOfferTermOfferApi publisherOfferTermOffer;
    private PublisherPaymentApi publisherPayment;
    private PublisherPaymentMethodApi publisherPaymentMethod;
    private PublisherPaymentMethodBillingAddressApi publisherPaymentMethodBillingAddress;
    private PublisherPaymentMethodGmoApi publisherPaymentMethodGmo;
    private PublisherPaymentProviderConfigurationApi publisherPaymentProviderConfiguration;
    private PublisherPromotionApi publisherPromotion;
    private PublisherPromotionCodeApi publisherPromotionCode;
    private PublisherPromotionFixedDiscountApi publisherPromotionFixedDiscount;
    private PublisherPromotionTermApi publisherPromotionTerm;
    private PublisherResourceApi publisherResource;
    private PublisherResourceBundleApi publisherResourceBundle;
    private PublisherResourceCrossAppApi publisherResourceCrossApp;
    private PublisherResourceStatsApi publisherResourceStats;
    private PublisherResourceTagApi publisherResourceTag;
    private PublisherResourceUserApi publisherResourceUser;
    private PublisherScheduleApi publisherSchedule;
    private PublisherSchedulePeriodApi publisherSchedulePeriod;
    private PublisherSubscriptionApi publisherSubscription;
    private PublisherSubscriptionAddressApi publisherSubscriptionAddress;
    private PublisherSubscriptionCancelApi publisherSubscriptionCancel;
    private PublisherSubscriptionShareApi publisherSubscriptionShare;
    private PublisherSubscriptionShareUserApi publisherSubscriptionShareUser;
    private PublisherTeamApi publisherTeam;
    private PublisherTermApi publisherTerm;
    private PublisherTermChangeApi publisherTermChange;
    private PublisherTermChangeOptionApi publisherTermChangeOption;
    private PublisherTermCustomApi publisherTermCustom;
    private PublisherTermDynamicApi publisherTermDynamic;
    private PublisherTermExternalApi publisherTermExternal;
    private PublisherTermGiftApi publisherTermGift;
    private PublisherTermPaymentApi publisherTermPayment;
    private PublisherTermRegistrationApi publisherTermRegistration;
    private PublisherTermStatsApi publisherTermStats;
    private PublisherTestApi publisherTest;
    private PublisherUserApi publisherUser;
    private PublisherUserAccessApi publisherUserAccess;
    private PublisherUserAccessActiveApi publisherUserAccessActive;
    private PublisherUserAddressApi publisherUserAddress;
    private PublisherUserAppApi publisherUserApp;
    private PublisherUserBillingAddressApi publisherUserBillingAddress;
    private PublisherUserBulkImportApi publisherUserBulkImport;
    private PublisherUserEmailApi publisherUserEmail;
    private PublisherUserListApi publisherUserList;
    private PublisherUserNoteApi publisherUserNote;
    private PublisherVoucherApi publisherVoucher;
    private PublisherWebhookApi publisherWebhook;
    private PublisherWebhookResponseApi publisherWebhookResponse;
    private PublisherWebhookSettingsApi publisherWebhookSettings;

    public PublisherAdblockerApi publisherAdblocker(){
        if (publisherAdblocker == null)
            publisherAdblocker = new PublisherAdblockerApi(basePath, token, invoker, headerParams);
        return publisherAdblocker;
    }

    public PublisherAppApi publisherApp(){
        if (publisherApp == null)
            publisherApp = new PublisherAppApi(basePath, token, invoker, headerParams);
        return publisherApp;
    }

    public PublisherAppApiTokenApi publisherAppApiToken(){
        if (publisherAppApiToken == null)
            publisherAppApiToken = new PublisherAppApiTokenApi(basePath, token, invoker, headerParams);
        return publisherAppApiToken;
    }

    public PublisherAppFeaturesApi publisherAppFeatures(){
        if (publisherAppFeatures == null)
            publisherAppFeatures = new PublisherAppFeaturesApi(basePath, token, invoker, headerParams);
        return publisherAppFeatures;
    }

    public PublisherConsentApi publisherConsent(){
        if (publisherConsent == null)
            publisherConsent = new PublisherConsentApi(basePath, token, invoker, headerParams);
        return publisherConsent;
    }

    public PublisherConsentEntryApi publisherConsentEntry(){
        if (publisherConsentEntry == null)
            publisherConsentEntry = new PublisherConsentEntryApi(basePath, token, invoker, headerParams);
        return publisherConsentEntry;
    }

    public PublisherConversionApi publisherConversion(){
        if (publisherConversion == null)
            publisherConversion = new PublisherConversionApi(basePath, token, invoker, headerParams);
        return publisherConversion;
    }

    public PublisherConversionCustomApi publisherConversionCustom(){
        if (publisherConversionCustom == null)
            publisherConversionCustom = new PublisherConversionCustomApi(basePath, token, invoker, headerParams);
        return publisherConversionCustom;
    }

    public PublisherConversionDataApi publisherConversionData(){
        if (publisherConversionData == null)
            publisherConversionData = new PublisherConversionDataApi(basePath, token, invoker, headerParams);
        return publisherConversionData;
    }

    public PublisherConversionExternalApi publisherConversionExternal(){
        if (publisherConversionExternal == null)
            publisherConversionExternal = new PublisherConversionExternalApi(basePath, token, invoker, headerParams);
        return publisherConversionExternal;
    }

    public PublisherConversionRegistrationApi publisherConversionRegistration(){
        if (publisherConversionRegistration == null)
            publisherConversionRegistration = new PublisherConversionRegistrationApi(basePath, token, invoker, headerParams);
        return publisherConversionRegistration;
    }

    public PublisherExportApi publisherExport(){
        if (publisherExport == null)
            publisherExport = new PublisherExportApi(basePath, token, invoker, headerParams);
        return publisherExport;
    }

    public PublisherExportCreateApi publisherExportCreate(){
        if (publisherExportCreate == null)
            publisherExportCreate = new PublisherExportCreateApi(basePath, token, invoker, headerParams);
        return publisherExportCreate;
    }

    public PublisherExportCreateAamApi publisherExportCreateAam(){
        if (publisherExportCreateAam == null)
            publisherExportCreateAam = new PublisherExportCreateAamApi(basePath, token, invoker, headerParams);
        return publisherExportCreateAam;
    }

    public PublisherExportCreateAamMonthlyApi publisherExportCreateAamMonthly(){
        if (publisherExportCreateAamMonthly == null)
            publisherExportCreateAamMonthly = new PublisherExportCreateAamMonthlyApi(basePath, token, invoker, headerParams);
        return publisherExportCreateAamMonthly;
    }

    public PublisherExportCreateAccessReportExportApi publisherExportCreateAccessReportExport(){
        if (publisherExportCreateAccessReportExport == null)
            publisherExportCreateAccessReportExport = new PublisherExportCreateAccessReportExportApi(basePath, token, invoker, headerParams);
        return publisherExportCreateAccessReportExport;
    }

    public PublisherExportCreateSubscriptionDetailsReportApi publisherExportCreateSubscriptionDetailsReport(){
        if (publisherExportCreateSubscriptionDetailsReport == null)
            publisherExportCreateSubscriptionDetailsReport = new PublisherExportCreateSubscriptionDetailsReportApi(basePath, token, invoker, headerParams);
        return publisherExportCreateSubscriptionDetailsReport;
    }

    public PublisherExportCreateTransactionsReportApi publisherExportCreateTransactionsReport(){
        if (publisherExportCreateTransactionsReport == null)
            publisherExportCreateTransactionsReport = new PublisherExportCreateTransactionsReportApi(basePath, token, invoker, headerParams);
        return publisherExportCreateTransactionsReport;
    }

    public PublisherGdprApi publisherGdpr(){
        if (publisherGdpr == null)
            publisherGdpr = new PublisherGdprApi(basePath, token, invoker, headerParams);
        return publisherGdpr;
    }

    public PublisherInquiryApi publisherInquiry(){
        if (publisherInquiry == null)
            publisherInquiry = new PublisherInquiryApi(basePath, token, invoker, headerParams);
        return publisherInquiry;
    }

    public PublisherLicensingContractApi publisherLicensingContract(){
        if (publisherLicensingContract == null)
            publisherLicensingContract = new PublisherLicensingContractApi(basePath, token, invoker, headerParams);
        return publisherLicensingContract;
    }

    public PublisherLicensingContractDomainApi publisherLicensingContractDomain(){
        if (publisherLicensingContractDomain == null)
            publisherLicensingContractDomain = new PublisherLicensingContractDomainApi(basePath, token, invoker, headerParams);
        return publisherLicensingContractDomain;
    }

    public PublisherLicensingContractDomainContractUserApi publisherLicensingContractDomainContractUser(){
        if (publisherLicensingContractDomainContractUser == null)
            publisherLicensingContractDomainContractUser = new PublisherLicensingContractDomainContractUserApi(basePath, token, invoker, headerParams);
        return publisherLicensingContractDomainContractUser;
    }

    public PublisherLicensingContractIpRangeApi publisherLicensingContractIpRange(){
        if (publisherLicensingContractIpRange == null)
            publisherLicensingContractIpRange = new PublisherLicensingContractIpRangeApi(basePath, token, invoker, headerParams);
        return publisherLicensingContractIpRange;
    }

    public PublisherLicensingContractPeriodsApi publisherLicensingContractPeriods(){
        if (publisherLicensingContractPeriods == null)
            publisherLicensingContractPeriods = new PublisherLicensingContractPeriodsApi(basePath, token, invoker, headerParams);
        return publisherLicensingContractPeriods;
    }

    public PublisherLicensingContractUserApi publisherLicensingContractUser(){
        if (publisherLicensingContractUser == null)
            publisherLicensingContractUser = new PublisherLicensingContractUserApi(basePath, token, invoker, headerParams);
        return publisherLicensingContractUser;
    }

    public PublisherLicensingLicenseeApi publisherLicensingLicensee(){
        if (publisherLicensingLicensee == null)
            publisherLicensingLicensee = new PublisherLicensingLicenseeApi(basePath, token, invoker, headerParams);
        return publisherLicensingLicensee;
    }

    public PublisherLicensingNotificationApi publisherLicensingNotification(){
        if (publisherLicensingNotification == null)
            publisherLicensingNotification = new PublisherLicensingNotificationApi(basePath, token, invoker, headerParams);
        return publisherLicensingNotification;
    }

    public PublisherLicensingNotificationRuleApi publisherLicensingNotificationRule(){
        if (publisherLicensingNotificationRule == null)
            publisherLicensingNotificationRule = new PublisherLicensingNotificationRuleApi(basePath, token, invoker, headerParams);
        return publisherLicensingNotificationRule;
    }

    public PublisherLicensingScheduleApi publisherLicensingSchedule(){
        if (publisherLicensingSchedule == null)
            publisherLicensingSchedule = new PublisherLicensingScheduleApi(basePath, token, invoker, headerParams);
        return publisherLicensingSchedule;
    }

    public PublisherLicensingScheduleContractPeriodsApi publisherLicensingScheduleContractPeriods(){
        if (publisherLicensingScheduleContractPeriods == null)
            publisherLicensingScheduleContractPeriods = new PublisherLicensingScheduleContractPeriodsApi(basePath, token, invoker, headerParams);
        return publisherLicensingScheduleContractPeriods;
    }

    public PublisherLinkedTermApi publisherLinkedTerm(){
        if (publisherLinkedTerm == null)
            publisherLinkedTerm = new PublisherLinkedTermApi(basePath, token, invoker, headerParams);
        return publisherLinkedTerm;
    }

    public PublisherLinkedTermCustomFieldApi publisherLinkedTermCustomField(){
        if (publisherLinkedTermCustomField == null)
            publisherLinkedTermCustomField = new PublisherLinkedTermCustomFieldApi(basePath, token, invoker, headerParams);
        return publisherLinkedTermCustomField;
    }

    public PublisherOfferApi publisherOffer(){
        if (publisherOffer == null)
            publisherOffer = new PublisherOfferApi(basePath, token, invoker, headerParams);
        return publisherOffer;
    }

    public PublisherOfferTemplateApi publisherOfferTemplate(){
        if (publisherOfferTemplate == null)
            publisherOfferTemplate = new PublisherOfferTemplateApi(basePath, token, invoker, headerParams);
        return publisherOfferTemplate;
    }

    public PublisherOfferTemplateCreateApi publisherOfferTemplateCreate(){
        if (publisherOfferTemplateCreate == null)
            publisherOfferTemplateCreate = new PublisherOfferTemplateCreateApi(basePath, token, invoker, headerParams);
        return publisherOfferTemplateCreate;
    }

    public PublisherOfferTemplateInheritedApi publisherOfferTemplateInherited(){
        if (publisherOfferTemplateInherited == null)
            publisherOfferTemplateInherited = new PublisherOfferTemplateInheritedApi(basePath, token, invoker, headerParams);
        return publisherOfferTemplateInherited;
    }

    public PublisherOfferTemplateUpdateApi publisherOfferTemplateUpdate(){
        if (publisherOfferTemplateUpdate == null)
            publisherOfferTemplateUpdate = new PublisherOfferTemplateUpdateApi(basePath, token, invoker, headerParams);
        return publisherOfferTemplateUpdate;
    }

    public PublisherOfferTemplateVariantApi publisherOfferTemplateVariant(){
        if (publisherOfferTemplateVariant == null)
            publisherOfferTemplateVariant = new PublisherOfferTemplateVariantApi(basePath, token, invoker, headerParams);
        return publisherOfferTemplateVariant;
    }

    public PublisherOfferTermApi publisherOfferTerm(){
        if (publisherOfferTerm == null)
            publisherOfferTerm = new PublisherOfferTermApi(basePath, token, invoker, headerParams);
        return publisherOfferTerm;
    }

    public PublisherOfferTermOfferApi publisherOfferTermOffer(){
        if (publisherOfferTermOffer == null)
            publisherOfferTermOffer = new PublisherOfferTermOfferApi(basePath, token, invoker, headerParams);
        return publisherOfferTermOffer;
    }

    public PublisherPaymentApi publisherPayment(){
        if (publisherPayment == null)
            publisherPayment = new PublisherPaymentApi(basePath, token, invoker, headerParams);
        return publisherPayment;
    }

    public PublisherPaymentMethodApi publisherPaymentMethod(){
        if (publisherPaymentMethod == null)
            publisherPaymentMethod = new PublisherPaymentMethodApi(basePath, token, invoker, headerParams);
        return publisherPaymentMethod;
    }

    public PublisherPaymentMethodBillingAddressApi publisherPaymentMethodBillingAddress(){
        if (publisherPaymentMethodBillingAddress == null)
            publisherPaymentMethodBillingAddress = new PublisherPaymentMethodBillingAddressApi(basePath, token, invoker, headerParams);
        return publisherPaymentMethodBillingAddress;
    }

    public PublisherPaymentMethodGmoApi publisherPaymentMethodGmo(){
        if (publisherPaymentMethodGmo == null)
            publisherPaymentMethodGmo = new PublisherPaymentMethodGmoApi(basePath, token, invoker, headerParams);
        return publisherPaymentMethodGmo;
    }

    public PublisherPaymentProviderConfigurationApi publisherPaymentProviderConfiguration(){
        if (publisherPaymentProviderConfiguration == null)
            publisherPaymentProviderConfiguration = new PublisherPaymentProviderConfigurationApi(basePath, token, invoker, headerParams);
        return publisherPaymentProviderConfiguration;
    }

    public PublisherPromotionApi publisherPromotion(){
        if (publisherPromotion == null)
            publisherPromotion = new PublisherPromotionApi(basePath, token, invoker, headerParams);
        return publisherPromotion;
    }

    public PublisherPromotionCodeApi publisherPromotionCode(){
        if (publisherPromotionCode == null)
            publisherPromotionCode = new PublisherPromotionCodeApi(basePath, token, invoker, headerParams);
        return publisherPromotionCode;
    }

    public PublisherPromotionFixedDiscountApi publisherPromotionFixedDiscount(){
        if (publisherPromotionFixedDiscount == null)
            publisherPromotionFixedDiscount = new PublisherPromotionFixedDiscountApi(basePath, token, invoker, headerParams);
        return publisherPromotionFixedDiscount;
    }

    public PublisherPromotionTermApi publisherPromotionTerm(){
        if (publisherPromotionTerm == null)
            publisherPromotionTerm = new PublisherPromotionTermApi(basePath, token, invoker, headerParams);
        return publisherPromotionTerm;
    }

    public PublisherResourceApi publisherResource(){
        if (publisherResource == null)
            publisherResource = new PublisherResourceApi(basePath, token, invoker, headerParams);
        return publisherResource;
    }

    public PublisherResourceBundleApi publisherResourceBundle(){
        if (publisherResourceBundle == null)
            publisherResourceBundle = new PublisherResourceBundleApi(basePath, token, invoker, headerParams);
        return publisherResourceBundle;
    }

    public PublisherResourceCrossAppApi publisherResourceCrossApp(){
        if (publisherResourceCrossApp == null)
            publisherResourceCrossApp = new PublisherResourceCrossAppApi(basePath, token, invoker, headerParams);
        return publisherResourceCrossApp;
    }

    public PublisherResourceStatsApi publisherResourceStats(){
        if (publisherResourceStats == null)
            publisherResourceStats = new PublisherResourceStatsApi(basePath, token, invoker, headerParams);
        return publisherResourceStats;
    }

    public PublisherResourceTagApi publisherResourceTag(){
        if (publisherResourceTag == null)
            publisherResourceTag = new PublisherResourceTagApi(basePath, token, invoker, headerParams);
        return publisherResourceTag;
    }

    public PublisherResourceUserApi publisherResourceUser(){
        if (publisherResourceUser == null)
            publisherResourceUser = new PublisherResourceUserApi(basePath, token, invoker, headerParams);
        return publisherResourceUser;
    }

    public PublisherScheduleApi publisherSchedule(){
        if (publisherSchedule == null)
            publisherSchedule = new PublisherScheduleApi(basePath, token, invoker, headerParams);
        return publisherSchedule;
    }

    public PublisherSchedulePeriodApi publisherSchedulePeriod(){
        if (publisherSchedulePeriod == null)
            publisherSchedulePeriod = new PublisherSchedulePeriodApi(basePath, token, invoker, headerParams);
        return publisherSchedulePeriod;
    }

    public PublisherSubscriptionApi publisherSubscription(){
        if (publisherSubscription == null)
            publisherSubscription = new PublisherSubscriptionApi(basePath, token, invoker, headerParams);
        return publisherSubscription;
    }

    public PublisherSubscriptionAddressApi publisherSubscriptionAddress(){
        if (publisherSubscriptionAddress == null)
            publisherSubscriptionAddress = new PublisherSubscriptionAddressApi(basePath, token, invoker, headerParams);
        return publisherSubscriptionAddress;
    }

    public PublisherSubscriptionCancelApi publisherSubscriptionCancel(){
        if (publisherSubscriptionCancel == null)
            publisherSubscriptionCancel = new PublisherSubscriptionCancelApi(basePath, token, invoker, headerParams);
        return publisherSubscriptionCancel;
    }

    public PublisherSubscriptionShareApi publisherSubscriptionShare(){
        if (publisherSubscriptionShare == null)
            publisherSubscriptionShare = new PublisherSubscriptionShareApi(basePath, token, invoker, headerParams);
        return publisherSubscriptionShare;
    }

    public PublisherSubscriptionShareUserApi publisherSubscriptionShareUser(){
        if (publisherSubscriptionShareUser == null)
            publisherSubscriptionShareUser = new PublisherSubscriptionShareUserApi(basePath, token, invoker, headerParams);
        return publisherSubscriptionShareUser;
    }

    public PublisherTeamApi publisherTeam(){
        if (publisherTeam == null)
            publisherTeam = new PublisherTeamApi(basePath, token, invoker, headerParams);
        return publisherTeam;
    }

    public PublisherTermApi publisherTerm(){
        if (publisherTerm == null)
            publisherTerm = new PublisherTermApi(basePath, token, invoker, headerParams);
        return publisherTerm;
    }

    public PublisherTermChangeApi publisherTermChange(){
        if (publisherTermChange == null)
            publisherTermChange = new PublisherTermChangeApi(basePath, token, invoker, headerParams);
        return publisherTermChange;
    }

    public PublisherTermChangeOptionApi publisherTermChangeOption(){
        if (publisherTermChangeOption == null)
            publisherTermChangeOption = new PublisherTermChangeOptionApi(basePath, token, invoker, headerParams);
        return publisherTermChangeOption;
    }

    public PublisherTermCustomApi publisherTermCustom(){
        if (publisherTermCustom == null)
            publisherTermCustom = new PublisherTermCustomApi(basePath, token, invoker, headerParams);
        return publisherTermCustom;
    }

    public PublisherTermDynamicApi publisherTermDynamic(){
        if (publisherTermDynamic == null)
            publisherTermDynamic = new PublisherTermDynamicApi(basePath, token, invoker, headerParams);
        return publisherTermDynamic;
    }

    public PublisherTermExternalApi publisherTermExternal(){
        if (publisherTermExternal == null)
            publisherTermExternal = new PublisherTermExternalApi(basePath, token, invoker, headerParams);
        return publisherTermExternal;
    }

    public PublisherTermGiftApi publisherTermGift(){
        if (publisherTermGift == null)
            publisherTermGift = new PublisherTermGiftApi(basePath, token, invoker, headerParams);
        return publisherTermGift;
    }

    public PublisherTermPaymentApi publisherTermPayment(){
        if (publisherTermPayment == null)
            publisherTermPayment = new PublisherTermPaymentApi(basePath, token, invoker, headerParams);
        return publisherTermPayment;
    }

    public PublisherTermRegistrationApi publisherTermRegistration(){
        if (publisherTermRegistration == null)
            publisherTermRegistration = new PublisherTermRegistrationApi(basePath, token, invoker, headerParams);
        return publisherTermRegistration;
    }

    public PublisherTermStatsApi publisherTermStats(){
        if (publisherTermStats == null)
            publisherTermStats = new PublisherTermStatsApi(basePath, token, invoker, headerParams);
        return publisherTermStats;
    }

    public PublisherTestApi publisherTest(){
        if (publisherTest == null)
            publisherTest = new PublisherTestApi(basePath, token, invoker, headerParams);
        return publisherTest;
    }

    public PublisherUserApi publisherUser(){
        if (publisherUser == null)
            publisherUser = new PublisherUserApi(basePath, token, invoker, headerParams);
        return publisherUser;
    }

    public PublisherUserAccessApi publisherUserAccess(){
        if (publisherUserAccess == null)
            publisherUserAccess = new PublisherUserAccessApi(basePath, token, invoker, headerParams);
        return publisherUserAccess;
    }

    public PublisherUserAccessActiveApi publisherUserAccessActive(){
        if (publisherUserAccessActive == null)
            publisherUserAccessActive = new PublisherUserAccessActiveApi(basePath, token, invoker, headerParams);
        return publisherUserAccessActive;
    }

    public PublisherUserAddressApi publisherUserAddress(){
        if (publisherUserAddress == null)
            publisherUserAddress = new PublisherUserAddressApi(basePath, token, invoker, headerParams);
        return publisherUserAddress;
    }

    public PublisherUserAppApi publisherUserApp(){
        if (publisherUserApp == null)
            publisherUserApp = new PublisherUserAppApi(basePath, token, invoker, headerParams);
        return publisherUserApp;
    }

    public PublisherUserBillingAddressApi publisherUserBillingAddress(){
        if (publisherUserBillingAddress == null)
            publisherUserBillingAddress = new PublisherUserBillingAddressApi(basePath, token, invoker, headerParams);
        return publisherUserBillingAddress;
    }

    public PublisherUserBulkImportApi publisherUserBulkImport(){
        if (publisherUserBulkImport == null)
            publisherUserBulkImport = new PublisherUserBulkImportApi(basePath, token, invoker, headerParams);
        return publisherUserBulkImport;
    }

    public PublisherUserEmailApi publisherUserEmail(){
        if (publisherUserEmail == null)
            publisherUserEmail = new PublisherUserEmailApi(basePath, token, invoker, headerParams);
        return publisherUserEmail;
    }

    public PublisherUserListApi publisherUserList(){
        if (publisherUserList == null)
            publisherUserList = new PublisherUserListApi(basePath, token, invoker, headerParams);
        return publisherUserList;
    }

    public PublisherUserNoteApi publisherUserNote(){
        if (publisherUserNote == null)
            publisherUserNote = new PublisherUserNoteApi(basePath, token, invoker, headerParams);
        return publisherUserNote;
    }

    public PublisherVoucherApi publisherVoucher(){
        if (publisherVoucher == null)
            publisherVoucher = new PublisherVoucherApi(basePath, token, invoker, headerParams);
        return publisherVoucher;
    }

    public PublisherWebhookApi publisherWebhook(){
        if (publisherWebhook == null)
            publisherWebhook = new PublisherWebhookApi(basePath, token, invoker, headerParams);
        return publisherWebhook;
    }

    public PublisherWebhookResponseApi publisherWebhookResponse(){
        if (publisherWebhookResponse == null)
            publisherWebhookResponse = new PublisherWebhookResponseApi(basePath, token, invoker, headerParams);
        return publisherWebhookResponse;
    }

    public PublisherWebhookSettingsApi publisherWebhookSettings(){
        if (publisherWebhookSettings == null)
            publisherWebhookSettings = new PublisherWebhookSettingsApi(basePath, token, invoker, headerParams);
        return publisherWebhookSettings;
    }

    private AccessApi access;
    private AccessTokenApi accessToken;
    private AnonAssetsApi anonAssets;
    private AnonCountryListApi anonCountryList;
    private AnonErrorApi anonError;
    private AnonMobileSdkIdDeploymentApi anonMobileSdkIdDeployment;
    private AnonUserApi anonUser;
    private AnonUserDisableApi anonUserDisable;
    private ConversionApi conversion;
    private ConversionExternalApi conversionExternal;
    private ConversionRegistrationApi conversionRegistration;
    private EmailConfirmationApi emailConfirmation;
    private OauthApi oauth;
    private SubscriptionApi subscription;
    private SwgSyncApi swgSync;

    public AccessApi access(){
        if (access == null)
            access = new AccessApi(basePath, token, invoker, headerParams);
        return access;
    }

    public AccessTokenApi accessToken(){
        if (accessToken == null)
            accessToken = new AccessTokenApi(basePath, token, invoker, headerParams);
        return accessToken;
    }

    public AnonAssetsApi anonAssets(){
        if (anonAssets == null)
            anonAssets = new AnonAssetsApi(basePath, token, invoker, headerParams);
        return anonAssets;
    }

    public AnonCountryListApi anonCountryList(){
        if (anonCountryList == null)
            anonCountryList = new AnonCountryListApi(basePath, token, invoker, headerParams);
        return anonCountryList;
    }

    public AnonErrorApi anonError(){
        if (anonError == null)
            anonError = new AnonErrorApi(basePath, token, invoker, headerParams);
        return anonError;
    }

    public AnonMobileSdkIdDeploymentApi anonMobileSdkIdDeployment(){
        if (anonMobileSdkIdDeployment == null)
            anonMobileSdkIdDeployment = new AnonMobileSdkIdDeploymentApi(basePath, token, invoker, headerParams);
        return anonMobileSdkIdDeployment;
    }

    public AnonUserApi anonUser(){
        if (anonUser == null)
            anonUser = new AnonUserApi(basePath, token, invoker, headerParams);
        return anonUser;
    }

    public AnonUserDisableApi anonUserDisable(){
        if (anonUserDisable == null)
            anonUserDisable = new AnonUserDisableApi(basePath, token, invoker, headerParams);
        return anonUserDisable;
    }

    public ConversionApi conversion(){
        if (conversion == null)
            conversion = new ConversionApi(basePath, token, invoker, headerParams);
        return conversion;
    }

    public ConversionExternalApi conversionExternal(){
        if (conversionExternal == null)
            conversionExternal = new ConversionExternalApi(basePath, token, invoker, headerParams);
        return conversionExternal;
    }

    public ConversionRegistrationApi conversionRegistration(){
        if (conversionRegistration == null)
            conversionRegistration = new ConversionRegistrationApi(basePath, token, invoker, headerParams);
        return conversionRegistration;
    }

    public EmailConfirmationApi emailConfirmation(){
        if (emailConfirmation == null)
            emailConfirmation = new EmailConfirmationApi(basePath, token, invoker, headerParams);
        return emailConfirmation;
    }

    public OauthApi oauth(){
        if (oauth == null)
            oauth = new OauthApi(basePath, token, invoker, headerParams);
        return oauth;
    }

    public SubscriptionApi subscription(){
        if (subscription == null)
            subscription = new SubscriptionApi(basePath, token, invoker, headerParams);
        return subscription;
    }

    public SwgSyncApi swgSync(){
        if (swgSync == null)
            swgSync = new SwgSyncApi(basePath, token, invoker, headerParams);
        return swgSync;
    }

    private IdentityOauthApi identityOauth;
    private IdentityTokenApi identityToken;
    private PublisherApi publisher;
    private PublisherAuditApi publisherAudit;
    private PublisherFormApi publisherForm;
    private PublisherIdentityApi publisherIdentity;
    private PublisherIdentitySetApi publisherIdentitySet;
    private PublisherImportCustomFieldsApi publisherImportCustomFields;
    private PublisherLoginApi publisherLogin;
    private PublisherLoginSocialApi publisherLoginSocial;
    private PublisherResetApi publisherReset;
    private PublisherTokenApi publisherToken;
    private PublisherUserinfoApi publisherUserinfo;
    private PublisherUsersApi publisherUsers;

    public IdentityOauthApi identityOauth(){
        if (identityOauth == null)
            identityOauth = new IdentityOauthApi(basePath, token, invoker, headerParams);
        return identityOauth;
    }

    public IdentityTokenApi identityToken(){
        if (identityToken == null)
            identityToken = new IdentityTokenApi(basePath, token, invoker, headerParams);
        return identityToken;
    }

    public PublisherApi publisher(){
        if (publisher == null)
            publisher = new PublisherApi(basePath, token, invoker, headerParams);
        return publisher;
    }

    public PublisherAuditApi publisherAudit(){
        if (publisherAudit == null)
            publisherAudit = new PublisherAuditApi(basePath, token, invoker, headerParams);
        return publisherAudit;
    }

    public PublisherFormApi publisherForm(){
        if (publisherForm == null)
            publisherForm = new PublisherFormApi(basePath, token, invoker, headerParams);
        return publisherForm;
    }

    public PublisherIdentityApi publisherIdentity(){
        if (publisherIdentity == null)
            publisherIdentity = new PublisherIdentityApi(basePath, token, invoker, headerParams);
        return publisherIdentity;
    }

    public PublisherIdentitySetApi publisherIdentitySet(){
        if (publisherIdentitySet == null)
            publisherIdentitySet = new PublisherIdentitySetApi(basePath, token, invoker, headerParams);
        return publisherIdentitySet;
    }

    public PublisherImportCustomFieldsApi publisherImportCustomFields(){
        if (publisherImportCustomFields == null)
            publisherImportCustomFields = new PublisherImportCustomFieldsApi(basePath, token, invoker, headerParams);
        return publisherImportCustomFields;
    }

    public PublisherLoginApi publisherLogin(){
        if (publisherLogin == null)
            publisherLogin = new PublisherLoginApi(basePath, token, invoker, headerParams);
        return publisherLogin;
    }

    public PublisherLoginSocialApi publisherLoginSocial(){
        if (publisherLoginSocial == null)
            publisherLoginSocial = new PublisherLoginSocialApi(basePath, token, invoker, headerParams);
        return publisherLoginSocial;
    }

    public PublisherResetApi publisherReset(){
        if (publisherReset == null)
            publisherReset = new PublisherResetApi(basePath, token, invoker, headerParams);
        return publisherReset;
    }

    public PublisherTokenApi publisherToken(){
        if (publisherToken == null)
            publisherToken = new PublisherTokenApi(basePath, token, invoker, headerParams);
        return publisherToken;
    }

    public PublisherUserinfoApi publisherUserinfo(){
        if (publisherUserinfo == null)
            publisherUserinfo = new PublisherUserinfoApi(basePath, token, invoker, headerParams);
        return publisherUserinfo;
    }

    public PublisherUsersApi publisherUsers(){
        if (publisherUsers == null)
            publisherUsers = new PublisherUsersApi(basePath, token, invoker, headerParams);
        return publisherUsers;
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy