Skip to main content

Summary

MembersDescriptions
namespace ai::lucidtech::las::sdk

namespace ai::lucidtech::las::sdk

Summary‚Äč

MembersDescriptions
class ai::lucidtech::las::sdk::APIException
class ai::lucidtech::las::sdk::Client
class ai::lucidtech::las::sdk::CreateAppClientOptions
class ai::lucidtech::las::sdk::CreateAssetOptions
class ai::lucidtech::las::sdk::CreateDocumentOptions
class ai::lucidtech::las::sdk::CreateModelOptions
class ai::lucidtech::las::sdk::CreatePredictionOptions
class ai::lucidtech::las::sdk::CreateSecretOptions
class ai::lucidtech::las::sdk::CreateTransitionOptions
class ai::lucidtech::las::sdk::CreateUserOptions
class ai::lucidtech::las::sdk::CreateWorkflowOptions
class ai::lucidtech::las::sdk::Credentials
class ai::lucidtech::las::sdk::DeleteDocumentsOptions
class ai::lucidtech::las::sdk::DeleteResourcesOptions
class ai::lucidtech::las::sdk::DockerTransitionParameters
class ai::lucidtech::las::sdk::Field
class ai::lucidtech::las::sdk::FieldConfig
class ai::lucidtech::las::sdk::ListAppClientsOptions
class ai::lucidtech::las::sdk::ListAssetsOptions
class ai::lucidtech::las::sdk::ListDocumentsOptions
class ai::lucidtech::las::sdk::ListLogsOptions
class ai::lucidtech::las::sdk::ListModelsOptions
class ai::lucidtech::las::sdk::ListPredictionsOptions
class ai::lucidtech::las::sdk::ListResourcesOptions
class ai::lucidtech::las::sdk::ListSecretsOptions
class ai::lucidtech::las::sdk::ListSortablesOptions
class ai::lucidtech::las::sdk::ListTransitionExecutionsOptions
class ai::lucidtech::las::sdk::ListTransitionsOptions
class ai::lucidtech::las::sdk::ListUsersOptions
class ai::lucidtech::las::sdk::ListWorkflowExecutionsOptions
class ai::lucidtech::las::sdk::ListWorkflowsOptions
class ai::lucidtech::las::sdk::ManualTransitionParameters
class ai::lucidtech::las::sdk::MissingAccessTokenException
class ai::lucidtech::las::sdk::MissingCredentialsException
class ai::lucidtech::las::sdk::NameAndDescriptionOptions
class ai::lucidtech::las::sdk::NullableString
class ai::lucidtech::las::sdk::Options
class ai::lucidtech::las::sdk::PreprocessConfig
class ai::lucidtech::las::sdk::TransitionParameters
class ai::lucidtech::las::sdk::UpdateAppClientOptions
class ai::lucidtech::las::sdk::UpdateAssetOptions
class ai::lucidtech::las::sdk::UpdateDocumentOptions
class ai::lucidtech::las::sdk::UpdateModelOptions
class ai::lucidtech::las::sdk::UpdateSecretOptions
class ai::lucidtech::las::sdk::UpdateTransitionExecutionOptions
class ai::lucidtech::las::sdk::UpdateTransitionOptions
class ai::lucidtech::las::sdk::UpdateUserOptions
class ai::lucidtech::las::sdk::UpdateWorkflowOptions
class ai::lucidtech::las::sdk::UserOptions
class ai::lucidtech::las::sdk::WorkflowCompletedConfig
class ai::lucidtech::las::sdk::WorkflowErrorConfig

class ai::lucidtech::las::sdk::APIException

class ai::lucidtech::las::sdk::APIException
: public Exception

Summary‚Äč

MembersDescriptions
public APIException()
public APIException(String message)
public APIException(int code,String message)

Members‚Äč

public APIException()‚Äč

public APIException(String message)‚Äč

public APIException(int code,String message)‚Äč

class ai::lucidtech::las::sdk::Client

Summary‚Äč

