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

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

// -----------------------------------------------------------------------
// 
//      Copyright (c) Microsoft Corporation. All rights reserved.
// 
// -----------------------------------------------------------------------

package com.microsoft.store.partnercenter.analytics;

import com.fasterxml.jackson.core.type.TypeReference;
import com.microsoft.store.partnercenter.BasePartnerComponentString;
import com.microsoft.store.partnercenter.IPartner;
import com.microsoft.store.partnercenter.PartnerService;
import com.microsoft.store.partnercenter.models.ResourceCollection;
import com.microsoft.store.partnercenter.models.analytics.PartnerLicensesDeploymentInsights;

/**
 * Implements the operations on partner licenses deployment insights collection.
 */
public class PartnerLicensesDeploymentInsightsCollectionOperations
    extends BasePartnerComponentString
    implements IPartnerLicensesDeploymentInsightsCollection
{
    /**
     * Initializes a new instance of the PartnerLicensesDeploymentInsightsCollectionOperations class.
     * 
     * @param rootPartnerOperations The root partner operations instance.
     */
    public PartnerLicensesDeploymentInsightsCollectionOperations( IPartner rootPartnerOperations )
    {
        super( rootPartnerOperations );
    }

    /**
     * Retrieves the collection of partner's licenses' deployment insights.
     * 
     * @return Collection of partner's licenses' deployment insights.
     */
    @Override
    public ResourceCollection get()
    {
        return this.getPartner().getServiceClient().get(
            this.getPartner(),
            new TypeReference>(){},
            PartnerService.getInstance().getConfiguration().getApis().get( "PartnerLicensesDeploymentInsights" ).getPath());
    }
  }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy