MicrosoftGraphLicenseDetails Class

public final class MicrosoftGraphLicenseDetails
extends MicrosoftGraphEntity

licenseDetails.

Constructor Summary

Constructor Description
MicrosoftGraphLicenseDetails()

Creates an instance of MicrosoftGraphLicenseDetails class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: licenseDetails.

List<MicrosoftGraphServicePlanInfo> servicePlans()

Get the servicePlans property: Information about the service plans assigned with the license.

UUID skuId()

Get the skuId property: Unique identifier (GUID) for the service SKU.

String skuPartNumber()

Get the skuPartNumber property: The skuPartNumber property.

void validate()

Validates the instance.

MicrosoftGraphLicenseDetails withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: licenseDetails.

MicrosoftGraphLicenseDetails withId(String id)

Set the id property: Read-only.

MicrosoftGraphLicenseDetails withServicePlans(List<MicrosoftGraphServicePlanInfo> servicePlans)

Set the servicePlans property: Information about the service plans assigned with the license.

MicrosoftGraphLicenseDetails withSkuId(UUID skuId)

Set the skuId property: Unique identifier (GUID) for the service SKU.

MicrosoftGraphLicenseDetails withSkuPartNumber(String skuPartNumber)

Set the skuPartNumber property: The skuPartNumber property.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphLicenseDetails

public MicrosoftGraphLicenseDetails()

Creates an instance of MicrosoftGraphLicenseDetails class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: licenseDetails.

Overrides:

MicrosoftGraphLicenseDetails.additionalProperties()

Returns:

the additionalProperties value.

servicePlans

public List servicePlans()

Get the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.

Returns:

the servicePlans value.

skuId

public UUID skuId()

Get the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.

Returns:

the skuId value.

skuPartNumber

public String skuPartNumber()

Get the skuPartNumber property: The skuPartNumber property.

Returns:

the skuPartNumber value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphLicenseDetails.validate()

withAdditionalProperties

public MicrosoftGraphLicenseDetails withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: licenseDetails.

Overrides:

MicrosoftGraphLicenseDetails.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphLicenseDetails object itself.

withId

public MicrosoftGraphLicenseDetails withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphLicenseDetails.withId(String id)

Parameters:

id

withServicePlans

public MicrosoftGraphLicenseDetails withServicePlans(List servicePlans)

Set the servicePlans property: Information about the service plans assigned with the license. Read-only, Not nullable.

Parameters:

servicePlans - the servicePlans value to set.

Returns:

the MicrosoftGraphLicenseDetails object itself.

withSkuId

public MicrosoftGraphLicenseDetails withSkuId(UUID skuId)

Set the skuId property: Unique identifier (GUID) for the service SKU. Equal to the skuId property on the related SubscribedSku object. Read-only.

Parameters:

skuId - the skuId value to set.

Returns:

the MicrosoftGraphLicenseDetails object itself.

withSkuPartNumber

public MicrosoftGraphLicenseDetails withSkuPartNumber(String skuPartNumber)

Set the skuPartNumber property: The skuPartNumber property.

Parameters:

skuPartNumber - the skuPartNumber value to set.

Returns:

the MicrosoftGraphLicenseDetails object itself.

Applies to