MembersDescriptions
public Client(Credentials credentials)A client to invoke api methods from Lucidtech AI Services.
public JSONObject createAppClient(CreateAppClientOptions options)Create an app client, calls the POST /appClients endpoint.
public JSONObject createAppClient()Create an app client, calls the POST /appClients endpoint.
public JSONObject updateAppClient(String appClientId,UpdateAppClientOptions options)Update an appClient, calls the PATCH /appClients/{appClientId} endpoint.
public JSONObject listAppClients(ListAppClientsOptions options)List appClients available, calls the GET /appClients endpoint.
public JSONObject listAppClients()List appClients available, calls the GET /appClients endpoint.
public JSONObject deleteAppClient(String appClientId)Delete an appClient, calls the DELETE /appClients/{appClientId} endpoint.
public JSONObject createAsset(byte[] content,CreateAssetOptions options)Create an asset, calls the POST /assets endpoint.
public JSONObject createAsset(InputStream content,CreateAssetOptions options)Create an asset, calls the POST /assets endpoint.
public JSONObject createAsset(byte[] content)Create an asset, calls the POST /assets endpoint.
public JSONObject createAsset(InputStream content)Create an asset, calls the POST /assets endpoint.
public JSONObject listAssets(ListAssetsOptions options)List assets available, calls the GET /assets endpoint.
public JSONObject listAssets()List assets available, calls the GET /assets endpoint.
public JSONObject getAsset(String assetId)Get asset, calls the GET /assets/{assetId} endpoint.
public JSONObject updateAsset(String assetId,UpdateAssetOptions options)Update an asset, calls the PATCH /assets/{assetId} endpoint.
public JSONObject deleteAsset(String assetId)Delete an asset, calls the DELETE /assets/{assetId} endpoint.
public JSONObject createDocument(byte[] content,ContentType contentType,CreateDocumentOptions options)Create a document, calls the POST /documents endpoint.
public JSONObject createDocument(InputStream content,ContentType contentType,CreateDocumentOptions options)Create a document, calls the POST /documents endpoint.
public JSONObject createDocument(InputStream content,ContentType contentType)Create a document, calls the POST /documents endpoint.
public JSONObject createDocument(byte[] content,ContentType contentType)Create a document, calls the POST /documents endpoint.
public JSONObject listDocuments(ListDocumentsOptions options)List documents, calls the GET /documents endpoint.
public JSONObject listDocuments()List documents, calls the GET /documents endpoint.
public JSONObject deleteDocuments(DeleteDocumentsOptions options)Delete documents, calls the DELETE /documents endpoint.
public JSONObject deleteDocuments()Delete documents, calls the DELETE /documents endpoint.
public JSONObject getDocument(String documentId)Get document, calls the GET /documents/{documentId} endpoint.
public JSONObject updateDocument(String documentId,UpdateDocumentOptions options)Update document, calls the PATCH /documents/{documentId} endpoint.
public JSONObject getLog(String logId)Get log, calls the GET /logs/{logId} endpoint.
public JSONObject listLogs(ListLogsOptions options)List logs, calls the GET /logs endpoint.
public JSONObject listLogs()List logs, calls the GET /logs endpoint.
public JSONObject createModel(int width,int height,FieldConfig fieldConfig,CreateModelOptions options)Create a model, calls the POST /models endpoint.
public JSONObject createModel(int width,int height,FieldConfig fieldConfig)Create a model, calls the POST /models endpoint.
public JSONObject updateModel(String modelId,UpdateModelOptions options)Updates a model, calls the PATCH /models/{modelId} endpoint.
public JSONObject getModel(String modelId)Get model, calls the GET /models/{modelId} endpoint.
public JSONObject listModels(ListModelsOptions options)List models, calls the GET /models endpoint.
public JSONObject listModels()List models available, calls the GET /models endpoint.
public JSONObject createPrediction(String documentId,String modelId,CreatePredictionOptions options)Create a prediction on a document using specified model, calls the POST /predictions endpoint.
public JSONObject createPrediction(String documentId,String modelId)Create a prediction on a document using specified model, calls the POST /predictions endpoint.
public JSONObject listPredictions(ListPredictionsOptions options)List predictions available, calls the GET /predictions endpoint.
public JSONObject listPredictions()List predictions available, calls the GET /predictions endpoint.
public JSONObject createSecret(JSONObject data,CreateSecretOptions options)Create secret, calls the POST /secrets endpoint.
public JSONObject createSecret(Map< String, String > data,CreateSecretOptions options)Create a secret, calls the POST /secrets endpoint.
public JSONObject createSecret(Map< String, String > data)Create a secret, calls the POST /secrets endpoint.
public JSONObject createSecret(JSONObject data)Create a secret, calls the POST /secrets endpoint.
public JSONObject listSecrets(ListSecretsOptions options)List secrets, calls the GET /secrets endpoint.
public JSONObject listSecrets()List secrets, calls the GET /secrets endpoint.
public JSONObject updateSecret(String secretId,UpdateSecretOptions options)Update a secret, calls the PATCH /secrets/{secretId} endpoint.
public JSONObject deleteSecret(String secretId)Delete a secret, calls the DELETE /secrets/{secretId} endpoint.
public JSONObject createTransition(TransitionType transitionType,CreateTransitionOptions options)Create a transition, calls the POST /transitions endpoint.
public JSONObject createTransition(TransitionType transitionType)Create a transition, calls the POST /transitions endpoint.
public JSONObject listTransitions(ListTransitionsOptions options)List transitions, calls the GET /transitions endpoint.
public JSONObject listTransitions()List transitions, calls the GET /transitions endpoint.
public JSONObject getTransition(String transitionId)Get transition, calls the GET /transitions/{transitionId} endpoint.
public JSONObject updateTransition(String transitionId,UpdateTransitionOptions options)Updates a transition, calls the PATCH /transitions/{transitionId} endpoint.
public JSONObject executeTransition(String transitionId)Start executing a manual transition, calls the POST /transitions/{transitionId}/executions endpoint.
public JSONObject deleteTransition(String transitionId)Delete a transition, calls the DELETE /transitions/{transitionId} endpoint. Will fail if transition is in use by one or more workflows.
public JSONObject listTransitionExecutions(String transitionId,ListTransitionExecutionsOptions options)List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.
public JSONObject listTransitionExecutions(String transitionId)List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.
public JSONObject getTransitionExecution(String transitionId,String executionId)Get an execution of a transition, calls the GET /transitions/{transitionId}/executions/{executionId} endpoint
public JSONObject updateTransitionExecution(String transitionId,String executionId,TransitionExecutionStatus status,UpdateTransitionExecutionOptions options)Ends the processing of the transition execution, calls the PATCH /transitions/{transitionId}/executions/{executionId} endpoint.
public JSONObject sendHeartbeat(String transitionId,String executionId)Send heartbeat for a manual execution to signal that we are still working on it. Must be done at minimum once every 60 seconds or the transition execution will time out, calls the POST /transitions/{transitionId}/executions/{executionId}/heartbeats endpoint.
public JSONObject createUser(String email,CreateUserOptions options)Create a user, calls the POST /users endpoint.
public JSONObject createUser(String email)Create a user, calls the POST /users endpoint.
public JSONObject listUsers(ListUsersOptions options)List users, calls the GET /users endpoint.
public JSONObject listUsers()List users, calls the GET /users endpoint.
public JSONObject getUser(String userId)Get user, calls the GET /users/{userId} endpoint.
public JSONObject updateUser(String userId,UpdateUserOptions options)Updates a user, calls the PATCH /users/{userId} endpoint.
public JSONObject deleteUser(String userId)Delete a user, calls the PATCH /users/{userId} endpoint.
public JSONObject createWorkflow(JSONObject specification,CreateWorkflowOptions options)Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve
public JSONObject createWorkflow(JSONObject specification)Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve
public JSONObject listWorkflows(ListWorkflowsOptions options)List workflows, calls the GET /workflows endpoint.
public JSONObject listWorkflows()List workflows, calls the GET /workflows endpoint.
public JSONObject getWorkflow(String workflowId)Get workflow, calls the GET /workflows/{workflowId} endpoint.
public JSONObject updateWorkflow(String workflowId,UpdateWorkflowOptions options)Update a workflow, calls the PATCH /workflows/{workflowId} endpoint.
public JSONObject deleteWorkflow(String workflowId)Delete a workflow, calls the DELETE /workflows/{workflowId} endpoint.
public JSONObject executeWorkflow(String workflowId,JSONObject content)Start a workflow execution, calls the POST /workflows/{workflowId}/executions endpoint.
public JSONObject listWorkflowExecutions(String workflowId,ListWorkflowExecutionsOptions options)List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.
public JSONObject listWorkflowExecutions(String workflowId)List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.
public JSONObject deleteWorkflowExecution(String workflowId,String executionId)Delete execution from workflow, calls the DELETE /workflows/{workflowId}/executions/{executionId} endpoint.

Members‚Äč

public Client(Credentials credentials)‚Äč

A client to invoke api methods from Lucidtech AI Services.

Parameters‚Äč

See also: Credentials

public JSONObject createAppClient(CreateAppClientOptions options)‚Äč

Create an app client, calls the POST /appClients endpoint.

See also: CreateAppClientOptions

Parameters‚Äč

  • options Additional options to include in request body

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject createAppClient()‚Äč

Create an app client, calls the POST /appClients endpoint.

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject updateAppClient(String appClientId,UpdateAppClientOptions options)‚Äč

Update an appClient, calls the PATCH /appClients/{appClientId} endpoint.

See also: UpdateAppClientOptions

Parameters‚Äč

  • appClientId Id of the appClient

  • options Additional options to include in request body

Returns‚Äč

AppClient response from REST API

Exceptions‚Äč

public JSONObject listAppClients(ListAppClientsOptions options)‚Äč

List appClients available, calls the GET /appClients endpoint.

See also: ListAppClientsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

AppClients response from REST API

Exceptions‚Äč

public JSONObject listAppClients()‚Äč

List appClients available, calls the GET /appClients endpoint.

Returns‚Äč

AppClients response from REST API

Exceptions‚Äč

