Class List

All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class List extends BaseItem implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • List

      public List()
      Instantiates a new List and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static List 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 List
    • getColumns

      @Nullable public List<ColumnDefinition> getColumns()
      Gets the columns property value. The collection of field definitions for this list.
      Returns:
      a List<ColumnDefinition>
    • getContentTypes

      @Nullable public List<ContentType> getContentTypes()
      Gets the contentTypes property value. The collection of content types present in this list.
      Returns:
      a List<ContentType>
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The displayable title of the list.
      Returns:
      a String
    • getDrive

      @Nullable public Drive getDrive()
      Gets the drive property value. Allows access to the list as a drive resource with driveItems. Only present on document libraries.
      Returns:
      a Drive
    • 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 BaseItem
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getItems

      @Nullable public List<ListItem> getItems()
      Gets the items property value. All items contained in the list.
      Returns:
      a List<ListItem>
    • getList

      @Nullable public ListInfo getList()
      Gets the list property value. Contains more details about the list.
      Returns:
      a ListInfo
    • getOperations

      @Nullable public List<RichLongRunningOperation> getOperations()
      Gets the operations property value. The collection of long-running operations on the list.
      Returns:
      a List<RichLongRunningOperation>
    • getSharepointIds

      @Nullable public SharepointIds getSharepointIds()
      Gets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only.
      Returns:
      a SharepointIds
    • getSubscriptions

      @Nullable public List<Subscription> getSubscriptions()
      Gets the subscriptions property value. The set of subscriptions on the list.
      Returns:
      a List<Subscription>
    • getSystem

      @Nullable public SystemFacet getSystem()
      Gets the system property value. If present, indicates that the list is system-managed. Read-only.
      Returns:
      a SystemFacet
    • 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 BaseItem
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setColumns

      public void setColumns(@Nullable List<ColumnDefinition> value)
      Sets the columns property value. The collection of field definitions for this list.
      Parameters:
      value - Value to set for the columns property.
    • setContentTypes

      public void setContentTypes(@Nullable List<ContentType> value)
      Sets the contentTypes property value. The collection of content types present in this list.
      Parameters:
      value - Value to set for the contentTypes property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The displayable title of the list.
      Parameters:
      value - Value to set for the displayName property.
    • setDrive

      public void setDrive(@Nullable Drive value)
      Sets the drive property value. Allows access to the list as a drive resource with driveItems. Only present on document libraries.
      Parameters:
      value - Value to set for the drive property.
    • setItems

      public void setItems(@Nullable List<ListItem> value)
      Sets the items property value. All items contained in the list.
      Parameters:
      value - Value to set for the items property.
    • setList

      public void setList(@Nullable ListInfo value)
      Sets the list property value. Contains more details about the list.
      Parameters:
      value - Value to set for the list property.
    • setOperations

      public void setOperations(@Nullable List<RichLongRunningOperation> value)
      Sets the operations property value. The collection of long-running operations on the list.
      Parameters:
      value - Value to set for the operations property.
    • setSharepointIds

      public void setSharepointIds(@Nullable SharepointIds value)
      Sets the sharepointIds property value. Returns identifiers useful for SharePoint REST compatibility. Read-only.
      Parameters:
      value - Value to set for the sharepointIds property.
    • setSubscriptions

      public void setSubscriptions(@Nullable List<Subscription> value)
      Sets the subscriptions property value. The set of subscriptions on the list.
      Parameters:
      value - Value to set for the subscriptions property.
    • setSystem

      public void setSystem(@Nullable SystemFacet value)
      Sets the system property value. If present, indicates that the list is system-managed. Read-only.
      Parameters:
      value - Value to set for the system property.