NSX-T Data Center REST API

PropertyItem (type)

{
  "additionalProperties": false,
  "description": "Represents a label-value pair.",
  "id": "PropertyItem",
  "module_id": "NsxDashboard",
  "nsx_feature": "NsxDashboardWidgetConfig",
  "properties": {
    "condition": {
      "description": "If the condition is met then the property will be displayed. Examples of expression syntax are provided under 'example_request' section of 'CreateWidgetConfiguration' API.",
      "maxLength": 1024,
      "title": "Expression for evaluating condition",
      "type": "string"
    },
    "drilldown_id": {
      "description": "Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.",
      "title": "Id of drilldown widget",
      "type": "string"
    },
    "field": {
      "description": "Represents field value of the property.",
      "maxLength": 1024,
      "required": true,
      "title": "Field of the Property",
      "type": "string"
    },
    "heading": {
      "default": false,
      "description": "Set to true if the field is a heading. Default is false.",
      "title": "If true, represents the field as a heading",
      "type": "boolean"
    },
    "label": {
      "$ref": "Label",
      "description": "If a field represents a heading, then label is not needed",
      "title": "Label of the property"
    },
    "label_value_separator": {
      "description": "Label value separator used between label and value. It can be any separator like \":\"  or \"-\".",
      "title": "Labale value separator used between label and value",
      "type": "string"
    },
    "navigation": {
      "description": "Hyperlink of the specified UI page that provides details. This will be linked with value of the property.",
      "maxLength": 1024,
      "title": "Navigation to a specified UI page",
      "type": "string"
    },
    "render_configuration": {
      "description": "Render configuration to be applied, if any.",
      "items": {
        "$ref": "RenderConfiguration"
      },
      "title": "Render Configuration",
      "type": "array"
    },
    "rowspan": {
      "description": "Represent the vertical span of the widget / container",
      "minimum": 1,
      "title": "Vertical span",
      "type": "int"
    },
    "separator": {
      "default": false,
      "description": "If true, separates this property in a widget.",
      "title": "A separator after this property",
      "type": "boolean"
    },
    "span": {
      "description": "Represent the horizontal span of the widget / container.",
      "maximum": 12,
      "minimum": 1,
      "title": "Horizontal span",
      "type": "int"
    },
    "style": {
      "description": "A style object applicable for the property item. It could be the any padding, margin style sheet applicable to the property item. A 'style' property is supported in case of layout 'AUTO' only.",
      "title": "A Style object applicable for the Property Item",
      "type": "object"
    },
    "type": {
      "default": "String",
      "description": "Data type of the field.",
      "enum": [
        "String",
        "Number",
        "Date",
        "Url"
      ],
      "maxLength": 255,
      "required": true,
      "title": "field data type",
      "type": "string"
    }
  },
  "title": "LabelValue Property",
  "type": "object"
}