@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 the TaskSummaryFromRestTask.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 the TaskSummaryFromRestTask.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and 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.
|
TaskSummary.ModelType
Constructor and 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,
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.
|
Modifier and Type | Method and Description |
---|---|
static TaskSummaryFromRestTask.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
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() |
String |
getJsonData()
JSON data for payload body.
|
TaskSummaryFromRestTask.MethodType |
getMethodType()
The REST method to use.
|
PollRestCallConfig |
getPollRestCallConfig() |
int |
hashCode() |
TaskSummaryFromRestTask.Builder |
toBuilder() |
String |
toString() |
getConfigProviderDelegate, getDescription, getIdentifier, getInputPorts, getKey, getKeyMap, getMetadata, getModelVersion, getName, getObjectStatus, getObjectVersion, getOpConfigValues, getOutputPorts, getParameters, getParentRef
@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, 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)
public static TaskSummaryFromRestTask.Builder builder()
Create a new builder.
public TaskSummaryFromRestTask.Builder toBuilder()
public AuthDetails getAuthDetails()
public AuthConfig getAuthConfig()
public Expression getEndpoint()
public TaskSummaryFromRestTask.MethodType getMethodType()
The REST method to use. This property is deprecated, use ExecuteRestCallConfig’s methodType property instead.
public Object getHeaders()
public String getJsonData()
JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig’s payload config param instead.
public TaskSummaryFromRestTask.ApiCallMode getApiCallMode()
The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
public Expression getCancelEndpoint()
public TaskSummaryFromRestTask.CancelMethodType getCancelMethodType()
The REST method to use for canceling the original request.
public ExecuteRestCallConfig getExecuteRestCallConfig()
public CancelRestCallConfig getCancelRestCallConfig()
public PollRestCallConfig getPollRestCallConfig()
public String toString()
toString
in class TaskSummary
public boolean equals(Object o)
equals
in class TaskSummary
protected boolean canEqual(Object other)
canEqual
in class TaskSummary
public int hashCode()
hashCode
in class TaskSummary
Copyright © 2016–2022. All rights reserved.