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:
- 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.
- name
str
,optional
Name (ID) of the parameter.
- quantity_name
str
,optional
Name of the quantity that the parameter represents. For example,
Length
.- units
str
,optional
Units for the parameter.
- display_text
str
,optional
Text to display as the parameter name.
- mode
str
Indicates whether it’s an input or output parameter. The mode is filled server-side.
- type
str
- default
str
,optional
Default parameter value.
- value_list
list
,optional
List of allowed values.
- id
Methods
Provides a helper function for retrieving fields to define as class members for an object.
StringParameterDefinition.get
(key[, default])