你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphPublicationFacet Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPublicationFacet

Implements

public final class MicrosoftGraphPublicationFacet
implements JsonSerializable<MicrosoftGraphPublicationFacet>

publicationFacet.

Constructor Summary

Constructor Description
MicrosoftGraphPublicationFacet()

Creates an instance of MicrosoftGraphPublicationFacet class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: publicationFacet.

static MicrosoftGraphPublicationFacet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicationFacet from the JsonReader.

String level()

Get the level property: The state of publication for this document.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String versionId()

Get the versionId property: The unique identifier for the version that is visible to the current caller.

MicrosoftGraphPublicationFacet withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: publicationFacet.

MicrosoftGraphPublicationFacet withLevel(String level)

Set the level property: The state of publication for this document.

MicrosoftGraphPublicationFacet withVersionId(String versionId)

Set the versionId property: The unique identifier for the version that is visible to the current caller.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPublicationFacet

public MicrosoftGraphPublicationFacet()

Creates an instance of MicrosoftGraphPublicationFacet class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: publicationFacet.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphPublicationFacet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPublicationFacet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPublicationFacet if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphPublicationFacet.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withAdditionalProperties

public MicrosoftGraphPublicationFacet withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: publicationFacet.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPublicationFacet object itself.

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.

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.

Applies to