你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphListInfo Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphListInfo

Implements

public final class MicrosoftGraphListInfo
implements JsonSerializable<MicrosoftGraphListInfo>

listInfo.

Constructor Summary

Constructor Description
MicrosoftGraphListInfo()

Creates an instance of MicrosoftGraphListInfo class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: listInfo.

Boolean contentTypesEnabled()

Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.

static MicrosoftGraphListInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphListInfo from the JsonReader.

Boolean hidden()

Get the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.

String template()

Get the template property: An enumerated value that represents the base list template used in creating the list.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphListInfo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: listInfo.

MicrosoftGraphListInfo withContentTypesEnabled(Boolean contentTypesEnabled)

Set the contentTypesEnabled property: If true, indicates that content types are enabled for this list.

MicrosoftGraphListInfo withHidden(Boolean hidden)

Set the hidden property: If true, indicates that the list is not normally visible in the SharePoint user experience.

MicrosoftGraphListInfo withTemplate(String template)

Set the template property: An enumerated value that represents the base list template used in creating the list.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphListInfo

public MicrosoftGraphListInfo()

Creates an instance of MicrosoftGraphListInfo class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: listInfo.

Returns:

the additionalProperties value.

contentTypesEnabled

public Boolean contentTypesEnabled()

Get the contentTypesEnabled property: If true, indicates that content types are enabled for this list.

Returns:

the contentTypesEnabled value.

fromJson

public static MicrosoftGraphListInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphListInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphListInfo if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphListInfo.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphListInfo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: listInfo.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphListInfo object itself.

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.

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.

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.

Applies to