Class MicrosoftGraphContentTypeOrder
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphContentTypeOrder
contentTypeOrder.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphContentTypeOrder class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: contentTypeOrder.Get the defaultProperty property: Whether this is the default Content Type.position()Get the position property: Specifies the position in which the Content Type appears in the selection UI.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contentTypeOrder.withDefaultProperty(Boolean defaultProperty) Set the defaultProperty property: Whether this is the default Content Type.withPosition(Integer position) Set the position property: Specifies the position in which the Content Type appears in the selection UI.
-
Constructor Details
-
MicrosoftGraphContentTypeOrder
public MicrosoftGraphContentTypeOrder()Creates an instance of MicrosoftGraphContentTypeOrder class.
-
-
Method Details
-
defaultProperty
Get the defaultProperty property: Whether this is the default Content Type.- Returns:
- the defaultProperty value.
-
withDefaultProperty
Set the defaultProperty property: Whether this is the default Content Type.- Parameters:
defaultProperty- the defaultProperty value to set.- Returns:
- the MicrosoftGraphContentTypeOrder object itself.
-
position
Get the position property: Specifies the position in which the Content Type appears in the selection UI.- Returns:
- the position value.
-
withPosition
Set the position property: Specifies the position in which the Content Type appears in the selection UI.- Parameters:
position- the position value to set.- Returns:
- the MicrosoftGraphContentTypeOrder object itself.
-
additionalProperties
Get the additionalProperties property: contentTypeOrder.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphContentTypeOrder withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: contentTypeOrder.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphContentTypeOrder object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-