Package odata.msgraph.client.complex
Class ApprovalSettings
- java.lang.Object
-
- odata.msgraph.client.complex.ApprovalSettings
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ApprovalSettings extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApprovalSettings.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapprovalModeprotected List<UnifiedApprovalStage>approvalStagesprotected StringapprovalStagesNextLinkprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected BooleanisApprovalRequiredprotected BooleanisApprovalRequiredForExtensionprotected BooleanisRequestorJustificationRequiredprotected StringodataTypeprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedApprovalSettings()
-
Method Summary
-
-
-
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
-
approvalMode
protected String approvalMode
-
approvalStages
protected List<UnifiedApprovalStage> approvalStages
-
approvalStagesNextLink
protected String approvalStagesNextLink
-
isApprovalRequired
protected Boolean isApprovalRequired
-
isApprovalRequiredForExtension
protected Boolean isApprovalRequiredForExtension
-
isRequestorJustificationRequired
protected Boolean isRequestorJustificationRequired
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
withApprovalMode
public ApprovalSettings withApprovalMode(String approvalMode)
-
getApprovalStages
public com.github.davidmoten.odata.client.CollectionPage<UnifiedApprovalStage> getApprovalStages()
-
getApprovalStages
public com.github.davidmoten.odata.client.CollectionPage<UnifiedApprovalStage> getApprovalStages(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withIsApprovalRequired
public ApprovalSettings withIsApprovalRequired(Boolean isApprovalRequired)
-
withIsApprovalRequiredForExtension
public ApprovalSettings withIsApprovalRequiredForExtension(Boolean isApprovalRequiredForExtension)
-
withIsRequestorJustificationRequired
public ApprovalSettings withIsRequestorJustificationRequired(Boolean isRequestorJustificationRequired)
-
withUnmappedField
public ApprovalSettings withUnmappedField(String name, Object 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 ApprovalSettings.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
-
-