Package com.microsoft.graph.models
Class ContactFolder
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ContactFolder
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class ContactFolder
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 ContactFolder
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the childFolders property value.Gets the contacts property value.Gets the displayName property value.The deserialization information for the current modelGets the multiValueExtendedProperties property value.Gets the parentFolderId property value.Gets the singleValueExtendedProperties property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setChildFolders
(List<ContactFolder> value) Sets the childFolders property value.void
setContacts
(List<Contact> value) Sets the contacts property value.void
setDisplayName
(String value) Sets the displayName property value.void
Sets the multiValueExtendedProperties property value.void
setParentFolderId
(String value) Sets the parentFolderId property value.void
Sets the singleValueExtendedProperties property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ContactFolder
public ContactFolder()Instantiates a newContactFolder
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static ContactFolder 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
ContactFolder
-
getChildFolders
Gets the childFolders property value. The collection of child folders in the folder. Navigation property. Read-only. Nullable.- Returns:
- a
List<ContactFolder>
-
getContacts
Gets the contacts property value. The contacts in the folder. Navigation property. Read-only. Nullable. -
getDisplayName
Gets the displayName property value. The folder's display name.- 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>>
-
getMultiValueExtendedProperties
Gets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.- Returns:
- a
List<MultiValueLegacyExtendedProperty>
-
getParentFolderId
Gets the parentFolderId property value. The ID of the folder's parent folder.- Returns:
- a
String
-
getSingleValueExtendedProperties
Gets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.- Returns:
- a
List<SingleValueLegacyExtendedProperty>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setChildFolders
Sets the childFolders property value. The collection of child folders in the folder. Navigation property. Read-only. Nullable.- Parameters:
value
- Value to set for the childFolders property.
-
setContacts
Sets the contacts property value. The contacts in the folder. Navigation property. Read-only. Nullable.- Parameters:
value
- Value to set for the contacts property.
-
setDisplayName
Sets the displayName property value. The folder's display name.- Parameters:
value
- Value to set for the displayName property.
-
setMultiValueExtendedProperties
Sets the multiValueExtendedProperties property value. The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.- Parameters:
value
- Value to set for the multiValueExtendedProperties property.
-
setParentFolderId
Sets the parentFolderId property value. The ID of the folder's parent folder.- Parameters:
value
- Value to set for the parentFolderId property.
-
setSingleValueExtendedProperties
public void setSingleValueExtendedProperties(@Nullable List<SingleValueLegacyExtendedProperty> value) Sets the singleValueExtendedProperties property value. The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.- Parameters:
value
- Value to set for the singleValueExtendedProperties property.
-