MicrosoftGraphLicenseAssignmentState Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphLicenseAssignmentState
- com.
Implements
public final class MicrosoftGraphLicenseAssignmentState
implements JsonSerializable<MicrosoftGraphLicenseAssignmentState>
licenseAssignmentState.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphLicenseAssignmentState() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
assignedByGroup()
Get the assigned |
List<UUID> |
disabledPlans()
Get the disabled |
String |
error()
Get the error property: The error property. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
UUID |
skuId()
Get the sku |
String |
state()
Get the state property: The state property. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssignedByGroup(String assignedByGroup)
Set the assigned |
Microsoft |
withDisabledPlans(List<UUID> disabledPlans)
Set the disabled |
Microsoft |
withError(String error)
Set the error property: The error property. |
Microsoft |
withSkuId(UUID skuId)
Set the sku |
Microsoft |
withState(String state)
Set the state property: The state property. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphLicenseAssignmentState
public MicrosoftGraphLicenseAssignmentState()
Creates an instance of MicrosoftGraphLicenseAssignmentState class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: licenseAssignmentState.
Returns:
assignedByGroup
public String assignedByGroup()
Get the assignedByGroup property: The assignedByGroup property.
Returns:
disabledPlans
public List
Get the disabledPlans property: The disabledPlans property.
Returns:
error
public String error()
Get the error property: The error property.
Returns:
fromJson
public static MicrosoftGraphLicenseAssignmentState fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphLicenseAssignmentState from the JsonReader.
Parameters:
Returns:
Throws:
skuId
public UUID skuId()
Get the skuId property: The skuId property.
Returns:
state
public String state()
Get the state property: The state property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphLicenseAssignmentState withAdditionalProperties(Map
Set the additionalProperties property: licenseAssignmentState.
Parameters:
Returns:
withAssignedByGroup
public MicrosoftGraphLicenseAssignmentState withAssignedByGroup(String assignedByGroup)
Set the assignedByGroup property: The assignedByGroup property.
Parameters:
Returns:
withDisabledPlans
public MicrosoftGraphLicenseAssignmentState withDisabledPlans(List
Set the disabledPlans property: The disabledPlans property.
Parameters:
Returns:
withError
public MicrosoftGraphLicenseAssignmentState withError(String error)
Set the error property: The error property.
Parameters:
Returns:
withSkuId
public MicrosoftGraphLicenseAssignmentState withSkuId(UUID skuId)
Set the skuId property: The skuId property.
Parameters:
Returns:
withState
public MicrosoftGraphLicenseAssignmentState withState(String state)
Set the state property: The state property.
Parameters:
Returns:
Applies to
Azure SDK for Java