Class WorkflowBase
- java.lang.Object
-
- odata.msgraph.client.identitygovernance.entity.WorkflowBase
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
- Direct Known Subclasses:
Workflow,WorkflowVersion
public class WorkflowBase extends Object implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
-
-
Field Summary
Fields Modifier and Type Field Description protected LifecycleWorkflowCategorycategoryprotected com.github.davidmoten.odata.client.internal.ChangedFieldschangedFieldsprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected OffsetDateTimecreatedDateTimeprotected Stringdescriptionprotected StringdisplayNameprotected WorkflowExecutionConditionsexecutionConditionsprotected BooleanisEnabledprotected BooleanisSchedulingEnabledprotected OffsetDateTimelastModifiedDateTimeprotected StringodataTypeprotected List<Task>tasksprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedWorkflowBase()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
changedFields
protected com.github.davidmoten.odata.client.internal.ChangedFields changedFields
-
odataType
protected String odataType
-
category
protected LifecycleWorkflowCategory category
-
createdDateTime
protected OffsetDateTime createdDateTime
-
description
protected String description
-
displayName
protected String displayName
-
executionConditions
protected WorkflowExecutionConditions executionConditions
-
isEnabled
protected Boolean isEnabled
-
isSchedulingEnabled
protected Boolean isSchedulingEnabled
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
getCategory
public Optional<LifecycleWorkflowCategory> getCategory()
-
withCategory
public WorkflowBase withCategory(LifecycleWorkflowCategory category)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public WorkflowBase withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDescription
public WorkflowBase withDescription(String description)
-
withDisplayName
public WorkflowBase withDisplayName(String displayName)
-
getExecutionConditions
public Optional<WorkflowExecutionConditions> getExecutionConditions()
-
withExecutionConditions
public WorkflowBase withExecutionConditions(WorkflowExecutionConditions executionConditions)
-
withIsEnabled
public WorkflowBase withIsEnabled(Boolean isEnabled)
-
withIsSchedulingEnabled
public WorkflowBase withIsSchedulingEnabled(Boolean isSchedulingEnabled)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public WorkflowBase withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public WorkflowBase withUnmappedField(String name, Object value)
-
getCreatedBy
public UserRequest getCreatedBy()
-
getLastModifiedBy
public UserRequest getLastModifiedBy()
-
getTasks
public TaskCollectionRequest getTasks()
-
withTasks
public WorkflowBase withTasks(List<Task> tasks)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
patch
public WorkflowBase patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public WorkflowBase put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
-