Class Task
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.identitygovernance.entity.Task
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Task extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = true
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = true
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = true
Org.OData.Capabilities.V1.SearchRestrictions
Searchable = true
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTask.Builder
-
Field Summary
Fields Modifier and Type Field Description protected List<KeyValuePair>argumentsprotected StringargumentsNextLinkprotected LifecycleTaskCategorycategoryprotected BooleancontinueOnErrorprotected Stringdescriptionprotected StringdisplayNameprotected IntegerexecutionSequenceprotected BooleanisEnabledprotected StringtaskDefinitionIdprotected List<TaskProcessingResult>taskProcessingResults-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Task.BuilderbuilderTask()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.CollectionPage<KeyValuePair>getArguments()com.github.davidmoten.odata.client.CollectionPage<KeyValuePair>getArguments(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<LifecycleTaskCategory>getCategory()com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()Optional<Boolean>getContinueOnError()Optional<String>getDescription()Optional<String>getDisplayName()Optional<Integer>getExecutionSequence()Optional<Boolean>getIsEnabled()Optional<String>getTaskDefinitionId()TaskProcessingResultCollectionRequestgetTaskProcessingResults()Org.OData.Capabilities.V1.DeleteRestrictionscom.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()StringodataTypeName()Taskpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.voidpostInject(boolean addKeysToContextPath)Taskput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).StringtoString()TaskwithArguments(List<KeyValuePair> arguments)TaskwithCategory(LifecycleTaskCategory category)TaskwithContinueOnError(Boolean continueOnError)TaskwithDescription(String description)TaskwithDisplayName(String displayName)TaskwithExecutionSequence(Integer executionSequence)TaskwithIsEnabled(Boolean isEnabled)TaskwithTaskDefinitionId(String taskDefinitionId)TaskwithTaskProcessingResults(List<TaskProcessingResult> taskProcessingResults)Returns an immutable copy ofthiswith just thetaskProcessingResultsfield changed.TaskwithUnmappedField(String name, Object value)
-
-
-
Field Detail
-
arguments
protected List<KeyValuePair> arguments
-
argumentsNextLink
protected String argumentsNextLink
-
category
protected LifecycleTaskCategory category
-
continueOnError
protected Boolean continueOnError
-
description
protected String description
-
displayName
protected String displayName
-
executionSequence
protected Integer executionSequence
-
isEnabled
protected Boolean isEnabled
-
taskDefinitionId
protected String taskDefinitionId
-
taskProcessingResults
protected List<TaskProcessingResult> taskProcessingResults
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderTask
public static Task.Builder builderTask()
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
-
getArguments
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getArguments()
-
withArguments
public Task withArguments(List<KeyValuePair> arguments)
-
getArguments
public com.github.davidmoten.odata.client.CollectionPage<KeyValuePair> getArguments(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCategory
public Optional<LifecycleTaskCategory> getCategory()
-
withCategory
public Task withCategory(LifecycleTaskCategory category)
-
withUnmappedField
public Task withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getTaskProcessingResults
public TaskProcessingResultCollectionRequest getTaskProcessingResults()
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Returns:
- navigational property taskProcessingResults
-
withTaskProcessingResults
public Task withTaskProcessingResults(List<TaskProcessingResult> taskProcessingResults)
Returns an immutable copy ofthiswith just thetaskProcessingResultsfield changed. Field description below. The field name is also added to an internal map of changed fields in the returned object so that whenthis.patch()is called (if available)on the returned object only the changed fields are submitted.Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
- Parameters:
taskProcessingResults- new value oftaskProcessingResultsfield (as defined in service metadata)- Returns:
- immutable copy of
thiswith just thetaskProcessingResultsfield changed
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Task patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Task put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-