StringParameterDefinition#

class ansys.hps.client.jms.StringParameterDefinition(id=<marshmallow.missing>, creation_time=<marshmallow.missing>, modification_time=<marshmallow.missing>, created_by=<marshmallow.missing>, modified_by=<marshmallow.missing>, name=<marshmallow.missing>, quantity_name=<marshmallow.missing>, units=<marshmallow.missing>, display_text=<marshmallow.missing>, mode=<marshmallow.missing>, type=<marshmallow.missing>, default=<marshmallow.missing>, value_list=<marshmallow.missing>, **kwargs)#

Provides the string parameter definition resource.

Parameters:
idstr, optional

Unique ID to access the resource, generated internally by the server on creation.

creation_timedatetime, optional

Date and time that the resource was created.

modification_timedatetime, optional

Date and time that the resource was last modified.

created_bystr, optional

ID of the user who created the object.

modified_bystr, optional

ID of the user who last modified the object.

namestr, optional

Name (ID) of the parameter.

quantity_namestr, optional

Name of the quantity that the parameter represents. For example, Length.

unitsstr, optional

Units for the parameter.

display_textstr, optional

Text to display as the parameter name.

modestr

Indicates whether it’s an input or output parameter. The mode is filled server-side.

typestr
defaultstr, optional

Default parameter value.

value_listlist, optional

List of allowed values.

Methods

StringParameterDefinition.declared_fields()

Provides a helper function for retrieving fields to define as class members for an object.

StringParameterDefinition.get(key[, default])