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

com.microsoft.store.partnercenter.analytics.PartnerAnalyticsCollectionOperations Maven / Gradle / Ivy

There is a newer version: 1.15.3
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.

package com.microsoft.store.partnercenter.analytics;

import com.microsoft.store.partnercenter.BasePartnerComponentString;
import com.microsoft.store.partnercenter.IPartner;

/**
 * Implements the operations on partner analytics collection.
 */
public class PartnerAnalyticsCollectionOperations
    extends BasePartnerComponentString
    implements IPartnerAnalyticsCollection
{
    /**
     * A lazy reference to the operations on partner's licenses' analytics collection.
     */
    private IPartnerLicensesAnalyticsCollection licenses;

    /**
     * Initializes a new instance of the PartnerAnalyticsCollectionOperations class.
     * 
     * @param rootPartnerOperations The root partner operations instance.
     */
    public PartnerAnalyticsCollectionOperations(IPartner rootPartnerOperations)
    {
        super(rootPartnerOperations);

        licenses = new PartnerLicensesAnalyticsCollectionOperations(this.getPartner());
    }

    /**
     * Gets the operations on partner's licenses' analytics collection.
     *
     * @return The operations on partner's licenses' analytics collection.
     */
    @Override
    public IPartnerLicensesAnalyticsCollection getLicenses()
    {
        return this.licenses;
    }
  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy