WorkflowGroupComponent

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

Bases: WorkflowComponent

Workflow Group Component Details.

Attributes:

TYPE_PARALLEL_TASK_GROUP

A constant which can be used with the type property of a WorkflowComponent.

TYPE_TASK

A constant which can be used with the type property of a WorkflowComponent.

group_name

[Required] Gets the group_name of this WorkflowGroupComponent.

steps

Gets the steps of this WorkflowGroupComponent.

type

[Required] Gets the type of this WorkflowComponent.

Methods:

__init__(**kwargs)

Initializes a new WorkflowGroupComponent 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.

TYPE_PARALLEL_TASK_GROUP = 'PARALLEL_TASK_GROUP'

A constant which can be used with the type property of a WorkflowComponent. This constant has a value of “PARALLEL_TASK_GROUP”

TYPE_TASK = 'TASK'

A constant which can be used with the type property of a WorkflowComponent. This constant has a value of “TASK”

__init__(**kwargs)

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

Parameters
  • type (str) – The value to assign to the type property of this WorkflowGroupComponent. Allowed values for this property are: “TASK”, “PARALLEL_TASK_GROUP”

  • group_name (str) – The value to assign to the group_name property of this WorkflowGroupComponent.

  • steps (list[str]) – The value to assign to the steps property of this WorkflowGroupComponent.

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.

property group_name

[Required] Gets the group_name of this WorkflowGroupComponent. Name of the group.

Returns

The group_name of this WorkflowGroupComponent.

Return type

str

property steps

Gets the steps of this WorkflowGroupComponent. Tasks within the Group. Provide the stepName for all applicable tasks.

Returns

The steps of this WorkflowGroupComponent.

Return type

list[str]

property type

[Required] Gets the type of this WorkflowComponent. Content Source Details.

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

Returns

The type of this WorkflowComponent.

Return type

str