Class MicrosoftGraphPublicationFacet
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPublicationFacet
publicationFacet.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPublicationFacet class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: publicationFacet.level()Get the level property: The state of publication for this document.voidvalidate()Validates the instance.Get the versionId property: The unique identifier for the version that is visible to the current caller.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: publicationFacet.Set the level property: The state of publication for this document.withVersionId(String versionId) Set the versionId property: The unique identifier for the version that is visible to the current caller.
-
Constructor Details
-
MicrosoftGraphPublicationFacet
public MicrosoftGraphPublicationFacet()Creates an instance of MicrosoftGraphPublicationFacet class.
-
-
Method Details
-
level
Get the level property: The state of publication for this document. Either published or checkout. Read-only.- Returns:
- the level value.
-
withLevel
Set the level property: The state of publication for this document. Either published or checkout. Read-only.- Parameters:
level- the level value to set.- Returns:
- the MicrosoftGraphPublicationFacet object itself.
-
versionId
Get the versionId property: The unique identifier for the version that is visible to the current caller. Read-only.- Returns:
- the versionId value.
-
withVersionId
Set the versionId property: The unique identifier for the version that is visible to the current caller. Read-only.- Parameters:
versionId- the versionId value to set.- Returns:
- the MicrosoftGraphPublicationFacet object itself.
-
additionalProperties
Get the additionalProperties property: publicationFacet.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPublicationFacet withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: publicationFacet.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPublicationFacet object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-