Package odata.msgraph.client.entity
Class StandardWebPart
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.WebPart
-
- odata.msgraph.client.entity.StandardWebPart
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class StandardWebPart extends WebPart implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandardWebPart.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringcontainerTextWebPartIdprotected WebPartDatadataprotected StringwebPartType-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStandardWebPart()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardWebPart.BuilderbuilderStandardWebPart()Returns a builder which is used to create a new instance of this class (given that this class is immutable).com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getContainerTextWebPartId()Optional<WebPartData>getData()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<String>getWebPartType()StringodataTypeName()StandardWebPartpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)StandardWebPartput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()StandardWebPartwithContainerTextWebPartId(String containerTextWebPartId)StandardWebPartwithData(WebPartData data)StandardWebPartwithUnmappedField(String name, Object value)StandardWebPartwithWebPartType(String webPartType)-
Methods inherited from class odata.msgraph.client.entity.WebPart
getPositionOfWebPart
-
-
-
-
Field Detail
-
containerTextWebPartId
protected String containerTextWebPartId
-
data
protected WebPartData data
-
webPartType
protected String webPartType
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classWebPart
-
builderStandardWebPart
public static StandardWebPart.Builder builderStandardWebPart()
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 classWebPart
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classWebPart
-
withContainerTextWebPartId
public StandardWebPart withContainerTextWebPartId(String containerTextWebPartId)
-
getData
public Optional<WebPartData> getData()
-
withData
public StandardWebPart withData(WebPartData data)
-
withWebPartType
public StandardWebPart withWebPartType(String webPartType)
-
withUnmappedField
public StandardWebPart withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classWebPart
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classWebPart
-
patch
public StandardWebPart patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public StandardWebPart put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-