MicrosoftGraphLicenseUnitsDetail Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphLicenseUnitsDetail
- com.
Implements
public final class MicrosoftGraphLicenseUnitsDetail
implements JsonSerializable<MicrosoftGraphLicenseUnitsDetail>
licenseUnitsDetail.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphLicenseUnitsDetail() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Integer |
enabled()
Get the enabled property: The number of units that are enabled. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Integer |
suspended()
Get the suspended property: The number of units that are suspended. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Integer |
warning()
Get the warning property: The number of units that are in warning status. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withEnabled(Integer enabled)
Set the enabled property: The number of units that are enabled. |
Microsoft |
withSuspended(Integer suspended)
Set the suspended property: The number of units that are suspended. |
Microsoft |
withWarning(Integer warning)
Set the warning property: The number of units that are in warning status. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphLicenseUnitsDetail
public MicrosoftGraphLicenseUnitsDetail()
Creates an instance of MicrosoftGraphLicenseUnitsDetail class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: licenseUnitsDetail.
Returns:
enabled
public Integer enabled()
Get the enabled property: The number of units that are enabled.
Returns:
fromJson
public static MicrosoftGraphLicenseUnitsDetail fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphLicenseUnitsDetail from the JsonReader.
Parameters:
Returns:
Throws:
suspended
public Integer suspended()
Get the suspended property: The number of units that are suspended.
Returns:
toJson
validate
public void validate()
Validates the instance.
warning
public Integer warning()
Get the warning property: The number of units that are in warning status.
Returns:
withAdditionalProperties
public MicrosoftGraphLicenseUnitsDetail withAdditionalProperties(Map
Set the additionalProperties property: licenseUnitsDetail.
Parameters:
Returns:
withEnabled
public MicrosoftGraphLicenseUnitsDetail withEnabled(Integer enabled)
Set the enabled property: The number of units that are enabled.
Parameters:
Returns:
withSuspended
public MicrosoftGraphLicenseUnitsDetail withSuspended(Integer suspended)
Set the suspended property: The number of units that are suspended.
Parameters:
Returns:
withWarning
public MicrosoftGraphLicenseUnitsDetail withWarning(Integer warning)
Set the warning property: The number of units that are in warning status.
Parameters:
Returns: