Class TaskSummaryFromRestTask
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.dataintegration.model.TaskSummary
-
- com.oracle.bmc.dataintegration.model.TaskSummaryFromRestTask
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class TaskSummaryFromRestTask extends TaskSummary
The information about the Generic REST task.The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls.
Note: Objects should always be created or deserialized using theTaskSummaryFromRestTask.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theTaskSummaryFromRestTask.Builder
, which maintain a set of all explicitly set fields calledTaskSummaryFromRestTask.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TaskSummaryFromRestTask.ApiCallMode
The REST invocation pattern to use.static class
TaskSummaryFromRestTask.Builder
static class
TaskSummaryFromRestTask.CancelMethodType
The REST method to use for canceling the original request.static class
TaskSummaryFromRestTask.MethodType
The REST method to use.-
Nested classes/interfaces inherited from class com.oracle.bmc.dataintegration.model.TaskSummary
TaskSummary.ModelType
-
-
Constructor Summary
Constructors Constructor Description TaskSummaryFromRestTask(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, Integer objectStatus, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, ObjectMetadata metadata, Map<String,String> keyMap, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, TaskSummaryFromRestTask.MethodType methodType, Object headers, String jsonData, TaskSummaryFromRestTask.ApiCallMode apiCallMode, Expression cancelEndpoint, TaskSummaryFromRestTask.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskSummaryFromRestTask.Builder
builder()
Create a new builder.boolean
equals(Object o)
TaskSummaryFromRestTask.ApiCallMode
getApiCallMode()
The REST invocation pattern to use.AuthConfig
getAuthConfig()
AuthDetails
getAuthDetails()
Expression
getCancelEndpoint()
TaskSummaryFromRestTask.CancelMethodType
getCancelMethodType()
The REST method to use for canceling the original request.CancelRestCallConfig
getCancelRestCallConfig()
Expression
getEndpoint()
ExecuteRestCallConfig
getExecuteRestCallConfig()
Object
getHeaders()
Headers for payload.String
getJsonData()
JSON data for payload body.TaskSummaryFromRestTask.MethodType
getMethodType()
The REST method to use.PollRestCallConfig
getPollRestCallConfig()
int
hashCode()
TaskSummaryFromRestTask.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.dataintegration.model.TaskSummary
getConfigProviderDelegate, getDescription, getIdentifier, getInputPorts, getIsConcurrentAllowed, getKey, getKeyMap, getMetadata, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef
-
-
-
-
Constructor Detail
-
TaskSummaryFromRestTask
@Deprecated public TaskSummaryFromRestTask(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectVersion, Integer objectStatus, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, ConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, ObjectMetadata metadata, Map<String,String> keyMap, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, TaskSummaryFromRestTask.MethodType methodType, Object headers, String jsonData, TaskSummaryFromRestTask.ApiCallMode apiCallMode, Expression cancelEndpoint, TaskSummaryFromRestTask.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig)
Deprecated.
-
-
Method Detail
-
builder
public static TaskSummaryFromRestTask.Builder builder()
Create a new builder.
-
toBuilder
public TaskSummaryFromRestTask.Builder toBuilder()
-
getAuthDetails
public AuthDetails getAuthDetails()
-
getAuthConfig
public AuthConfig getAuthConfig()
-
getEndpoint
public Expression getEndpoint()
-
getMethodType
public TaskSummaryFromRestTask.MethodType getMethodType()
The REST method to use.This property is deprecated, use ExecuteRestCallConfig’s methodType property instead.
- Returns:
- the value
-
getHeaders
public Object getHeaders()
Headers for payload.- Returns:
- the value
-
getJsonData
public String getJsonData()
JSON data for payload body.This property is deprecated, use ExecuteRestCallConfig’s payload config param instead.
- Returns:
- the value
-
getApiCallMode
public TaskSummaryFromRestTask.ApiCallMode getApiCallMode()
The REST invocation pattern to use.ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Returns:
- the value
-
getCancelEndpoint
public Expression getCancelEndpoint()
-
getCancelMethodType
public TaskSummaryFromRestTask.CancelMethodType getCancelMethodType()
The REST method to use for canceling the original request.- Returns:
- the value
-
getExecuteRestCallConfig
public ExecuteRestCallConfig getExecuteRestCallConfig()
-
getCancelRestCallConfig
public CancelRestCallConfig getCancelRestCallConfig()
-
getPollRestCallConfig
public PollRestCallConfig getPollRestCallConfig()
-
toString
public String toString()
- Overrides:
toString
in classTaskSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classTaskSummary
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classTaskSummary
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classTaskSummary
-
-