Package odata.msgraph.client.beta.entity
Class OnenoteOperation
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Operation
-
- odata.msgraph.client.beta.entity.OnenoteOperation
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class OnenoteOperation extends Operation implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOnenoteOperation.Builder
-
Field Summary
Fields Modifier and Type Field Description protected OnenoteOperationErrorerrorprotected StringpercentCompleteprotected StringresourceIdprotected StringresourceLocation-
Fields inherited from class odata.msgraph.client.beta.entity.Operation
createdDateTime, lastActionDateTime, status
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOnenoteOperation()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OnenoteOperation.BuilderbuilderOnenoteOperation()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<OnenoteOperationError>getError()Optional<String>getPercentComplete()Optional<String>getResourceId()Optional<String>getResourceLocation()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()OnenoteOperationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)OnenoteOperationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()OnenoteOperationwithError(OnenoteOperationError error)OnenoteOperationwithPercentComplete(String percentComplete)OnenoteOperationwithResourceId(String resourceId)OnenoteOperationwithResourceLocation(String resourceLocation)OnenoteOperationwithUnmappedField(String name, String value)-
Methods inherited from class odata.msgraph.client.beta.entity.Operation
builderOperation, getCreatedDateTime, getLastActionDateTime, getStatus, withCreatedDateTime, withLastActionDateTime, withStatus
-
-
-
-
Field Detail
-
error
protected OnenoteOperationError error
-
percentComplete
protected String percentComplete
-
resourceId
protected String resourceId
-
resourceLocation
protected String resourceLocation
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classOperation
-
builderOnenoteOperation
public static OnenoteOperation.Builder builderOnenoteOperation()
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 classOperation
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classOperation
-
getError
public Optional<OnenoteOperationError> getError()
-
withError
public OnenoteOperation withError(OnenoteOperationError error)
-
withPercentComplete
public OnenoteOperation withPercentComplete(String percentComplete)
-
withResourceId
public OnenoteOperation withResourceId(String resourceId)
-
withResourceLocation
public OnenoteOperation withResourceLocation(String resourceLocation)
-
withUnmappedField
public OnenoteOperation withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classOperation
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classOperation
-
patch
public OnenoteOperation patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public OnenoteOperation put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-