Class ExternalItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.externalconnectors.ExternalItem
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ExternalItem
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 ExternalItem
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valuegetAcl()
Gets the acl property value.Gets the activities property value.Gets the content property value.The deserialization information for the current modelGets the properties property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
Sets the acl property value.void
setActivities
(List<ExternalActivity> value) Sets the activities property value.void
setContent
(ExternalItemContent value) Sets the content property value.void
setProperties
(Properties value) Sets the properties property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ExternalItem
public ExternalItem()Instantiates a newExternalItem
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ExternalItem 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
ExternalItem
-
getAcl
Gets the acl property value. An array of access control entries. Each entry specifies the access granted to a user or group. Required. -
getActivities
Gets the activities property value. Returns a list of activities performed on the item. Write-only.- Returns:
- a
List<ExternalActivity>
-
getContent
Gets the content property value. A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.- Returns:
- a
ExternalItemContent
-
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>>
-
getProperties
Gets the properties property value. A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required.- Returns:
- a
Properties
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setAcl
Sets the acl property value. An array of access control entries. Each entry specifies the access granted to a user or group. Required.- Parameters:
value
- Value to set for the acl property.
-
setActivities
Sets the activities property value. Returns a list of activities performed on the item. Write-only.- Parameters:
value
- Value to set for the activities property.
-
setContent
Sets the content property value. A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.- Parameters:
value
- Value to set for the content property.
-
setProperties
Sets the properties property value. A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required.- Parameters:
value
- Value to set for the properties property.
-