Package com.microsoft.graph.models
Class List
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ListcreateFromDiscriminatorValue(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the columns property value.Gets the contentTypes property value.Gets the displayName property value.getDrive()Gets the drive property value.The deserialization information for the current modelgetItems()Gets the items property value.getList()Gets the list property value.Gets the operations property value.Gets the sharepointIds property value.Gets the subscriptions property value.Gets the system property value.voidserialize(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoidsetColumns(List<ColumnDefinition> value) Sets the columns property value.voidsetContentTypes(List<ContentType> value) Sets the contentTypes property value.voidsetDisplayName(String value) Sets the displayName property value.voidSets the drive property value.voidSets the items property value.voidSets the list property value.voidSets the operations property value.voidsetSharepointIds(SharepointIds value) Sets the sharepointIds property value.voidsetSubscriptions(List<Subscription> value) Sets the subscriptions property value.voidsetSystem(SystemFacet value) Sets the system property value.Methods inherited from class com.microsoft.graph.models.BaseItem
getCreatedBy, getCreatedByUser, getCreatedDateTime, getDescription, getETag, getLastModifiedBy, getLastModifiedByUser, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setCreatedBy, setCreatedByUser, setCreatedDateTime, setDescription, setETag, setLastModifiedBy, setLastModifiedByUser, setLastModifiedDateTime, setName, setParentReference, setWebUrlMethods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
List
public List()Instantiates a newListand 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
Gets the columns property value. The collection of field definitions for this list.- Returns:
- a
List<ColumnDefinition>
-
getContentTypes
Gets the contentTypes property value. The collection of content types present in this list.- Returns:
- a
List<ContentType>
-
getDisplayName
Gets the displayName property value. The displayable title of the list.- Returns:
- a
String
-
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:
getFieldDeserializersin interfacecom.microsoft.kiota.serialization.Parsable- Overrides:
getFieldDeserializersin classBaseItem- Returns:
- a
Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getItems
Gets the items property value. All items contained in the list. -
getList
Gets the list property value. Contains more details about the list.- Returns:
- a
ListInfo
-
getOperations
Gets the operations property value. The collection of long-running operations on the list.- Returns:
- a
List<RichLongRunningOperation>
-
getSubscriptions
Gets the subscriptions property value. The set of subscriptions on the list.- Returns:
- a
List<Subscription>
-
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 -
setColumns
Sets the columns property value. The collection of field definitions for this list.- Parameters:
value- Value to set for the columns property.
-
setContentTypes
Sets the contentTypes property value. The collection of content types present in this list.- Parameters:
value- Value to set for the contentTypes property.
-
setDisplayName
Sets the displayName property value. The displayable title of the list.- Parameters:
value- Value to set for the displayName property.
-
setDrive
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
Sets the items property value. All items contained in the list.- Parameters:
value- Value to set for the items property.
-
setList
Sets the list property value. Contains more details about the list.- Parameters:
value- Value to set for the list property.
-
setOperations
Sets the operations property value. The collection of long-running operations on the list.- Parameters:
value- Value to set for the operations property.
-
setSubscriptions
Sets the subscriptions property value. The set of subscriptions on the list.- Parameters:
value- Value to set for the subscriptions property.
-
setSystem
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.
-