public JSONObject deleteAppClient(String appClientId)‚Äč

Delete an appClient, calls the DELETE /appClients/{appClientId} endpoint.

Parameters‚Äč

  • appClientId Id of the appClient

Returns‚Äč

AppClient response from REST API

Exceptions‚Äč

public JSONObject createAsset(byte[] content,CreateAssetOptions options)‚Äč

Create an asset, calls the POST /assets endpoint.

See also: CreateAssetOptions

Parameters‚Äč

  • content Binary data

  • options Additional options to include in request body

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject createAsset(InputStream content,CreateAssetOptions options)‚Äč

Create an asset, calls the POST /assets endpoint.

See also: CreateAssetOptions

Parameters‚Äč

  • content Data from input stream

  • options Additional options to include in request body

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject createAsset(byte[] content)‚Äč

Create an asset, calls the POST /assets endpoint.

Parameters‚Äč

  • content Binary data

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject createAsset(InputStream content)‚Äč

Create an asset, calls the POST /assets endpoint.

Parameters‚Äč

  • content Data from input stream

Returns‚Äč

Asset response from API

Exceptions‚Äč

public JSONObject listAssets(ListAssetsOptions options)‚Äč

List assets available, calls the GET /assets endpoint.

See also: ListAssetsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Assets response from REST API

Exceptions‚Äč

public JSONObject listAssets()‚Äč

List assets available, calls the GET /assets endpoint.

Returns‚Äč

Assets response from REST API

Exceptions‚Äč

public JSONObject getAsset(String assetId)‚Äč

Get asset, calls the GET /assets/{assetId} endpoint.

Parameters‚Äč

  • assetId Id of the asset

Returns‚Äč

Asset response from REST API

Exceptions‚Äč

public JSONObject updateAsset(String assetId,UpdateAssetOptions options)‚Äč

Update an asset, calls the PATCH /assets/{assetId} endpoint.

See also: UpdateAssetOptions

Parameters‚Äč

  • assetId Id of the asset

  • options Additional options to include in request body

Returns‚Äč

Asset response from REST API

Exceptions‚Äč

public JSONObject deleteAsset(String assetId)‚Äč

Delete an asset, calls the DELETE /assets/{assetId} endpoint.

Parameters‚Äč

  • assetId Id of the asset

Returns‚Äč

Asset response from REST API

Exceptions‚Äč

public JSONObject createDocument(byte[] content,ContentType contentType,CreateDocumentOptions options)‚Äč

Create a document, calls the POST /documents endpoint.

See also: CreateDocumentOptions

Parameters‚Äč

  • content Binary data

  • contentType A mime type for the document

  • options Additional options to include in request body

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject createDocument(InputStream content,ContentType contentType,CreateDocumentOptions options)‚Äč

Create a document, calls the POST /documents endpoint.

See also: CreateDocumentOptions

Parameters‚Äč

  • content Data from input stream

  • contentType A mime type for the document

  • options Additional options to include in request body

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject createDocument(InputStream content,ContentType contentType)‚Äč

Create a document, calls the POST /documents endpoint.

See also: CreateDocumentOptions

Parameters‚Äč

  • content Data from input stream

  • contentType A mime type for the document

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject createDocument(byte[] content,ContentType contentType)‚Äč

Create a document, calls the POST /documents endpoint.

See also: CreateDocumentOptions

Parameters‚Äč

  • content Binary data

  • contentType A mime type for the document

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject listDocuments(ListDocumentsOptions options)‚Äč

List documents, calls the GET /documents endpoint.

See also: ListDocumentsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Documents response from REST API

Exceptions‚Äč

public JSONObject listDocuments()‚Äč

List documents, calls the GET /documents endpoint.

Returns‚Äč

Documents response from REST API

Exceptions‚Äč

public JSONObject deleteDocuments(DeleteDocumentsOptions options)‚Äč

Delete documents, calls the DELETE /documents endpoint.

See also: DeleteDocumentsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Documents response from REST API

Exceptions‚Äč

public JSONObject deleteDocuments()‚Äč

Delete documents, calls the DELETE /documents endpoint.

See also: Client::createDocument

Returns‚Äč

Documents response from REST API

Exceptions‚Äč

public JSONObject getDocument(String documentId)‚Äč

Get document, calls the GET /documents/{documentId} endpoint.

Parameters‚Äč

  • documentId Id of the document

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject updateDocument(String documentId,UpdateDocumentOptions options)‚Äč

Update document, calls the PATCH /documents/{documentId} endpoint.

See also: Client::createDocument

Parameters‚Äč

  • documentId The document id to post groundTruth to.

  • options Additional options to include in request body

Returns‚Äč

Document response from REST API

Exceptions‚Äč

public JSONObject getLog(String logId)‚Äč

Get log, calls the GET /logs/{logId} endpoint.

Parameters‚Äč

  • logId Id of the log

Returns‚Äč

Log response from REST API

Exceptions‚Äč

public JSONObject listLogs(ListLogsOptions options)‚Äč

List logs, calls the GET /logs endpoint.

See also: ListLogsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Logs response from REST API

Exceptions‚Äč

public JSONObject listLogs()‚Äč

List logs, calls the GET /logs endpoint.

Returns‚Äč

Logs response from REST API

Exceptions‚Äč

public JSONObject createModel(int width,int height,FieldConfig fieldConfig,CreateModelOptions options)‚Äč

Create a model, calls the POST /models endpoint.

See also: CreateModelOptions

See also: FieldConfig

Parameters‚Äč

  • width The number of pixels to be used for the input image width of your model

  • height The number of pixels to be used for the input image height of your model

  • fieldConfig Specification of the fields that the model is going to predict

  • options Additional options to include in request body

Returns‚Äč

Model response from API

Exceptions‚Äč

public JSONObject createModel(int width,int height,FieldConfig fieldConfig)‚Äč

Create a model, calls the POST /models endpoint.

See also: FieldConfig

Parameters‚Äč

  • width The number of pixels to be used for the input image width of your model

  • height The number of pixels to be used for the input image height of your model

  • fieldConfig Specification of the fields that the model is going to predict

Returns‚Äč

Model response from API

Exceptions‚Äč

public JSONObject updateModel(String modelId,UpdateModelOptions options)‚Äč

Updates a model, calls the PATCH /models/{modelId} endpoint.

See also: UpdateModelOptions

Parameters‚Äč

  • modelId Id of the model

  • options Additional options to include in request body

Returns‚Äč

Model response from REST API

Exceptions‚Äč

public JSONObject getModel(String modelId)‚Äč

Get model, calls the GET /models/{modelId} endpoint.

Parameters‚Äč

  • modelId Id of the model

Returns‚Äč

Model response from REST API

Exceptions‚Äč

public JSONObject listModels(ListModelsOptions options)‚Äč

List models, calls the GET /models endpoint.

See also: ListModelsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Models response from REST API

Exceptions‚Äč

public JSONObject listModels()‚Äč

List models available, calls the GET /models endpoint.

Returns‚Äč

Models response from REST API

Exceptions‚Äč

