TokenDefinitionData Class

The data transfer object for a parameter token coming from JSON, represents a TokenDefinition, and derived types, such as TimeToken and BasicToken.
Inheritance Hierarchy
SystemObject
  Dundas.BI.WebApi.ModelsBaseDataContract
    Dundas.BI.WebApi.ModelsTokenDefinitionData

Namespace: Dundas.BI.WebApi.Models
Assembly: Dundas.BI.WebApiCore (in Dundas.BI.WebApiCore.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
[DataContractAttribute]
public class TokenDefinitionData : BaseDataContract

The TokenDefinitionData type exposes the following members.

Constructors
 NameDescription
Public methodTokenDefinitionData Initializes a new instance of the TokenDefinitionData class.
Top
Properties
 NameDescription
Public propertyAccountId Gets the ID of the account associated with the token.
Public propertyCaption Gets the caption, in the culture of the caller if possible.
Public propertyCategory Gets the token category.
Public propertyCreatedBy Gets the user account ID that created the token.
Public propertyCreatedTime Gets the created timestamp value.
Public propertyDataCategory The data rule category.
Public propertyDataCubeId The data cube ID that exposes the source element.
Public propertyDataElement The source element unique name.
Public propertyDataType Gets the token data type.
Public propertyDefaultCaption Gets or sets the default caption for the token definition. Note: This returns the CultureInfo.InvariantCulture token caption, not the culture specific caption.
Public propertyDisplayType Gets the token display type.
Public propertyEndMemberGranularity Gets or sets the granularity of the end member (only for full range tokens).
Public propertyEndMemberOffset Gets or sets the offset for the end member (only for full range tokens).
Public propertyFormatOverride Gets or sets the format override, when applicable.
Public propertyHierarchy Gets the hierarchy.
Public propertyId Gets the token definition ID.
Public propertyIsInversionSupported Gets a value indicating whether this token supports inversion.
Public propertyIsOffsetSupported Gets or sets a value indicating whether this token supports offset.
Public propertyIsResolvable Gets a value indicating whether this token can be resolved.
Public propertyMemberGranularity Gets or sets the granularity of the start (or single) member.
Public propertyMemberOffset Gets or sets the initial date/time offset for the start (or single) member.
Public propertyProjectId Gets the project ID for which the token is active.
Public propertySelection Gets or sets the member selection.
Public propertySortOrder Gets or sets the sort order of the item within the set of tokens of the same TokenCategory
Public propertyStatement Gets or sets the script text.
Public propertyStatementType Gets the type of the script statement.
Public propertySymbol Gets or sets the symbol.
Public propertyTenantId Gets the ID of the tenant associated with the token.
Public propertyUIClassName Gets or sets the name of the UI class (used for auto de-serialization).
(Inherited from BaseDataContract)
Public propertyUpdatedBy Gets the user account ID that performed the last update.
Public propertyUpdatedTime Gets the last update timestamp value.
Top
Methods
 NameDescription
Public methodStatic memberFromDataContractMappings The mapping between TokenDefinitionData and TokenDefinition.
Public methodStatic memberToDataContractMappings The mapping between TokenDefinition and TokenDefinitionData.
Top
Extension Methods
 NameDescription
Public Extension MethodSetUIClassName Sets the name of the token definition UI class.
(Defined by ModelDataExtensions)
Top
See Also