Class GroupsAssignLicenseRequestBody
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.GroupsAssignLicenseRequestBody
-
public final class GroupsAssignLicenseRequestBody extends Object
The GroupsAssignLicenseRequestBody model.
-
-
Constructor Summary
Constructors Constructor Description GroupsAssignLicenseRequestBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: Dictionary of <any>.List<MicrosoftGraphAssignedLicense>
addLicenses()
Get the addLicenses property: The addLicenses property.List<UUID>
removeLicenses()
Get the removeLicenses property: The removeLicenses property.void
validate()
Validates the instance.GroupsAssignLicenseRequestBody
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.GroupsAssignLicenseRequestBody
withAddLicenses(List<MicrosoftGraphAssignedLicense> addLicenses)
Set the addLicenses property: The addLicenses property.GroupsAssignLicenseRequestBody
withRemoveLicenses(List<UUID> removeLicenses)
Set the removeLicenses property: The removeLicenses property.
-
-
-
Method Detail
-
addLicenses
public List<MicrosoftGraphAssignedLicense> addLicenses()
Get the addLicenses property: The addLicenses property.- Returns:
- the addLicenses value.
-
withAddLicenses
public GroupsAssignLicenseRequestBody withAddLicenses(List<MicrosoftGraphAssignedLicense> addLicenses)
Set the addLicenses property: The addLicenses property.- Parameters:
addLicenses
- the addLicenses value to set.- Returns:
- the GroupsAssignLicenseRequestBody object itself.
-
removeLicenses
public List<UUID> removeLicenses()
Get the removeLicenses property: The removeLicenses property.- Returns:
- the removeLicenses value.
-
withRemoveLicenses
public GroupsAssignLicenseRequestBody withRemoveLicenses(List<UUID> removeLicenses)
Set the removeLicenses property: The removeLicenses property.- Parameters:
removeLicenses
- the removeLicenses value to set.- Returns:
- the GroupsAssignLicenseRequestBody object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Dictionary of <any>.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public GroupsAssignLicenseRequestBody withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Dictionary of <any>.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the GroupsAssignLicenseRequestBody object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-