Class MicrosoftGraphContentTypeInfo
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContentTypeInfo
-
public final class MicrosoftGraphContentTypeInfo extends Object
contentTypeInfo.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphContentTypeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: contentTypeInfo.Stringid()Get the id property: The id of the content type.Stringname()Get the name property: The name of the content type.voidvalidate()Validates the instance.MicrosoftGraphContentTypeInfowithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: contentTypeInfo.MicrosoftGraphContentTypeInfowithId(String id)Set the id property: The id of the content type.MicrosoftGraphContentTypeInfowithName(String name)Set the name property: The name of the content type.
-
-
-
Method Detail
-
id
public String id()
Get the id property: The id of the content type.- Returns:
- the id value.
-
withId
public MicrosoftGraphContentTypeInfo withId(String id)
Set the id property: The id of the content type.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphContentTypeInfo object itself.
-
name
public String name()
Get the name property: The name of the content type.- Returns:
- the name value.
-
withName
public MicrosoftGraphContentTypeInfo withName(String name)
Set the name property: The name of the content type.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphContentTypeInfo object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: contentTypeInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContentTypeInfo withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contentTypeInfo.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContentTypeInfo object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-