Class MicrosoftGraphListInfo
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphListInfo
-
public final class MicrosoftGraphListInfo extends Object
listInfo.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphListInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: listInfo.BooleancontentTypesEnabled()Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.Booleanhidden()Get the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.Stringtemplate()Get the template property: An enumerated value that represents the base list template used in creating the list.voidvalidate()Validates the instance.MicrosoftGraphListInfowithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: listInfo.MicrosoftGraphListInfowithContentTypesEnabled(Boolean contentTypesEnabled)Set the contentTypesEnabled property: If true, indicates that content types are enabled for this list.MicrosoftGraphListInfowithHidden(Boolean hidden)Set the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.MicrosoftGraphListInfowithTemplate(String template)Set the template property: An enumerated value that represents the base list template used in creating the list.
-
-
-
Method Detail
-
contentTypesEnabled
public Boolean contentTypesEnabled()
Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.- Returns:
- the contentTypesEnabled value.
-
withContentTypesEnabled
public MicrosoftGraphListInfo withContentTypesEnabled(Boolean contentTypesEnabled)
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.
-
hidden
public Boolean hidden()
Get the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.- Returns:
- the hidden value.
-
withHidden
public MicrosoftGraphListInfo withHidden(Boolean hidden)
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
public String 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
public MicrosoftGraphListInfo withTemplate(String template)
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
public Map<String,Object> additionalProperties()
Get the additionalProperties property: listInfo.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphListInfo withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-