Class MicrosoftGraphPublicationFacet
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPublicationFacet
-
public final class MicrosoftGraphPublicationFacet extends Object
publicationFacet.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPublicationFacet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: publicationFacet.Stringlevel()Get the level property: The state of publication for this document.voidvalidate()Validates the instance.StringversionId()Get the versionId property: The unique identifier for the version that is visible to the current caller.MicrosoftGraphPublicationFacetwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: publicationFacet.MicrosoftGraphPublicationFacetwithLevel(String level)Set the level property: The state of publication for this document.MicrosoftGraphPublicationFacetwithVersionId(String versionId)Set the versionId property: The unique identifier for the version that is visible to the current caller.
-
-
-
Method Detail
-
level
public String level()
Get the level property: The state of publication for this document. Either published or checkout. Read-only.- Returns:
- the level value.
-
withLevel
public MicrosoftGraphPublicationFacet withLevel(String level)
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
public String 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
public MicrosoftGraphPublicationFacet withVersionId(String versionId)
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
public Map<String,Object> 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.
-
-