public JSONObject createPrediction(String documentId,String modelId,CreatePredictionOptions options)‚Äč

Create a prediction on a document using specified model, calls the POST /predictions endpoint.

See also: Client::createDocument

See also: CreatePredictionOptions

Parameters‚Äč

  • documentId The document id to run inference and create a prediction on.

  • modelId The id of the model to use for inference

  • options Additional options to include in request body

Returns‚Äč

Prediction response from REST API

Exceptions‚Äč

public JSONObject createPrediction(String documentId,String modelId)‚Äč

Create a prediction on a document using specified model, calls the POST /predictions endpoint.

See also: Client::createDocument

Parameters‚Äč

  • documentId The document id to run inference and create a prediction on.

  • modelId The id of the model to use for inference

Returns‚Äč

Prediction response from REST API

Exceptions‚Äč

public JSONObject listPredictions(ListPredictionsOptions options)‚Äč

List predictions available, calls the GET /predictions endpoint.

See also: ListPredictionsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Predictions response from REST API

Exceptions‚Äč

public JSONObject listPredictions()‚Äč

List predictions available, calls the GET /predictions endpoint.

Returns‚Äč

Predictions response from REST API

Exceptions‚Äč

public JSONObject createSecret(JSONObject data,CreateSecretOptions options)‚Äč

Create secret, calls the POST /secrets endpoint.

See also: CreateSecretOptions

Parameters‚Äč

  • data Key-Value pairs to store secretly

  • options Additional options to include in request body

Returns‚Äč

Secret response from API

Exceptions‚Äč

public JSONObject createSecret(Map< String, String > data,CreateSecretOptions options)‚Äč

Create a secret, calls the POST /secrets endpoint.

See also: CreateSecretOptions

Parameters‚Äč

  • data Key-Value pairs to store secretly

  • options Additional options to include in request body

Returns‚Äč

Secret response from API

Exceptions‚Äč

public JSONObject createSecret(Map< String, String > data)‚Äč

Create a secret, calls the POST /secrets endpoint.

Parameters‚Äč

  • data Key-Value pairs to store secretly

Returns‚Äč

Secret response from API

Exceptions‚Äč

public JSONObject createSecret(JSONObject data)‚Äč

Create a secret, calls the POST /secrets endpoint.

Parameters‚Äč

  • data Key-Value pairs to store secretly

Returns‚Äč

Secret response from API

Exceptions‚Äč

public JSONObject listSecrets(ListSecretsOptions options)‚Äč

List secrets, calls the GET /secrets endpoint.

See also: ListSecretsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Secrets response from REST API

Exceptions‚Äč

public JSONObject listSecrets()‚Äč

List secrets, calls the GET /secrets endpoint.

Returns‚Äč

Secrets response from REST API

Exceptions‚Äč

public JSONObject updateSecret(String secretId,UpdateSecretOptions options)‚Äč

Update a secret, calls the PATCH /secrets/{secretId} endpoint.

See also: UpdateSecretOptions

Parameters‚Äč

  • secretId Id of the secret

  • options Additional options to include in request body

Returns‚Äč

Secret response from REST API

Exceptions‚Äč

public JSONObject deleteSecret(String secretId)‚Äč

Delete a secret, calls the DELETE /secrets/{secretId} endpoint.

Parameters‚Äč

  • secretId Id of the secret

Returns‚Äč

Secret response from REST API

Exceptions‚Äč

public JSONObject createTransition(TransitionType transitionType,CreateTransitionOptions options)‚Äč

Create a transition, calls the POST /transitions endpoint.

See also: CreateTransitionOptions

See also: TransitionType

Parameters‚Äč

  • transitionType Type of transition

  • options Additional options to include in request body

Returns‚Äč

Transition response from API

Exceptions‚Äč

public JSONObject createTransition(TransitionType transitionType)‚Äč

Create a transition, calls the POST /transitions endpoint.

See also: TransitionType

Parameters‚Äč

  • transitionType Type of transition

Returns‚Äč

Transition response from API

Exceptions‚Äč

public JSONObject listTransitions(ListTransitionsOptions options)‚Äč

List transitions, calls the GET /transitions endpoint.

See also: ListTransitionsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Transitions response from REST API

Exceptions‚Äč

public JSONObject listTransitions()‚Äč

List transitions, calls the GET /transitions endpoint.

Returns‚Äč

Transitions response from REST API

Exceptions‚Äč

public JSONObject getTransition(String transitionId)‚Äč

Get transition, calls the GET /transitions/{transitionId} endpoint.

Parameters‚Äč

  • transitionId Id of the transition

Returns‚Äč

Transition response from REST API

Exceptions‚Äč

public JSONObject updateTransition(String transitionId,UpdateTransitionOptions options)‚Äč

Updates a transition, calls the PATCH /transitions/{transitionId} endpoint.

See also: UpdateTransitionOptions

Parameters‚Äč

  • transitionId Id of the transition

  • options Additional options to include in request body

Returns‚Äč

Transition response from REST API

Exceptions‚Äč

public JSONObject executeTransition(String transitionId)‚Äč

Start executing a manual transition, calls the POST /transitions/{transitionId}/executions endpoint.

Parameters‚Äč

  • transitionId Id of the transition

Returns‚Äč

TransitionExecution response from REST API

Exceptions‚Äč

public JSONObject deleteTransition(String transitionId)‚Äč

Delete a transition, calls the DELETE /transitions/{transitionId} endpoint. Will fail if transition is in use by one or more workflows.

Parameters‚Äč

  • transitionId Id of the transition

Returns‚Äč

Transition response from REST API

Exceptions‚Äč

public JSONObject listTransitionExecutions(String transitionId,ListTransitionExecutionsOptions options)‚Äč

List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.

See also: ListTransitionExecutionsOptions

Parameters‚Äč

  • transitionId Id of the transition

  • options Additional options to pass along as query parameters

Returns‚Äč

Transition executions response from REST API

Exceptions‚Äč

public JSONObject listTransitionExecutions(String transitionId)‚Äč

List executions in a transition, calls the GET /transitions/{transitionId}/executions endpoint.

Parameters‚Äč

  • transitionId Id of the transition

Returns‚Äč

Transition executions response from REST API

Exceptions‚Äč

public JSONObject getTransitionExecution(String transitionId,String executionId)‚Äč

Get an execution of a transition, calls the GET /transitions/{transitionId}/executions/{executionId} endpoint

Parameters‚Äč

  • transitionId Id of the transition

  • executionId Id of the execution

Returns‚Äč

TransitionExecution response from REST API

Exceptions‚Äč

public JSONObject updateTransitionExecution(String transitionId,String executionId,TransitionExecutionStatus status,UpdateTransitionExecutionOptions options)‚Äč

Ends the processing of the transition execution, calls the PATCH /transitions/{transitionId}/executions/{executionId} endpoint.

See also: UpdateTransitionExecutionOptions

See also: TransitionExecutionStatus

Parameters‚Äč

  • transitionId Id of the transition

  • executionId Id of the execution

  • status Status of the execution

  • options Additional options to include in request body

Returns‚Äč

