Package com.microsoft.graph.models
Class LinkedResource
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.LinkedResource
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class LinkedResource
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedResource
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the applicationName property value.Gets the displayName property value.Gets the externalId property value.The deserialization information for the current modelGets the webUrl property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setApplicationName
(String value) Sets the applicationName property value.void
setDisplayName
(String value) Sets the displayName property value.void
setExternalId
(String value) Sets the externalId property value.void
Sets the webUrl property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
LinkedResource
public LinkedResource()Instantiates a newLinkedResource
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static LinkedResource createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator value- Parameters:
parseNode
- The parse node to use to read the discriminator value and create the object- Returns:
- a
LinkedResource
-
getApplicationName
Gets the applicationName property value. The app name of the source that sends the linkedResource.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The title of the linkedResource.- Returns:
- a
String
-
getExternalId
Gets the externalId property value. ID of the object that is associated with this task on the third-party/partner system.- Returns:
- a
String
-
getFieldDeserializers
@Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()The deserialization information for the current model- Specified by:
getFieldDeserializers
in interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getWebUrl
Gets the webUrl property value. Deep link to the linkedResource.- Returns:
- a
String
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setApplicationName
Sets the applicationName property value. The app name of the source that sends the linkedResource.- Parameters:
value
- Value to set for the applicationName property.
-
setDisplayName
Sets the displayName property value. The title of the linkedResource.- Parameters:
value
- Value to set for the displayName property.
-
setExternalId
Sets the externalId property value. ID of the object that is associated with this task on the third-party/partner system.- Parameters:
value
- Value to set for the externalId property.
-
setWebUrl
Sets the webUrl property value. Deep link to the linkedResource.- Parameters:
value
- Value to set for the webUrl property.
-