Constructors

Properties

calculationFormula?: string

Represents a formula that is used to compute a calculated property.

description?: string

A description of the property that will be shown as help text in HubSpot.

displayOrder?: number

Properties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property to be displayed after any positive values.

externalOptions?: boolean

Applicable only for 'enumeration' type properties. Should be set to true in conjunction with a 'referencedObjectType' of 'OWNER'. Otherwise false.

Controls how the property appears in HubSpot.

formField?: boolean

Whether or not the property can be used in a HubSpot form.

groupName: string

The name of the property group the property belongs to.

hasUniqueValue?: boolean

Whether or not the property's value must be unique. Once set, this can't be changed.

hidden?: boolean

If true, the property won't be visible and can't be used in HubSpot.

label: string

A human-readable property label that will be shown in HubSpot.

name: string

The internal property name, which must be used when referencing the property via the API.

options?: OptionInput[]

A list of valid options for the property. This field is required for enumerated properties.

referencedObjectType?: string

Should be set to 'OWNER' when 'externalOptions' is true, which causes the property to dynamically pull option values from the current HubSpot users.

The data type of the property.

attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]