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

MicrosoftGraphEndpoint Class

public final class MicrosoftGraphEndpoint
extends MicrosoftGraphDirectoryObjectInner

endpoint Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Constructor Summary

Constructor Description
MicrosoftGraphEndpoint()

Creates an instance of MicrosoftGraphEndpoint class.

Method Summary

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

Get the additionalProperties property: Represents an Azure Active Directory object.

String capability()

Get the capability property: Describes the capability that is associated with this resource.

static MicrosoftGraphEndpoint fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEndpoint from the JsonReader.

String providerId()

Get the providerId property: Application id of the publishing underlying service.

String providerName()

Get the providerName property: Name of the publishing underlying service.

String providerResourceId()

Get the providerResourceId property: For Microsoft 365 groups, this is set to a well-known name for the resource (e.g.

JsonWriter toJson(JsonWriter jsonWriter)
String uri()

Get the uri property: URL of the published resource.

void validate()

Validates the instance.

MicrosoftGraphEndpoint withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object.

MicrosoftGraphEndpoint withCapability(String capability)

Set the capability property: Describes the capability that is associated with this resource.

MicrosoftGraphEndpoint withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

MicrosoftGraphEndpoint withId(String id)

Set the id property: Read-only.

MicrosoftGraphEndpoint withProviderId(String providerId)

Set the providerId property: Application id of the publishing underlying service.

MicrosoftGraphEndpoint withProviderName(String providerName)

Set the providerName property: Name of the publishing underlying service.

MicrosoftGraphEndpoint withProviderResourceId(String providerResourceId)

Set the providerResourceId property: For Microsoft 365 groups, this is set to a well-known name for the resource (e.g.

MicrosoftGraphEndpoint withUri(String uri)

Set the uri property: URL of the published resource.

Methods inherited from MicrosoftGraphDirectoryObjectInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphEndpoint

public MicrosoftGraphEndpoint()

Creates an instance of MicrosoftGraphEndpoint class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphEndpoint.additionalProperties()

Returns:

the additionalProperties value.

capability

public String capability()

Get the capability property: Describes the capability that is associated with this resource. (e.g. Messages, Conversations, etc.) Not nullable. Read-only.

Returns:

the capability value.

fromJson

public static MicrosoftGraphEndpoint fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphEndpoint from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphEndpoint 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 MicrosoftGraphEndpoint.

providerId

public String providerId()

Get the providerId property: Application id of the publishing underlying service. Not nullable. Read-only.

Returns:

the providerId value.

providerName

public String providerName()

Get the providerName property: Name of the publishing underlying service. Read-only.

Returns:

the providerName value.

providerResourceId

public String providerResourceId()

Get the providerResourceId property: For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only.

Returns:

the providerResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphEndpoint.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uri

public String uri()

Get the uri property: URL of the published resource. Not nullable. Read-only.

Returns:

the uri value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphEndpoint.validate()

withAdditionalProperties

public MicrosoftGraphEndpoint withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: Represents an Azure Active Directory object. The directoryObject type is the base type for many other directory entity types.

Overrides:

MicrosoftGraphEndpoint.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

withCapability

public MicrosoftGraphEndpoint withCapability(String capability)

Set the capability property: Describes the capability that is associated with this resource. (e.g. Messages, Conversations, etc.) Not nullable. Read-only.

Parameters:

capability - the capability value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

withDeletedDateTime

public MicrosoftGraphEndpoint withDeletedDateTime(OffsetDateTime deletedDateTime)

Set the deletedDateTime property: The deletedDateTime property.

Overrides:

MicrosoftGraphEndpoint.withDeletedDateTime(OffsetDateTime deletedDateTime)

Parameters:

deletedDateTime

withId

public MicrosoftGraphEndpoint withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphEndpoint.withId(String id)

Parameters:

id

withProviderId

public MicrosoftGraphEndpoint withProviderId(String providerId)

Set the providerId property: Application id of the publishing underlying service. Not nullable. Read-only.

Parameters:

providerId - the providerId value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

withProviderName

public MicrosoftGraphEndpoint withProviderName(String providerName)

Set the providerName property: Name of the publishing underlying service. Read-only.

Parameters:

providerName - the providerName value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

withProviderResourceId

public MicrosoftGraphEndpoint withProviderResourceId(String providerResourceId)

Set the providerResourceId property: For Microsoft 365 groups, this is set to a well-known name for the resource (e.g. Yammer.FeedURL etc.). Not nullable. Read-only.

Parameters:

providerResourceId - the providerResourceId value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

withUri

public MicrosoftGraphEndpoint withUri(String uri)

Set the uri property: URL of the published resource. Not nullable. Read-only.

Parameters:

uri - the uri value to set.

Returns:

the MicrosoftGraphEndpoint object itself.

Applies to