Class ApprovalStage
- java.lang.Object
-
- odata.msgraph.client.beta.complex.ApprovalStage
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ApprovalStage extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApprovalStage.Builder
-
Field Summary
Fields Modifier and Type Field Description protected IntegerapprovalStageTimeOutInDaysprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected List<UserSet>escalationApproversprotected StringescalationApproversNextLinkprotected IntegerescalationTimeInMinutesprotected BooleanisApproverJustificationRequiredprotected BooleanisEscalationEnabledprotected StringodataTypeprotected List<UserSet>primaryApproversprotected StringprimaryApproversNextLinkprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedApprovalStage()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApprovalStage.Builderbuilder()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<Integer>getApprovalStageTimeOutInDays()com.github.davidmoten.odata.client.CollectionPage<UserSet>getEscalationApprovers()com.github.davidmoten.odata.client.CollectionPage<UserSet>getEscalationApprovers(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<Integer>getEscalationTimeInMinutes()Optional<Boolean>getIsApproverJustificationRequired()Optional<Boolean>getIsEscalationEnabled()com.github.davidmoten.odata.client.CollectionPage<UserSet>getPrimaryApprovers()com.github.davidmoten.odata.client.CollectionPage<UserSet>getPrimaryApprovers(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()voidpostInject(boolean addKeysToContextPath)StringtoString()ApprovalStagewithApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)ApprovalStagewithEscalationTimeInMinutes(Integer escalationTimeInMinutes)ApprovalStagewithIsApproverJustificationRequired(Boolean isApproverJustificationRequired)ApprovalStagewithIsEscalationEnabled(Boolean isEscalationEnabled)ApprovalStagewithUnmappedField(String name, String value)
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
approvalStageTimeOutInDays
protected Integer approvalStageTimeOutInDays
-
escalationApproversNextLink
protected String escalationApproversNextLink
-
escalationTimeInMinutes
protected Integer escalationTimeInMinutes
-
isApproverJustificationRequired
protected Boolean isApproverJustificationRequired
-
isEscalationEnabled
protected Boolean isEscalationEnabled
-
primaryApproversNextLink
protected String primaryApproversNextLink
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withApprovalStageTimeOutInDays
public ApprovalStage withApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)
-
getEscalationApprovers
public com.github.davidmoten.odata.client.CollectionPage<UserSet> getEscalationApprovers()
-
getEscalationApprovers
public com.github.davidmoten.odata.client.CollectionPage<UserSet> getEscalationApprovers(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withEscalationTimeInMinutes
public ApprovalStage withEscalationTimeInMinutes(Integer escalationTimeInMinutes)
-
withIsApproverJustificationRequired
public ApprovalStage withIsApproverJustificationRequired(Boolean isApproverJustificationRequired)
-
withIsEscalationEnabled
public ApprovalStage withIsEscalationEnabled(Boolean isEscalationEnabled)
-
getPrimaryApprovers
public com.github.davidmoten.odata.client.CollectionPage<UserSet> getPrimaryApprovers()
-
getPrimaryApprovers
public com.github.davidmoten.odata.client.CollectionPage<UserSet> getPrimaryApprovers(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withUnmappedField
public ApprovalStage withUnmappedField(String name, String value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ApprovalStage.Builder builder()
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
-
-