Class MicrosoftGraphServicePlanInfo


  • public final class MicrosoftGraphServicePlanInfo
    extends Object
    servicePlanInfo.
    • Constructor Detail

      • MicrosoftGraphServicePlanInfo

        public MicrosoftGraphServicePlanInfo()
    • Method Detail

      • appliesTo

        public String appliesTo()
        Get the appliesTo property: The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant.
        Returns:
        the appliesTo value.
      • withAppliesTo

        public MicrosoftGraphServicePlanInfo withAppliesTo​(String appliesTo)
        Set the appliesTo property: The object the service plan can be assigned to. Possible values:'User' - service plan can be assigned to individual users.'Company' - service plan can be assigned to the entire tenant.
        Parameters:
        appliesTo - the appliesTo value to set.
        Returns:
        the MicrosoftGraphServicePlanInfo object itself.
      • provisioningStatus

        public String provisioningStatus()
        Get the provisioningStatus property: The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.
        Returns:
        the provisioningStatus value.
      • withProvisioningStatus

        public MicrosoftGraphServicePlanInfo withProvisioningStatus​(String provisioningStatus)
        Set the provisioningStatus property: The provisioning status of the service plan. Possible values:'Success' - Service is fully provisioned.'Disabled' - Service has been disabled.'PendingInput' - Service is not yet provisioned; awaiting service confirmation.'PendingActivation' - Service is provisioned but requires explicit activation by administrator (for example, Intune_O365 service plan)'PendingProvisioning' - Microsoft has added a new service to the product SKU and it has not been activated in the tenant, yet.
        Parameters:
        provisioningStatus - the provisioningStatus value to set.
        Returns:
        the MicrosoftGraphServicePlanInfo object itself.
      • servicePlanId

        public UUID servicePlanId()
        Get the servicePlanId property: The unique identifier of the service plan.
        Returns:
        the servicePlanId value.
      • withServicePlanId

        public MicrosoftGraphServicePlanInfo withServicePlanId​(UUID servicePlanId)
        Set the servicePlanId property: The unique identifier of the service plan.
        Parameters:
        servicePlanId - the servicePlanId value to set.
        Returns:
        the MicrosoftGraphServicePlanInfo object itself.
      • servicePlanName

        public String servicePlanName()
        Get the servicePlanName property: The name of the service plan.
        Returns:
        the servicePlanName value.
      • withServicePlanName

        public MicrosoftGraphServicePlanInfo withServicePlanName​(String servicePlanName)
        Set the servicePlanName property: The name of the service plan.
        Parameters:
        servicePlanName - the servicePlanName value to set.
        Returns:
        the MicrosoftGraphServicePlanInfo object itself.
      • additionalProperties

        public Map<String,​Object> additionalProperties()
        Get the additionalProperties property: servicePlanInfo.
        Returns:
        the additionalProperties value.
      • withAdditionalProperties

        public MicrosoftGraphServicePlanInfo withAdditionalProperties​(Map<String,​Object> additionalProperties)
        Set the additionalProperties property: servicePlanInfo.
        Parameters:
        additionalProperties - the additionalProperties value to set.
        Returns:
        the MicrosoftGraphServicePlanInfo object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.