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
  • Constructor Details

    • ExternalItem

      public ExternalItem()
      Instantiates a new ExternalItem 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

      @Nullable public List<Acl> getAcl()
      Gets the acl property value. An array of access control entries. Each entry specifies the access granted to a user or group. Required.
      Returns:
      a List<Acl>
    • getActivities

      @Nullable public List<ExternalActivity> getActivities()
      Gets the activities property value. Returns a list of activities performed on the item. Write-only.
      Returns:
      a List<ExternalActivity>
    • getContent

      @Nullable public ExternalItemContent 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getProperties

      @Nullable public Properties 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
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAcl

      public void setAcl(@Nullable List<Acl> value)
      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

      public void setActivities(@Nullable List<ExternalActivity> value)
      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

      public void setContent(@Nullable ExternalItemContent value)
      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

      public void setProperties(@Nullable Properties value)
      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.