Transition response from REST API

Exceptions‚Äč

public JSONObject sendHeartbeat(String transitionId,String executionId)‚Äč

Send heartbeat for a manual execution to signal that we are still working on it. Must be done at minimum once every 60 seconds or the transition execution will time out, calls the POST /transitions/{transitionId}/executions/{executionId}/heartbeats endpoint.

Parameters‚Äč

  • transitionId Id of the transition

  • executionId Id of the execution

Returns‚Äč

Empty response

Exceptions‚Äč

public JSONObject createUser(String email,CreateUserOptions options)‚Äč

Create a user, calls the POST /users endpoint.

See also: CreateUserOptions

Parameters‚Äč

  • email Email of the new user

  • options Additional options to include in request body

Returns‚Äč

User response from API

Exceptions‚Äč

public JSONObject createUser(String email)‚Äč

Create a user, calls the POST /users endpoint.

Parameters‚Äč

  • email Email to the new user

Returns‚Äč

User response from API

Exceptions‚Äč

public JSONObject listUsers(ListUsersOptions options)‚Äč

List users, calls the GET /users endpoint.

See also: ListUsersOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Users response from REST API

Exceptions‚Äč

public JSONObject listUsers()‚Äč

List users, calls the GET /users endpoint.

Returns‚Äč

Users response from REST API

Exceptions‚Äč

public JSONObject getUser(String userId)‚Äč

Get user, calls the GET /users/{userId} endpoint.

Parameters‚Äč

  • userId Id of user

Returns‚Äč

User response

Exceptions‚Äč

public JSONObject updateUser(String userId,UpdateUserOptions options)‚Äč

Updates a user, calls the PATCH /users/{userId} endpoint.

See also: UpdateUserOptions

Parameters‚Äč

  • userId Id of user

  • options Additional options to include in request body

Returns‚Äč

User response from REST API

Exceptions‚Äč

public JSONObject deleteUser(String userId)‚Äč

Delete a user, calls the PATCH /users/{userId} endpoint.

Parameters‚Äč

  • userId Id of user

Returns‚Äč

User response from REST API

Exceptions‚Äč

public JSONObject createWorkflow(JSONObject specification,CreateWorkflowOptions options)‚Äč

Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve

See also: CreateWorkflowOptions

Parameters‚Äč

Returns‚Äč

Workflow response from API

Exceptions‚Äč

public JSONObject createWorkflow(JSONObject specification)‚Äč

Creates a new workflow, calls the POST /workflows endpoint. Check out Lucidtech's tutorials for more info on how to create a workflow. see https://docs.lucidtech.ai/getting-started/tutorials/setup_predict_and_approve

Parameters‚Äč

Returns‚Äč

Workflow response from API

Exceptions‚Äč

public JSONObject listWorkflows(ListWorkflowsOptions options)‚Äč

List workflows, calls the GET /workflows endpoint.

See also: ListWorkflowsOptions

Parameters‚Äč

  • options Additional options to pass along as query parameters

Returns‚Äč

Workflows response from REST API

Exceptions‚Äč

public JSONObject listWorkflows()‚Äč

List workflows, calls the GET /workflows endpoint.

Returns‚Äč

Workflows response from REST API

Exceptions‚Äč

public JSONObject getWorkflow(String workflowId)‚Äč

Get workflow, calls the GET /workflows/{workflowId} endpoint.

Parameters‚Äč

  • workflowId Id of the workflow

Returns‚Äč

Workflow response from REST API

Exceptions‚Äč

public JSONObject updateWorkflow(String workflowId,UpdateWorkflowOptions options)‚Äč

Update a workflow, calls the PATCH /workflows/{workflowId} endpoint.

See also: UpdateWorkflowOptions

Parameters‚Äč

  • workflowId Id of the workflow

  • options Additional options to include in request body

Returns‚Äč

Workflow response from REST API

Exceptions‚Äč

public JSONObject deleteWorkflow(String workflowId)‚Äč

Delete a workflow, calls the DELETE /workflows/{workflowId} endpoint.

See also: Client::createWorkflow

Parameters‚Äč

  • workflowId Id of the workflow

Returns‚Äč

Workflow response from REST API

Exceptions‚Äč

public JSONObject executeWorkflow(String workflowId,JSONObject content)‚Äč

Start a workflow execution, calls the POST /workflows/{workflowId}/executions endpoint.

Parameters‚Äč

  • workflowId Id of the workflow

  • content Input to the first step of the workflow

Returns‚Äč

WorkflowExecution response from REST API

Exceptions‚Äč

public JSONObject listWorkflowExecutions(String workflowId,ListWorkflowExecutionsOptions options)‚Äč

List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.

See also: ListWorkflowExecutionsOptions

Parameters‚Äč

  • workflowId Id of the workflow

  • options Additional options to pass along as query parameters

Returns‚Äč

Workflow executions response from REST API

Exceptions‚Äč

public JSONObject listWorkflowExecutions(String workflowId)‚Äč

List executions in a workflow, calls the GET /workflows/{workflowId}/executions endpoint.

Parameters‚Äč

  • workflowId Id of the workflow

Returns‚Äč

Workflow executions response from REST API

Exceptions‚Äč

public JSONObject deleteWorkflowExecution(String workflowId,String executionId)‚Äč

Delete execution from workflow, calls the DELETE /workflows/{workflowId}/executions/{executionId} endpoint.

See also: Client::executeWorkflow

Parameters‚Äč

  • workflowId Id of the workflow

  • executionId Id of the execution

Returns‚Äč

WorkflowExecution response from REST API

Exceptions‚Äč

class ai::lucidtech::las::sdk::CreateAppClientOptions

class ai::lucidtech::las::sdk::CreateAppClientOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateAppClientOptions >

Summary‚Äč

MembersDescriptions
public CreateAppClientOptions setCallbackUrls(String[] callbackUrls)
public CreateAppClientOptions setLogoutUrls(String[] logoutUrls)
public CreateAppClientOptions setLoginUrls(String[] loginUrls)
public CreateAppClientOptions setDefaultLoginUrl(String defaultLoginUrl)
public CreateAppClientOptions setGenerateSecret(Boolean generateSecret)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreateAppClientOptions setCallbackUrls(String[] callbackUrls)‚Äč

public CreateAppClientOptions setLogoutUrls(String[] logoutUrls)‚Äč

public CreateAppClientOptions setLoginUrls(String[] loginUrls)‚Äč

public CreateAppClientOptions setDefaultLoginUrl(String defaultLoginUrl)‚Äč

public CreateAppClientOptions setGenerateSecret(Boolean generateSecret)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::CreateAssetOptions

class ai::lucidtech::las::sdk::CreateAssetOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateAssetOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::CreateDocumentOptions

class ai::lucidtech::las::sdk::CreateDocumentOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public CreateDocumentOptions setConsentId(String consentId)
public CreateDocumentOptions setDatasetId(String datasetId)
public CreateDocumentOptions setGroundTruth(JSONArray groundTruth)
public CreateDocumentOptions setRetentionInDays(Integer retentionInDays)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreateDocumentOptions setConsentId(String consentId)‚Äč

