Share via


MicrosoftGraphLinkedResource Class

public final class MicrosoftGraphLinkedResource
extends MicrosoftGraphEntity

Represents a linked resource.

Constructor Summary

Constructor Description
MicrosoftGraphLinkedResource()

Creates an instance of MicrosoftGraphLinkedResource class.

Method Summary

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

Get the additionalProperties property: linkedResource.

String applicationName()

Get the applicationName property: Field indicating the app name of the source that is sending the linkedResource.

String displayName()

Get the displayName property: Field indicating the title of the linkedResource.

String externalId()

Get the externalId property: Id of the object that is associated with this task on the third-party/partner system.

static MicrosoftGraphLinkedResource fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLinkedResource from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String webUrl()

Get the webUrl property: Deep link to the linkedResource.

MicrosoftGraphLinkedResource withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: linkedResource.

MicrosoftGraphLinkedResource withApplicationName(String applicationName)

Set the applicationName property: Field indicating the app name of the source that is sending the linkedResource.

MicrosoftGraphLinkedResource withDisplayName(String displayName)

Set the displayName property: Field indicating the title of the linkedResource.

MicrosoftGraphLinkedResource withExternalId(String externalId)

Set the externalId property: Id of the object that is associated with this task on the third-party/partner system.

MicrosoftGraphLinkedResource withId(String id)

Set the id property: Read-only.

MicrosoftGraphLinkedResource withWebUrl(String webUrl)

Set the webUrl property: Deep link to the linkedResource.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphLinkedResource

public MicrosoftGraphLinkedResource()

Creates an instance of MicrosoftGraphLinkedResource class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: linkedResource.

Overrides:

MicrosoftGraphLinkedResource.additionalProperties()

Returns:

the additionalProperties value.

applicationName

public String applicationName()

Get the applicationName property: Field indicating the app name of the source that is sending the linkedResource.

Returns:

the applicationName value.

displayName

public String displayName()

Get the displayName property: Field indicating the title of the linkedResource.

Returns:

the displayName value.

externalId

public String externalId()

Get the externalId property: Id of the object that is associated with this task on the third-party/partner system.

Returns:

the externalId value.

fromJson

public static MicrosoftGraphLinkedResource fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLinkedResource from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphLinkedResource.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphLinkedResource.validate()

webUrl

public String webUrl()

Get the webUrl property: Deep link to the linkedResource.

Returns:

the webUrl value.

withAdditionalProperties

public MicrosoftGraphLinkedResource withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: linkedResource.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphLinkedResource object itself.

withApplicationName

public MicrosoftGraphLinkedResource withApplicationName(String applicationName)

Set the applicationName property: Field indicating the app name of the source that is sending the linkedResource.

Parameters:

applicationName - the applicationName value to set.

Returns:

the MicrosoftGraphLinkedResource object itself.

withDisplayName

public MicrosoftGraphLinkedResource withDisplayName(String displayName)

Set the displayName property: Field indicating the title of the linkedResource.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphLinkedResource object itself.

withExternalId

public MicrosoftGraphLinkedResource withExternalId(String externalId)

Set the externalId property: Id of the object that is associated with this task on the third-party/partner system.

Parameters:

externalId - the externalId value to set.

Returns:

the MicrosoftGraphLinkedResource object itself.

withId

public MicrosoftGraphLinkedResource withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphLinkedResource.withId(String id)

Parameters:

id

withWebUrl

public MicrosoftGraphLinkedResource withWebUrl(String webUrl)

Set the webUrl property: Deep link to the linkedResource.

Parameters:

webUrl - the webUrl value to set.

Returns:

the MicrosoftGraphLinkedResource object itself.

Applies to