ApiBasedExecutionDetails

class oci.fleet_apps_management.models.ApiBasedExecutionDetails(**kwargs)

Bases: oci.fleet_apps_management.models.execution_details.ExecutionDetails

Details for API-based execution.

Attributes

EXECUTION_TYPE_API str(object=’’) -> str
EXECUTION_TYPE_SCRIPT str(object=’’) -> str
endpoint [Required] Gets the endpoint of this ApiBasedExecutionDetails.
execution_type [Required] Gets the execution_type of this ExecutionDetails.

Methods

__init__(**kwargs) Initializes a new ApiBasedExecutionDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
EXECUTION_TYPE_API = 'API'
EXECUTION_TYPE_SCRIPT = 'SCRIPT'
__init__(**kwargs)

Initializes a new ApiBasedExecutionDetails object with values from keyword arguments. The default value of the execution_type attribute of this class is API and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • execution_type (str) – The value to assign to the execution_type property of this ApiBasedExecutionDetails. Allowed values for this property are: “SCRIPT”, “API”
  • endpoint (str) – The value to assign to the endpoint property of this ApiBasedExecutionDetails.
endpoint

[Required] Gets the endpoint of this ApiBasedExecutionDetails. Endpoint to be invoked.

Returns:The endpoint of this ApiBasedExecutionDetails.
Return type:str
execution_type

[Required] Gets the execution_type of this ExecutionDetails. The action type of the task

Allowed values for this property are: “SCRIPT”, “API”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The execution_type of this ExecutionDetails.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.