TaskCommand#
- class ansys.hps.client.jms.TaskCommand(id=<marshmallow.missing>, creation_time=<marshmallow.missing>, modification_time=<marshmallow.missing>, created_by=<marshmallow.missing>, modified_by=<marshmallow.missing>, task_id=<marshmallow.missing>, command_definition_id=<marshmallow.missing>, arguments=<marshmallow.missing>, running_time=<marshmallow.missing>, finished_time=<marshmallow.missing>, status=<marshmallow.missing>, **kwargs)#
Provides the task command resource.
- Parameters:
- id
str,optional Unique ID to access the resource, generated internally by the server on creation.
- creation_time
datetime,optional Date and time that the resource was created.
- modification_time
datetime,optional Date and time that the resource was last modified.
- created_by
str,optional ID of the user who created the object.
- modified_by
str,optional ID of the user who last modified the object.
- task_id
str ID of the
Taskinstance that the command is linked to.- command_definition_id
str ID of the
TaskCommandDefinitioninstance that the command is linked to.- arguments
dict,optional Command arguments.
- running_time
datetime,optional Date and time that the command was set to running.
- finished_time
datetime,optional Date and time that the command was completed.
- status
str,optional Evaluation status.
- id
Initialize the object.
Methods
Provide a helper function for retrieving fields.
TaskCommand.get(key[, default])Get an item from the object, returning a default value if the key is not found.