Package odata.msgraph.client.beta.entity
Class ApprovalStep
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.ApprovalStep
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class ApprovalStep extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApprovalStep.Builder
-
Field Summary
Fields Modifier and Type Field Description protected BooleanassignedToMeprotected StringdisplayNameprotected Stringjustificationprotected IdentityreviewedByprotected OffsetDateTimereviewedDateTimeprotected StringreviewResultprotected Stringstatus-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedApprovalStep()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApprovalStep.BuilderbuilderApprovalStep()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Boolean>getAssignedToMe()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<String>getDisplayName()Optional<String>getJustification()Optional<Identity>getReviewedBy()Optional<OffsetDateTime>getReviewedDateTime()Optional<String>getReviewResult()Optional<String>getStatus()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()ApprovalSteppatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)ApprovalStepput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()ApprovalStepwithAssignedToMe(Boolean assignedToMe)ApprovalStepwithDisplayName(String displayName)ApprovalStepwithJustification(String justification)ApprovalStepwithReviewedBy(Identity reviewedBy)ApprovalStepwithReviewedDateTime(OffsetDateTime reviewedDateTime)ApprovalStepwithReviewResult(String reviewResult)ApprovalStepwithStatus(String status)ApprovalStepwithUnmappedField(String name, String value)
-
-
-
Field Detail
-
assignedToMe
protected Boolean assignedToMe
-
displayName
protected String displayName
-
justification
protected String justification
-
reviewedBy
protected Identity reviewedBy
-
reviewedDateTime
protected OffsetDateTime reviewedDateTime
-
reviewResult
protected String reviewResult
-
status
protected String status
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderApprovalStep
public static ApprovalStep.Builder builderApprovalStep()
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
-
withAssignedToMe
public ApprovalStep withAssignedToMe(Boolean assignedToMe)
-
withDisplayName
public ApprovalStep withDisplayName(String displayName)
-
withJustification
public ApprovalStep withJustification(String justification)
-
withReviewedBy
public ApprovalStep withReviewedBy(Identity reviewedBy)
-
getReviewedDateTime
public Optional<OffsetDateTime> getReviewedDateTime()
-
withReviewedDateTime
public ApprovalStep withReviewedDateTime(OffsetDateTime reviewedDateTime)
-
withReviewResult
public ApprovalStep withReviewResult(String reviewResult)
-
withStatus
public ApprovalStep withStatus(String status)
-
withUnmappedField
public ApprovalStep withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public ApprovalStep patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public ApprovalStep put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-