MicrosoftGraphContactFolder Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphContactFolder
- com.
- com.
public final class MicrosoftGraphContactFolder
extends MicrosoftGraphEntity
Represents a contact folder.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphContactFolder() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
|
List<Microsoft |
childFolders()
Get the child |
|
List<Microsoft |
contacts()
Get the contacts property: The contacts in the folder. |
| String |
displayName()
Get the display |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
|
List<Microsoft |
multiValueExtendedProperties()
Get the multi |
| String |
parentFolderId()
Get the parent |
|
List<Microsoft |
singleValueExtendedProperties()
Get the single |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withChildFolders(List<MicrosoftGraphContactFolder> childFolders)
Set the child |
|
Microsoft |
withContacts(List<MicrosoftGraphContact> contacts)
Set the contacts property: The contacts in the folder. |
|
Microsoft |
withDisplayName(String displayName)
Set the display |
|
Microsoft |
withId(String id)
Set the id property: Read-only. |
|
Microsoft |
withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multi |
|
Microsoft |
withParentFolderId(String parentFolderId)
Set the parent |
|
Microsoft |
withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the single |
Methods inherited from MicrosoftGraphEntity
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphContactFolder
public MicrosoftGraphContactFolder()
Creates an instance of MicrosoftGraphContactFolder class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: contactFolder.
Overrides:
MicrosoftGraphContactFolder.additionalProperties()Returns:
childFolders
public List<MicrosoftGraphContactFolder> childFolders()
Get the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.
Returns:
contacts
public List<MicrosoftGraphContact> contacts()
Get the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.
Returns:
displayName
public String displayName()
Get the displayName property: The folder's display name.
Returns:
fromJson
public static MicrosoftGraphContactFolder fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphContactFolder from the JsonReader.
Parameters:
Returns:
Throws:
multiValueExtendedProperties
public List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties()
Get the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
Returns:
parentFolderId
public String parentFolderId()
Get the parentFolderId property: The ID of the folder's parent folder.
Returns:
singleValueExtendedProperties
public List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties()
Get the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphContactFolder.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
MicrosoftGraphContactFolder.validate()withAdditionalProperties
public MicrosoftGraphContactFolder withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: contactFolder.
Overrides:
MicrosoftGraphContactFolder.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withChildFolders
public MicrosoftGraphContactFolder withChildFolders(List<MicrosoftGraphContactFolder> childFolders)
Set the childFolders property: The collection of child folders in the folder. Navigation property. Read-only. Nullable.
Parameters:
Returns:
withContacts
public MicrosoftGraphContactFolder withContacts(List<MicrosoftGraphContact> contacts)
Set the contacts property: The contacts in the folder. Navigation property. Read-only. Nullable.
Parameters:
Returns:
withDisplayName
public MicrosoftGraphContactFolder withDisplayName(String displayName)
Set the displayName property: The folder's display name.
Parameters:
Returns:
withId
public MicrosoftGraphContactFolder withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphContactFolder.withId(String id)Parameters:
withMultiValueExtendedProperties
public MicrosoftGraphContactFolder withMultiValueExtendedProperties(List<MicrosoftGraphMultiValueLegacyExtendedProperty> multiValueExtendedProperties)
Set the multiValueExtendedProperties property: The collection of multi-value extended properties defined for the contactFolder. Read-only. Nullable.
Parameters:
Returns:
withParentFolderId
public MicrosoftGraphContactFolder withParentFolderId(String parentFolderId)
Set the parentFolderId property: The ID of the folder's parent folder.
Parameters:
Returns:
withSingleValueExtendedProperties
public MicrosoftGraphContactFolder withSingleValueExtendedProperties(List<MicrosoftGraphSingleValueLegacyExtendedProperty> singleValueExtendedProperties)
Set the singleValueExtendedProperties property: The collection of single-value extended properties defined for the contactFolder. Read-only. Nullable.
Parameters:
Returns: