Class TagValidation

Base class for all DataTrue resource types

Hierarchy

Constructors

Properties

name: string
options: TagValidationOptions = {}
tagDefinition: TagDefinition
childTypes: readonly string[] = []
resourceType: string = "tag_validation"
resourceTypeRun?: string

Methods

  • Convert the resource to an Object

    Returns

    object representation of the resource

    Returns Promise<Record<string, any>>

  • Convert the resource to a JSON string

    Returns

    the resource represented as a JSON string

    Returns Promise<string>

  • Create a resource from an object

    Returns

    new Resource

    Parameters

    • obj: Record<string, any>

      object to create resource from

    • copy: boolean = false

      whether to create a copy of the resource or not (removes resource IDs)

    Returns TagValidation

Generated using TypeDoc