Constructor
new SFSUserVariable(name, value, type)
Pass the instance to the SetUserVariablesRequest constructor.
| Name | Type | Description |
|---|---|---|
name | string | The name of the User Variable. |
value | boolean | | The value of the User Variable. |
type | number | The type of the User Variable, among those available in the VariableType class. |
Extends
Members
(readonly) isNull :boolean
null value.- boolean
- Overrides
isPrivate :boolean
A private User Variable is visible only to its owner; any changes made to the variable will be transmitted to the owner only.
Setting this property manually on an existing User Variable returned by the API has no effect on the server and can disrupt the API functioning. This flag can be set after the User Variable object is created using the constructor only.
- boolean
(readonly) name :string
- string
- Overrides
(readonly) type :string
Returned value is the name of one of the types defined in the VariableType class.
- string
- Overrides
- See
(readonly) value :*
- *
- Overrides
Methods
toString() → {string}
- Type:
- string