public CreateDocumentOptions setDatasetId(String datasetId)‚Äč

public CreateDocumentOptions setGroundTruth(JSONArray groundTruth)‚Äč

public CreateDocumentOptions setRetentionInDays(Integer retentionInDays)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::CreateModelOptions

class ai::lucidtech::las::sdk::CreateModelOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateModelOptions >

Summary‚Äč

MembersDescriptions
public CreateModelOptions setPreprocessConfig(PreprocessConfig preprocessConfig)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreateModelOptions setPreprocessConfig(PreprocessConfig preprocessConfig)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::CreatePredictionOptions

class ai::lucidtech::las::sdk::CreatePredictionOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public CreatePredictionOptions setMaxPages(int maxPages)
public CreatePredictionOptions setAutoRotate(boolean autoRotate)
public CreatePredictionOptions setImageQuality(ImageQuality imageQuality)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreatePredictionOptions setMaxPages(int maxPages)‚Äč

public CreatePredictionOptions setAutoRotate(boolean autoRotate)‚Äč

public CreatePredictionOptions setImageQuality(ImageQuality imageQuality)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::CreateSecretOptions

class ai::lucidtech::las::sdk::CreateSecretOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateSecretOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::CreateTransitionOptions

class ai::lucidtech::las::sdk::CreateTransitionOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateTransitionOptions >

Summary‚Äč

MembersDescriptions
public CreateTransitionOptions setParameters(TransitionParameters parameters)
public CreateTransitionOptions setInputJsonSchema(JSONObject inputJsonSchema)
public CreateTransitionOptions setOutputJsonSchema(JSONObject outputJsonSchema)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreateTransitionOptions setParameters(TransitionParameters parameters)‚Äč

public CreateTransitionOptions setInputJsonSchema(JSONObject inputJsonSchema)‚Äč

public CreateTransitionOptions setOutputJsonSchema(JSONObject outputJsonSchema)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::CreateUserOptions

class ai::lucidtech::las::sdk::CreateUserOptions
: public ai.lucidtech.las.sdk.UserOptions< CreateUserOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::CreateWorkflowOptions

class ai::lucidtech::las::sdk::CreateWorkflowOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< CreateWorkflowOptions >

Summary‚Äč

MembersDescriptions
public CreateWorkflowOptions setCompletedConfig(WorkflowCompletedConfig completedConfig)
public CreateWorkflowOptions setErrorConfig(WorkflowErrorConfig errorConfig)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public CreateWorkflowOptions setCompletedConfig(WorkflowCompletedConfig completedConfig)‚Äč

public CreateWorkflowOptions setErrorConfig(WorkflowErrorConfig errorConfig)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::Credentials

Summary‚Äč

MembersDescriptions
public Credentials(String clientId,String clientSecret,String authEndpoint,String apiEndpoint)Used to fetch and store credentials.
public String getAccessToken(HttpClient httpClient)#### Parameters
public String getApiEndpoint()

Members‚Äč

public Credentials(String clientId,String clientSecret,String authEndpoint,String apiEndpoint)‚Äč

Used to fetch and store credentials.

Parameters‚Äč

Exceptions‚Äč

  • [MissingCredentialsException](#classai_1_1lucidtech_1_1las_1_1sdk_1_1_missing_credentials_exception) Raised if some of credentials are missing

public String getAccessToken(HttpClient httpClient)‚Äč

Parameters‚Äč

  • httpClient Instance of HttpClient used to access the authentication endpoint

Returns‚Äč

Access token, downloading it if necessary

Exceptions‚Äč

public String getApiEndpoint()‚Äč

class ai::lucidtech::las::sdk::DeleteDocumentsOptions

class ai::lucidtech::las::sdk::DeleteDocumentsOptions
: public ai.lucidtech.las.sdk.DeleteResourcesOptions< DeleteDocumentsOptions >

Summary‚Äč

MembersDescriptions
public DeleteDocumentsOptions setConsentId(String[] consentId)
public DeleteDocumentsOptions setDatasetId(String[] datasetId)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public DeleteDocumentsOptions setConsentId(String[] consentId)‚Äč

public DeleteDocumentsOptions setDatasetId(String[] datasetId)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::DeleteResourcesOptions

Summary‚Äč

MembersDescriptions
public T setMaxResults(int maxResults)
public T setNextToken(String nextToken)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)
protected Integer maxResults
protected String nextToken
protected void addOption(List< NameValuePair > parameters,String key,String value)
protected void addOption(List< NameValuePair > parameters,String key,String[] value)
protected void addOption(List< NameValuePair > parameters,String key,Integer value)

Members‚Äč

public T setMaxResults(int maxResults)‚Äč

public T setNextToken(String nextToken)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

protected Integer maxResults‚Äč

protected String nextToken‚Äč

protected void addOption(List< NameValuePair > parameters,String key,String value)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,String[] value)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,Integer value)‚Äč

class ai::lucidtech::las::sdk::DockerTransitionParameters

class ai::lucidtech::las::sdk::DockerTransitionParameters
: public ai.lucidtech.las.sdk.TransitionParameters

Summary‚Äč

MembersDescriptions
public DockerTransitionParameters setImageUrl(String imageUrl)
public DockerTransitionParameters setSecretId(String secretId)
public DockerTransitionParameters setMemory(Integer memory)
public DockerTransitionParameters setCpu(Integer cpu)
public DockerTransitionParameters setEnvironmentSecrets(String[] environmentSecrets)
public DockerTransitionParameters setEnvironment(Map< String, String > environment)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public DockerTransitionParameters setImageUrl(String imageUrl)‚Äč

public DockerTransitionParameters setSecretId(String secretId)‚Äč

public DockerTransitionParameters setMemory(Integer memory)‚Äč

public DockerTransitionParameters setCpu(Integer cpu)‚Äč

public DockerTransitionParameters setEnvironmentSecrets(String[] environmentSecrets)‚Äč

public DockerTransitionParameters setEnvironment(Map< String, String > environment)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::Field

class ai::lucidtech::las::sdk::Field
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public String name
public Field(String name,FieldType fieldType,Integer maxLength)
public Field setName(String name)
public Field setFieldType(FieldType fieldType)
public Field setMaxLength(Integer maxLength)
public Field setDescription(String description)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public String name‚Äč

public Field(String name,FieldType fieldType,Integer maxLength)‚Äč

public Field setName(String name)‚Äč

public Field setFieldType(FieldType fieldType)‚Äč

public Field setMaxLength(Integer maxLength)‚Äč

public Field setDescription(String description)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::FieldConfig

class ai::lucidtech::las::sdk::FieldConfig
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public FieldConfig addField(Field field)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public FieldConfig addField(Field field)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::ListAppClientsOptions

class ai::lucidtech::las::sdk::ListAppClientsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListAppClientsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListAssetsOptions

class ai::lucidtech::las::sdk::ListAssetsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListAssetsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListDocumentsOptions

class ai::lucidtech::las::sdk::ListDocumentsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListDocumentsOptions >

Summary‚Äč

