MicrosoftGraphWorkbookWorksheetProtectionOptions Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphWorkbookWorksheetProtectionOptions
- com.
Implements
public final class MicrosoftGraphWorkbookWorksheetProtectionOptions
implements JsonSerializable<MicrosoftGraphWorkbookWorksheetProtectionOptions>
Represents a workbook worksheet protection options.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphWorkbookWorksheetProtectionOptions() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| Boolean |
allowAutoFilter()
Get the allow |
| Boolean |
allowDeleteColumns()
Get the allow |
| Boolean |
allowDeleteRows()
Get the allow |
| Boolean |
allowFormatCells()
Get the allow |
| Boolean |
allowFormatColumns()
Get the allow |
| Boolean |
allowFormatRows()
Get the allow |
| Boolean |
allowInsertColumns()
Get the allow |
| Boolean |
allowInsertHyperlinks()
Get the allow |
| Boolean |
allowInsertRows()
Get the allow |
| Boolean |
allowPivotTables()
Get the allow |
| Boolean |
allowSort()
Get the allow |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withAllowAutoFilter(Boolean allowAutoFilter)
Set the allow |
|
Microsoft |
withAllowDeleteColumns(Boolean allowDeleteColumns)
Set the allow |
|
Microsoft |
withAllowDeleteRows(Boolean allowDeleteRows)
Set the allow |
|
Microsoft |
withAllowFormatCells(Boolean allowFormatCells)
Set the allow |
|
Microsoft |
withAllowFormatColumns(Boolean allowFormatColumns)
Set the allow |
|
Microsoft |
withAllowFormatRows(Boolean allowFormatRows)
Set the allow |
|
Microsoft |
withAllowInsertColumns(Boolean allowInsertColumns)
Set the allow |
|
Microsoft |
withAllowInsertHyperlinks(Boolean allowInsertHyperlinks)
Set the allow |
|
Microsoft |
withAllowInsertRows(Boolean allowInsertRows)
Set the allow |
|
Microsoft |
withAllowPivotTables(Boolean allowPivotTables)
Set the allow |
|
Microsoft |
withAllowSort(Boolean allowSort)
Set the allow |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphWorkbookWorksheetProtectionOptions
public MicrosoftGraphWorkbookWorksheetProtectionOptions()
Creates an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workbookWorksheetProtectionOptions.
Returns:
allowAutoFilter
public Boolean allowAutoFilter()
Get the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.
Returns:
allowDeleteColumns
public Boolean allowDeleteColumns()
Get the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.
Returns:
allowDeleteRows
public Boolean allowDeleteRows()
Get the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.
Returns:
allowFormatCells
public Boolean allowFormatCells()
Get the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.
Returns:
allowFormatColumns
public Boolean allowFormatColumns()
Get the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.
Returns:
allowFormatRows
public Boolean allowFormatRows()
Get the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.
Returns:
allowInsertColumns
public Boolean allowInsertColumns()
Get the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.
Returns:
allowInsertHyperlinks
public Boolean allowInsertHyperlinks()
Get the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.
Returns:
allowInsertRows
public Boolean allowInsertRows()
Get the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.
Returns:
allowPivotTables
public Boolean allowPivotTables()
Get the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.
Returns:
allowSort
public Boolean allowSort()
Get the allowSort property: Represents the worksheet protection option of allowing using sort feature.
Returns:
fromJson
public static MicrosoftGraphWorkbookWorksheetProtectionOptions fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphWorkbookWorksheetProtectionOptions from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookWorksheetProtectionOptions.
Parameters:
Returns:
withAllowAutoFilter
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowAutoFilter(Boolean allowAutoFilter)
Set the allowAutoFilter property: Represents the worksheet protection option of allowing using auto filter feature.
Parameters:
Returns:
withAllowDeleteColumns
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteColumns(Boolean allowDeleteColumns)
Set the allowDeleteColumns property: Represents the worksheet protection option of allowing deleting columns.
Parameters:
Returns:
withAllowDeleteRows
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowDeleteRows(Boolean allowDeleteRows)
Set the allowDeleteRows property: Represents the worksheet protection option of allowing deleting rows.
Parameters:
Returns:
withAllowFormatCells
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatCells(Boolean allowFormatCells)
Set the allowFormatCells property: Represents the worksheet protection option of allowing formatting cells.
Parameters:
Returns:
withAllowFormatColumns
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatColumns(Boolean allowFormatColumns)
Set the allowFormatColumns property: Represents the worksheet protection option of allowing formatting columns.
Parameters:
Returns:
withAllowFormatRows
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowFormatRows(Boolean allowFormatRows)
Set the allowFormatRows property: Represents the worksheet protection option of allowing formatting rows.
Parameters:
Returns:
withAllowInsertColumns
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertColumns(Boolean allowInsertColumns)
Set the allowInsertColumns property: Represents the worksheet protection option of allowing inserting columns.
Parameters:
Returns:
withAllowInsertHyperlinks
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertHyperlinks(Boolean allowInsertHyperlinks)
Set the allowInsertHyperlinks property: Represents the worksheet protection option of allowing inserting hyperlinks.
Parameters:
Returns:
withAllowInsertRows
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowInsertRows(Boolean allowInsertRows)
Set the allowInsertRows property: Represents the worksheet protection option of allowing inserting rows.
Parameters:
Returns:
withAllowPivotTables
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowPivotTables(Boolean allowPivotTables)
Set the allowPivotTables property: Represents the worksheet protection option of allowing using pivot table feature.
Parameters:
Returns:
withAllowSort
public MicrosoftGraphWorkbookWorksheetProtectionOptions withAllowSort(Boolean allowSort)
Set the allowSort property: Represents the worksheet protection option of allowing using sort feature.
Parameters:
Returns: