Package odata.msgraph.client.entity
Class WorkbookRangeFormat
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.WorkbookRangeFormat
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class WorkbookRangeFormat extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkbookRangeFormat.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<WorkbookRangeBorder>bordersprotected DoublecolumnWidthprotected WorkbookRangeFillfillprotected WorkbookRangeFontfontprotected StringhorizontalAlignmentprotected WorkbookFormatProtectionprotectionprotected DoublerowHeightprotected StringverticalAlignmentprotected BooleanwrapText-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkbookRangeFormat()
-
Method Summary
-
-
-
Field Detail
-
columnWidth
protected Double columnWidth
-
horizontalAlignment
protected String horizontalAlignment
-
rowHeight
protected Double rowHeight
-
verticalAlignment
protected String verticalAlignment
-
wrapText
protected Boolean wrapText
-
borders
protected List<WorkbookRangeBorder> borders
-
fill
protected WorkbookRangeFill fill
-
font
protected WorkbookRangeFont font
-
protection
protected WorkbookFormatProtection protection
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderWorkbookRangeFormat
public static WorkbookRangeFormat.Builder builderWorkbookRangeFormat()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withColumnWidth
public WorkbookRangeFormat withColumnWidth(Double columnWidth)
-
withHorizontalAlignment
public WorkbookRangeFormat withHorizontalAlignment(String horizontalAlignment)
-
withRowHeight
public WorkbookRangeFormat withRowHeight(Double rowHeight)
-
withVerticalAlignment
public WorkbookRangeFormat withVerticalAlignment(String verticalAlignment)
-
withWrapText
public WorkbookRangeFormat withWrapText(Boolean wrapText)
-
withUnmappedField
public WorkbookRangeFormat withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getBorders
public WorkbookRangeBorderCollectionRequest getBorders()
-
getFill
public WorkbookRangeFillRequest getFill()
-
getFont
public WorkbookRangeFontRequest getFont()
-
getProtection
public WorkbookFormatProtectionRequest getProtection()
-
withBorders
public WorkbookRangeFormat withBorders(List<WorkbookRangeBorder> borders)
-
withFill
public WorkbookRangeFormat withFill(WorkbookRangeFill fill)
-
withFont
public WorkbookRangeFormat withFont(WorkbookRangeFont font)
-
withProtection
public WorkbookRangeFormat withProtection(WorkbookFormatProtection protection)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public WorkbookRangeFormat patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public WorkbookRangeFormat put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
autofitColumns
public com.github.davidmoten.odata.client.ActionRequestNoReturn autofitColumns()
-
autofitRows
public com.github.davidmoten.odata.client.ActionRequestNoReturn autofitRows()
-
-