InedoSDK Reference
Version:

IVariableTemplate Interface

User-defined template that's used to prompt for user input when creating a job, release, build, etc., and that are typically persisted inside of a release template, job template, etc.

Inheritance Hierarchy

  • Inedo.Extensibility.VariableTemplates.IVariableTemplate

Syntax

public interface IVariableTemplate

Properties

Name Description
Description

Gets an optional friendly description of the variable.

InitialValue

Gets the variable's default value if it has one.

ListMultiple

Gets a value indicating whether multiple values may be selected at once.

ListRestrict

Gets a value indicating whether only list item values may be selected.

ListValues

Gets the allowable values for the variable.

Name

Gets the variable name.

Required

Gets a value indicating whether this variable is required to have a value.

Sensitive

Gets a value indicating whether this variable contains sensitive information that should be obscured when possible.

Type

Gets the type of variable template.

ValueWhenChecked

When value is rendered as a checkbox, indicates that a value other than "true" should be used when set (and no value should be set when unchecked)