MicrosoftGraphDeviceCategory Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDeviceCategory
- com.
- com.
public final class MicrosoftGraphDeviceCategory
extends MicrosoftGraphEntity
deviceCategory Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphDeviceCategory() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
description()
Get the description property: Optional description for the device category. |
String |
displayName()
Get the display |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withDescription(String description)
Set the description property: Optional description for the device category. |
Microsoft |
withDisplayName(String displayName)
Set the display |
Microsoft |
withId(String id)
Set the id property: Read-only. |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphDeviceCategory
public MicrosoftGraphDeviceCategory()
Creates an instance of MicrosoftGraphDeviceCategory class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
Overrides:
MicrosoftGraphDeviceCategory.additionalProperties()Returns:
description
public String description()
Get the description property: Optional description for the device category.
Returns:
displayName
public String displayName()
Get the displayName property: Display name for the device category.
Returns:
fromJson
public static MicrosoftGraphDeviceCategory fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDeviceCategory from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDeviceCategory.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphDeviceCategory.validate()withAdditionalProperties
public MicrosoftGraphDeviceCategory withAdditionalProperties(Map
Set the additionalProperties property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
Overrides:
MicrosoftGraphDeviceCategory.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withDescription
public MicrosoftGraphDeviceCategory withDescription(String description)
Set the description property: Optional description for the device category.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphDeviceCategory withDisplayName(String displayName)
Set the displayName property: Display name for the device category.
Parameters:
Returns:
withId
public MicrosoftGraphDeviceCategory withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDeviceCategory.withId(String id)Parameters:
Applies to
Azure SDK for Java