/
model_create_update_chart_request.go
26 lines (24 loc) · 1.39 KB
/
model_create_update_chart_request.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* Charts API
*
* An API for creating, retrieving, updating, and deleting charts
*
* API version: 2.0.1
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package chart
type CreateUpdateChartRequest struct {
// User-defined JSON object containing metadata
CustomProperties string `json:"customProperties,omitempty"`
// Description of the chart. This value appears underneath the chart name in the SignalFx web UI.
Description string `json:"description"`
// The displayed name of the chart in the dashboard
Name string `json:"name,omitempty"`
Options *Options `json:"options,omitempty"`
// Specifies one or more SignalFlow packages to import for use with the SignalFlow program specified in the `programText` option. This option must be set to `signalfx`.
PackageSpecifications string `json:"packageSpecifications,omitempty"`
// The SignalFlow program that provides data for the chart. If you use more than one line of SignalFlow, separate the lines with semicolons (\";\") or newline characters (\"\\n\"). See the [Charts Overview](https://developers.signalfx.com/v2/reference.html#charts-overview-1) for more information.\"
ProgramText string `json:"programText,omitempty"`
// An array that contains tag values. You can use tags to search for or filter charts. One use is to tag charts that are in production with the value `prod`.
Tags []string `json:"tags,omitempty"`
}