MembersDescriptions
public ListDocumentsOptions setConsentId(String consentId)
public ListDocumentsOptions setDatasetId(String datasetId)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public ListDocumentsOptions setConsentId(String consentId)‚Äč

public ListDocumentsOptions setDatasetId(String datasetId)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::ListLogsOptions

class ai::lucidtech::las::sdk::ListLogsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListLogsOptions >

Summary‚Äč

MembersDescriptions
public ListLogsOptions setTransitionId(String transitionId)
public ListLogsOptions setTransitionExecutionId(String transitionExecutionId)
public ListLogsOptions setWorkflowId(String workflowId)
public ListLogsOptions setWorkflowExecutionId(String workflowExecutionId)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public ListLogsOptions setTransitionId(String transitionId)‚Äč

public ListLogsOptions setTransitionExecutionId(String transitionExecutionId)‚Äč

public ListLogsOptions setWorkflowId(String workflowId)‚Äč

public ListLogsOptions setWorkflowExecutionId(String workflowExecutionId)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::ListModelsOptions

class ai::lucidtech::las::sdk::ListModelsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListModelsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListPredictionsOptions

class ai::lucidtech::las::sdk::ListPredictionsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListPredictionsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListResourcesOptions

Summary‚Äč

MembersDescriptions
public T setMaxResults(int maxResults)
public T setNextToken(String nextToken)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)
protected void addOption(List< NameValuePair > parameters,String key,String value)
protected void addOption(List< NameValuePair > parameters,String key,String[] value)
protected void addOption(List< NameValuePair > parameters,String key,List< String > value)
protected void addOption(List< NameValuePair > parameters,String key,Integer value)

Members‚Äč

public T setMaxResults(int maxResults)‚Äč

public T setNextToken(String nextToken)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,String value)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,String[] value)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,List< String > value)‚Äč

protected void addOption(List< NameValuePair > parameters,String key,Integer value)‚Äč

class ai::lucidtech::las::sdk::ListSecretsOptions

class ai::lucidtech::las::sdk::ListSecretsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListSecretsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListSortablesOptions

class ai::lucidtech::las::sdk::ListSortablesOptions
: public ai::lucidtech::las::sdk::ListResourcesOptions< T >

Summary‚Äč

MembersDescriptions
public T setSortBy(String sortBy)
public T setOrder(Order order)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)
protected String sortBy
protected Order order

Members‚Äč

public T setSortBy(String sortBy)‚Äč

public T setOrder(Order order)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

protected String sortBy‚Äč

protected Order order‚Äč

class ai::lucidtech::las::sdk::ListTransitionExecutionsOptions

class ai::lucidtech::las::sdk::ListTransitionExecutionsOptions
: public ai.lucidtech.las.sdk.ListSortablesOptions< ListTransitionExecutionsOptions >

Summary‚Äč

MembersDescriptions
public ListTransitionExecutionsOptions setExecutionId(List< String > executionId)
public ListTransitionExecutionsOptions setExecutionId(String executionId)
public ListTransitionExecutionsOptions setStatus(List< TransitionExecutionStatus > status)
public ListTransitionExecutionsOptions setStatus(TransitionExecutionStatus status)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public ListTransitionExecutionsOptions setExecutionId(List< String > executionId)‚Äč

public ListTransitionExecutionsOptions setExecutionId(String executionId)‚Äč

public ListTransitionExecutionsOptions setStatus(List< TransitionExecutionStatus > status)‚Äč

public ListTransitionExecutionsOptions setStatus(TransitionExecutionStatus status)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::ListTransitionsOptions

class ai::lucidtech::las::sdk::ListTransitionsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListTransitionsOptions >

Summary‚Äč

MembersDescriptions
public ListTransitionsOptions setTransitionType(TransitionType transitionType)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public ListTransitionsOptions setTransitionType(TransitionType transitionType)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::ListUsersOptions

class ai::lucidtech::las::sdk::ListUsersOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListUsersOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ListWorkflowExecutionsOptions

class ai::lucidtech::las::sdk::ListWorkflowExecutionsOptions
: public ai.lucidtech.las.sdk.ListSortablesOptions< ListWorkflowExecutionsOptions >

Summary‚Äč

MembersDescriptions
public ListWorkflowExecutionsOptions setStatus(List< WorkflowExecutionStatus > status)
public ListWorkflowExecutionsOptions setStatus(WorkflowExecutionStatus status)
public List< NameValuePair > addOptions(List< NameValuePair > parameters)

Members‚Äč

public ListWorkflowExecutionsOptions setStatus(List< WorkflowExecutionStatus > status)‚Äč

public ListWorkflowExecutionsOptions setStatus(WorkflowExecutionStatus status)‚Äč

public List< NameValuePair > addOptions(List< NameValuePair > parameters)‚Äč

class ai::lucidtech::las::sdk::ListWorkflowsOptions

class ai::lucidtech::las::sdk::ListWorkflowsOptions
: public ai.lucidtech.las.sdk.ListResourcesOptions< ListWorkflowsOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::ManualTransitionParameters

class ai::lucidtech::las::sdk::ManualTransitionParameters
: public ai.lucidtech.las.sdk.TransitionParameters

Summary‚Äč

MembersDescriptions
public ManualTransitionParameters setAssets(Map< String, String > assets)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public ManualTransitionParameters setAssets(Map< String, String > assets)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::MissingAccessTokenException

class ai::lucidtech::las::sdk::MissingAccessTokenException
: public Exception

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::MissingCredentialsException

class ai::lucidtech::las::sdk::MissingCredentialsException
: public Exception

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::NameAndDescriptionOptions

class ai::lucidtech::las::sdk::NameAndDescriptionOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public T setName(String name)
public T setDescription(String description)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public T setName(String name)‚Äč

public T setDescription(String description)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::NullableString

Summary‚Äč

MembersDescriptions
public Boolean hasEditedValue
public NullableString()
public void setValue(String value)

Members‚Äč

public Boolean hasEditedValue‚Äč

public NullableString()‚Äč

public void setValue(String value)‚Äč

class ai::lucidtech::las::sdk::Options

Summary‚Äč

MembersDescriptions
public abstract JSONObject addOptions(JSONObject body)
protected void addOption(JSONObject body,String key,NullableString value)
protected void addOption(JSONObject body,String key,String value)
protected void addOption(JSONObject body,String key,String[] value)
protected void addOption(JSONObject body,String key,Map< String, String > value)
protected void addOption(JSONObject body,String key,Boolean value)
protected void addOption(JSONObject body,String key,Integer value)
protected void addOption(JSONObject body,String key,JSONArray value)
protected void addOption(JSONObject body,String key,JSONObject value)
protected void addOption(JSONObject body,String key,Options value)

Members‚Äč

public abstract JSONObject addOptions(JSONObject body)‚Äč

protected void addOption(JSONObject body,String key,NullableString value)‚Äč

protected void addOption(JSONObject body,String key,String value)‚Äč

protected void addOption(JSONObject body,String key,String[] value)‚Äč

protected void addOption(JSONObject body,String key,Map< String, String > value)‚Äč

