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

MicrosoftGraphWorkbookWorksheetProtectionOptions Class

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

Implements

public final class MicrosoftGraphWorkbookWorksheetProtectionOptions
implements JsonSerializable<MicrosoftGraphWorkbookWorksheetProtectionOptions>

workbookWorksheetProtectionOptions.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookWorksheetProtectionOptions()

Creates an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions class.

Method Summary

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

Get the additionalProperties property: workbookWorksheetProtectionOptions.

Boolean allowAutoFilter()

Get the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.

Boolean allowDeleteColumns()

Get the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.

Boolean allowDeleteRows()

Get the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.

Boolean allowFormatCells()

Get the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.

Boolean allowFormatColumns()

Get the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.

Boolean allowFormatRows()

Get the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.

Boolean allowInsertColumns()

Get the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.

Boolean allowInsertHyperlinks()

Get the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.

Boolean allowInsertRows()

Get the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.

Boolean allowPivotTables()

Get the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.

Boolean allowSort()

Get the allowSort property: Represents the worksheet protection option of allowing using sort feature.

static MicrosoftGraphWorkbookWorksheetProtectionOptions fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookWorksheetProtectionOptions.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowAutoFilter(Boolean allowAutoFilter)

Set the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteColumns(Boolean allowDeleteColumns)

Set the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteRows(Boolean allowDeleteRows)

Set the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatCells(Boolean allowFormatCells)

Set the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatColumns(Boolean allowFormatColumns)

Set the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatRows(Boolean allowFormatRows)

Set the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertColumns(Boolean allowInsertColumns)

Set the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertHyperlinks(Boolean allowInsertHyperlinks)

Set the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertRows(Boolean allowInsertRows)

Set the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowPivotTables(Boolean allowPivotTables)

Set the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.

MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowSort(Boolean allowSort)

Set the allowSort property: Represents the worksheet protection option of allowing using sort feature.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookWorksheetProtectionOptions

public MicrosoftGraphWorkbookWorksheetProtectionOptions()

Creates an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookWorksheetProtectionOptions.

Returns:

the additionalProperties value.

allowAutoFilter

public Boolean allowAutoFilter()

Get the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.

Returns:

the allowAutoFilter value.

allowDeleteColumns

public Boolean allowDeleteColumns()

Get the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.

Returns:

the allowDeleteColumns value.

allowDeleteRows

public Boolean allowDeleteRows()

Get the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.

Returns:

the allowDeleteRows value.

allowFormatCells

public Boolean allowFormatCells()

Get the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.

Returns:

the allowFormatCells value.

allowFormatColumns

public Boolean allowFormatColumns()

Get the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.

Returns:

the allowFormatColumns value.

allowFormatRows

public Boolean allowFormatRows()

Get the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.

Returns:

the allowFormatRows value.

allowInsertColumns

public Boolean allowInsertColumns()

Get the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.

Returns:

the allowInsertColumns value.

allowInsertHyperlinks

public Boolean allowInsertHyperlinks()

Get the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.

Returns:

the allowInsertHyperlinks value.

allowInsertRows

public Boolean allowInsertRows()

Get the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.

Returns:

the allowInsertRows value.

allowPivotTables

public Boolean allowPivotTables()

Get the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.

Returns:

the allowPivotTables value.

allowSort

public Boolean allowSort()

Get the allowSort property: Represents the worksheet protection option of allowing using sort feature.

Returns:

the allowSort value.

fromJson

public static MicrosoftGraphWorkbookWorksheetProtectionOptions fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookWorksheetProtectionOptions 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 MicrosoftGraphWorkbookWorksheetProtectionOptions.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookWorksheetProtectionOptions.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowAutoFilter

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowAutoFilter(Boolean allowAutoFilter)

Set the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.

Parameters:

allowAutoFilter - the allowAutoFilter value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowDeleteColumns

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteColumns(Boolean allowDeleteColumns)

Set the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.

Parameters:

allowDeleteColumns - the allowDeleteColumns value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowDeleteRows

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteRows(Boolean allowDeleteRows)

Set the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.

Parameters:

allowDeleteRows - the allowDeleteRows value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowFormatCells

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatCells(Boolean allowFormatCells)

Set the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.

Parameters:

allowFormatCells - the allowFormatCells value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowFormatColumns

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatColumns(Boolean allowFormatColumns)

Set the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.

Parameters:

allowFormatColumns - the allowFormatColumns value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowFormatRows

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatRows(Boolean allowFormatRows)

Set the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.

Parameters:

allowFormatRows - the allowFormatRows value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowInsertColumns

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertColumns(Boolean allowInsertColumns)

Set the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.

Parameters:

allowInsertColumns - the allowInsertColumns value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowInsertHyperlinks

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertHyperlinks(Boolean allowInsertHyperlinks)

Set the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.

Parameters:

allowInsertHyperlinks - the allowInsertHyperlinks value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowInsertRows

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertRows(Boolean allowInsertRows)

Set the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.

Parameters:

allowInsertRows - the allowInsertRows value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowPivotTables

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowPivotTables(Boolean allowPivotTables)

Set the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.

Parameters:

allowPivotTables - the allowPivotTables value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

withAllowSort

public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowSort(Boolean allowSort)

Set the allowSort property: Represents the worksheet protection option of allowing using sort feature.

Parameters:

allowSort - the allowSort value to set.

Returns:

the MicrosoftGraphWorkbookWorksheetProtectionOptions object itself.

Applies to