Class MicrosoftGraphContentTypeInfo
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContentTypeInfo
contentTypeInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphContentTypeInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: contentTypeInfo.id()Get the id property: The id of the content type.name()Get the name property: The name of the content type.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contentTypeInfo.Set the id property: The id of the content type.Set the name property: The name of the content type.
-
Constructor Details
-
MicrosoftGraphContentTypeInfo
public MicrosoftGraphContentTypeInfo()Creates an instance of MicrosoftGraphContentTypeInfo class.
-
-
Method Details
-
id
Get the id property: The id of the content type.- Returns:
- the id value.
-
withId
Set the id property: The id of the content type.- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphContentTypeInfo object itself.
-
name
Get the name property: The name of the content type.- Returns:
- the name value.
-
withName
Set the name property: The name of the content type.- Parameters:
name- the name value to set.- Returns:
- the MicrosoftGraphContentTypeInfo object itself.
-
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.
-