protected void addOption(JSONObject body,String key,Boolean value)‚Äč

protected void addOption(JSONObject body,String key,Integer value)‚Äč

protected void addOption(JSONObject body,String key,JSONArray value)‚Äč

protected void addOption(JSONObject body,String key,JSONObject value)‚Äč

protected void addOption(JSONObject body,String key,Options value)‚Äč

class ai::lucidtech::las::sdk::PreprocessConfig

class ai::lucidtech::las::sdk::PreprocessConfig
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public PreprocessConfig setImageQuality(ImageQuality imageQuality)
public PreprocessConfig setAutoRotate(Boolean autoRotate)
public PreprocessConfig setMaxPages(Integer maxPages)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public PreprocessConfig setImageQuality(ImageQuality imageQuality)‚Äč

public PreprocessConfig setAutoRotate(Boolean autoRotate)‚Äč

public PreprocessConfig setMaxPages(Integer maxPages)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::TransitionParameters

class ai::lucidtech::las::sdk::TransitionParameters
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public abstract JSONObject addOptions(JSONObject body)

Members‚Äč

public abstract JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::UpdateAppClientOptions

class ai::lucidtech::las::sdk::UpdateAppClientOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateAppClientOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::UpdateAssetOptions

class ai::lucidtech::las::sdk::UpdateAssetOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateAssetOptions >

Summary‚Äč

MembersDescriptions
public UpdateAssetOptions setContent(byte[] content)
public UpdateAssetOptions setContent(InputStream content)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateAssetOptions setContent(byte[] content)‚Äč

public UpdateAssetOptions setContent(InputStream content)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateDocumentOptions

class ai::lucidtech::las::sdk::UpdateDocumentOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public UpdateDocumentOptions setDatasetId(String datasetId)
public UpdateDocumentOptions setGroundTruth(JSONArray groundTruth)
public UpdateDocumentOptions setRetentionInDays(Integer retentionInDays)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateDocumentOptions setDatasetId(String datasetId)‚Äč

public UpdateDocumentOptions setGroundTruth(JSONArray groundTruth)‚Äč

public UpdateDocumentOptions setRetentionInDays(Integer retentionInDays)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateModelOptions

class ai::lucidtech::las::sdk::UpdateModelOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateModelOptions >

Summary‚Äč

MembersDescriptions
public UpdateModelOptions setWidth(Integer width)
public UpdateModelOptions setHeight(Integer height)
public UpdateModelOptions setFieldConfig(FieldConfig fieldConfig)
public UpdateModelOptions setModelStatus(ModelStatus modelStatus)
public UpdateModelOptions setPreprocessConfig(PreprocessConfig preprocessConfig)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateModelOptions setWidth(Integer width)‚Äč

public UpdateModelOptions setHeight(Integer height)‚Äč

public UpdateModelOptions setFieldConfig(FieldConfig fieldConfig)‚Äč

public UpdateModelOptions setModelStatus(ModelStatus modelStatus)‚Äč

public UpdateModelOptions setPreprocessConfig(PreprocessConfig preprocessConfig)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateSecretOptions

class ai::lucidtech::las::sdk::UpdateSecretOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateSecretOptions >

Summary‚Äč

MembersDescriptions
public UpdateSecretOptions setData(JSONObject data)
public UpdateSecretOptions setData(Map< String, String > data)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateSecretOptions setData(JSONObject data)‚Äč

public UpdateSecretOptions setData(Map< String, String > data)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateTransitionExecutionOptions

class ai::lucidtech::las::sdk::UpdateTransitionExecutionOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public UpdateTransitionExecutionOptions setOutput(JSONObject error)
public UpdateTransitionExecutionOptions setError(JSONObject output)
public UpdateTransitionExecutionOptions setStartTime(String startTime)
public UpdateTransitionExecutionOptions setStartTime(ZonedDateTime startTime)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateTransitionExecutionOptions setOutput(JSONObject error)‚Äč

public UpdateTransitionExecutionOptions setError(JSONObject output)‚Äč

public UpdateTransitionExecutionOptions setStartTime(String startTime)‚Äč

public UpdateTransitionExecutionOptions setStartTime(ZonedDateTime startTime)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateTransitionOptions

class ai::lucidtech::las::sdk::UpdateTransitionOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateTransitionOptions >

Summary‚Äč

MembersDescriptions
public UpdateTransitionOptions setInputJsonSchema(JSONObject schema)
public UpdateTransitionOptions setOutputJsonSchema(JSONObject schema)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public UpdateTransitionOptions setInputJsonSchema(JSONObject schema)‚Äč

public UpdateTransitionOptions setOutputJsonSchema(JSONObject schema)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::UpdateUserOptions

class ai::lucidtech::las::sdk::UpdateUserOptions
: public ai.lucidtech.las.sdk.UserOptions< UpdateUserOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::UpdateWorkflowOptions

class ai::lucidtech::las::sdk::UpdateWorkflowOptions
: public ai.lucidtech.las.sdk.NameAndDescriptionOptions< UpdateWorkflowOptions >

Summary‚Äč

MembersDescriptions

Members‚Äč

class ai::lucidtech::las::sdk::UserOptions

class ai::lucidtech::las::sdk::UserOptions
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public T setName(String name)
public T setAvatar(String avatar)
public T setAvatar(byte[] avatar)
public JSONObject addOptions(JSONObject body)
public JSONObject toJson()

Members‚Äč

public T setName(String name)‚Äč

public T setAvatar(String avatar)‚Äč

public T setAvatar(byte[] avatar)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

public JSONObject toJson()‚Äč

class ai::lucidtech::las::sdk::WorkflowCompletedConfig

class ai::lucidtech::las::sdk::WorkflowCompletedConfig
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public WorkflowCompletedConfig setImageUrl(String imageUrl)
public WorkflowCompletedConfig setSecretId(String secretId)
public WorkflowCompletedConfig setEnvironmentSecrets(String[] environmentSecrets)
public WorkflowCompletedConfig setEnvironment(Map< String, String > environment)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public WorkflowCompletedConfig setImageUrl(String imageUrl)‚Äč

public WorkflowCompletedConfig setSecretId(String secretId)‚Äč

public WorkflowCompletedConfig setEnvironmentSecrets(String[] environmentSecrets)‚Äč

public WorkflowCompletedConfig setEnvironment(Map< String, String > environment)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

class ai::lucidtech::las::sdk::WorkflowErrorConfig

class ai::lucidtech::las::sdk::WorkflowErrorConfig
: public ai.lucidtech.las.sdk.Options

Summary‚Äč

MembersDescriptions
public WorkflowErrorConfig setEmail(String email)
public WorkflowErrorConfig setManualRetry(Boolean manualRetry)
public JSONObject addOptions(JSONObject body)

Members‚Äč

public WorkflowErrorConfig setEmail(String email)‚Äč

public WorkflowErrorConfig setManualRetry(Boolean manualRetry)‚Äč

public JSONObject addOptions(JSONObject body)‚Äč

Generated by Moxygen