Class MicrosoftGraphListInfo
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphListInfo
listInfo.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphListInfo class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: listInfo.Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.hidden()Get the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.template()Get the template property: An enumerated value that represents the base list template used in creating the list.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: listInfo.withContentTypesEnabled(Boolean contentTypesEnabled) Set the contentTypesEnabled property: If true, indicates that content types are enabled for this list.withHidden(Boolean hidden) Set the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.withTemplate(String template) Set the template property: An enumerated value that represents the base list template used in creating the list.
-
Constructor Details
-
MicrosoftGraphListInfo
public MicrosoftGraphListInfo()Creates an instance of MicrosoftGraphListInfo class.
-
-
Method Details
-
contentTypesEnabled
Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.- Returns:
- the contentTypesEnabled value.
-
withContentTypesEnabled
Set the contentTypesEnabled property: If true, indicates that content types are enabled for this list.- Parameters:
contentTypesEnabled- the contentTypesEnabled value to set.- Returns:
- the MicrosoftGraphListInfo object itself.
-
withHidden
Set the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.- Parameters:
hidden- the hidden value to set.- Returns:
- the MicrosoftGraphListInfo object itself.
-
template
Get the template property: An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more.- Returns:
- the template value.
-
withTemplate
Set the template property: An enumerated value that represents the base list template used in creating the list. Possible values include documentLibrary, genericList, task, survey, announcements, contacts, and more.- Parameters:
template- the template value to set.- Returns:
- the MicrosoftGraphListInfo object itself.
-
additionalProperties
Get the additionalProperties property: listInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: listInfo.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphListInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-