TaskCommandDefinition#
- class ansys.hps.client.jms.TaskCommandDefinition(id=<marshmallow.missing>, creation_time=<marshmallow.missing>, modification_time=<marshmallow.missing>, created_by=<marshmallow.missing>, modified_by=<marshmallow.missing>, task_definition_id=<marshmallow.missing>, name=<marshmallow.missing>, parameters=<marshmallow.missing>, **kwargs)#
Provides the task command definition 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_definition_id
str
ID of the
TaskDefinition
instance that the task command definition is linked to.- name
str
Name of the command (corresponds to the function name in the execution script).
- parameters
dict
,optional
Command parameters.
- id
Methods
Provides a helper function for retrieving fields to define as class members for an object.
TaskCommandDefinition.get
(key[, default])