@Generated(value="OracleSDKGenerator", comments="API Version: 20200430") public final class CreateTaskFromRestTask extends CreateTaskDetails
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 CreateTaskFromRestTask.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 CreateTaskFromRestTask.Builder
, which maintain a
set of all explicitly set fields called CreateTaskFromRestTask.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
CreateTaskFromRestTask.ApiCallMode
The REST invocation pattern to use.
|
static class |
CreateTaskFromRestTask.Builder |
static class |
CreateTaskFromRestTask.CancelMethodType
The REST method to use for canceling the original request.
|
static class |
CreateTaskFromRestTask.MethodType
The REST method to use.
|
CreateTaskDetails.ModelType
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
CreateTaskFromRestTask(String key,
String modelVersion,
ParentReference parentRef,
String name,
String description,
Integer objectStatus,
String identifier,
List<InputPort> inputPorts,
List<OutputPort> outputPorts,
List<Parameter> parameters,
ConfigValues opConfigValues,
CreateConfigProvider configProviderDelegate,
Boolean isConcurrentAllowed,
RegistryMetadata registryMetadata,
AuthDetails authDetails,
AuthConfig authConfig,
Expression endpoint,
CreateTaskFromRestTask.MethodType methodType,
Object headers,
String jsonData,
CreateTaskFromRestTask.ApiCallMode apiCallMode,
Expression cancelEndpoint,
CreateTaskFromRestTask.CancelMethodType cancelMethodType,
ExecuteRestCallConfig executeRestCallConfig,
CancelRestCallConfig cancelRestCallConfig,
PollRestCallConfig pollRestCallConfig,
List<TypedExpression> typedExpressions)
Deprecated.
|
getConfigProviderDelegate, getDescription, getIdentifier, getInputPorts, getIsConcurrentAllowed, getKey, getModelVersion, getName, getObjectStatus, getOpConfigValues, getOutputPorts, getParameters, getParentRef, getRegistryMetadata
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public CreateTaskFromRestTask(String key, String modelVersion, ParentReference parentRef, String name, String description, Integer objectStatus, String identifier, List<InputPort> inputPorts, List<OutputPort> outputPorts, List<Parameter> parameters, ConfigValues opConfigValues, CreateConfigProvider configProviderDelegate, Boolean isConcurrentAllowed, RegistryMetadata registryMetadata, AuthDetails authDetails, AuthConfig authConfig, Expression endpoint, CreateTaskFromRestTask.MethodType methodType, Object headers, String jsonData, CreateTaskFromRestTask.ApiCallMode apiCallMode, Expression cancelEndpoint, CreateTaskFromRestTask.CancelMethodType cancelMethodType, ExecuteRestCallConfig executeRestCallConfig, CancelRestCallConfig cancelRestCallConfig, PollRestCallConfig pollRestCallConfig, List<TypedExpression> typedExpressions)
public static CreateTaskFromRestTask.Builder builder()
Create a new builder.
public CreateTaskFromRestTask.Builder toBuilder()
public AuthDetails getAuthDetails()
public AuthConfig getAuthConfig()
public Expression getEndpoint()
public CreateTaskFromRestTask.MethodType getMethodType()
The REST method to use. This property is deprecated, use ExecuteRestCallConfig’s methodType property instead.
public Object getHeaders()
Headers data for the request.
public String getJsonData()
JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig’s payload config param instead.
public CreateTaskFromRestTask.ApiCallMode getApiCallMode()
The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
public Expression getCancelEndpoint()
public CreateTaskFromRestTask.CancelMethodType getCancelMethodType()
The REST method to use for canceling the original request.
public ExecuteRestCallConfig getExecuteRestCallConfig()
public CancelRestCallConfig getCancelRestCallConfig()
public PollRestCallConfig getPollRestCallConfig()
public List<TypedExpression> getTypedExpressions()
List of typed expressions.
public String toString()
toString
in class CreateTaskDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class CreateTaskDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class CreateTaskDetails
public int hashCode()
hashCode
in class CreateTaskDetails
Copyright © 2016–2024. All rights reserved.