-
Notifications
You must be signed in to change notification settings - Fork 80
/
chart_data_column.go
123 lines (94 loc) · 3.95 KB
/
chart_data_column.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
// Copyright (c) 2016, 2018, 2021, Oracle and/or its affiliates. All rights reserved.
// This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
// Code generated. DO NOT EDIT.
// LogAnalytics API
//
// The LogAnalytics API for the LogAnalytics service.
//
package loganalytics
import (
"encoding/json"
"github.com/oracle/oci-go-sdk/v43/common"
)
// ChartDataColumn A data series specific to a particular link output field.
type ChartDataColumn struct {
// Column display name - will be alias if column is renamed by queryStrng.
DisplayName *string `mandatory:"false" json:"displayName"`
// If the column is a 'List of Values' column, this array contains the field values that are applicable to query results or all if no filters applied.
Values []FieldValue `mandatory:"false" json:"values"`
// Identifies if all values in this column come from a pre-defined list of values.
IsListOfValues *bool `mandatory:"false" json:"isListOfValues"`
// Identifies if this column allows multiple values to exist in a single row.
IsMultiValued *bool `mandatory:"false" json:"isMultiValued"`
// Identifies if this column can be used as a grouping field in any grouping command.
IsGroupable *bool `mandatory:"false" json:"isGroupable"`
// Identifies if this column can be used as an expression parameter in any command that accepts querylanguage expressions.
IsEvaluable *bool `mandatory:"false" json:"isEvaluable"`
// Same as displayName unless column renamed in which case this will hold the original display name for the column.
OriginalDisplayName *string `mandatory:"false" json:"originalDisplayName"`
// Internal identifier for the column.
InternalName *string `mandatory:"false" json:"internalName"`
// Data points for each timestamp for a specific link field un-filtered.
DataItems []interface{} `mandatory:"false" json:"dataItems"`
// Data points filtered by query string. May not contain data points for each timestamp due to filtering.
FilteredDataItems []interface{} `mandatory:"false" json:"filteredDataItems"`
// Subsystem column belongs to.
SubSystem SubSystemNameEnum `mandatory:"false" json:"subSystem,omitempty"`
// Field denoting column data type.
ValueType ValueTypeEnum `mandatory:"false" json:"valueType,omitempty"`
}
//GetDisplayName returns DisplayName
func (m ChartDataColumn) GetDisplayName() *string {
return m.DisplayName
}
//GetSubSystem returns SubSystem
func (m ChartDataColumn) GetSubSystem() SubSystemNameEnum {
return m.SubSystem
}
//GetValues returns Values
func (m ChartDataColumn) GetValues() []FieldValue {
return m.Values
}
//GetIsListOfValues returns IsListOfValues
func (m ChartDataColumn) GetIsListOfValues() *bool {
return m.IsListOfValues
}
//GetIsMultiValued returns IsMultiValued
func (m ChartDataColumn) GetIsMultiValued() *bool {
return m.IsMultiValued
}
//GetIsGroupable returns IsGroupable
func (m ChartDataColumn) GetIsGroupable() *bool {
return m.IsGroupable
}
//GetIsEvaluable returns IsEvaluable
func (m ChartDataColumn) GetIsEvaluable() *bool {
return m.IsEvaluable
}
//GetValueType returns ValueType
func (m ChartDataColumn) GetValueType() ValueTypeEnum {
return m.ValueType
}
//GetOriginalDisplayName returns OriginalDisplayName
func (m ChartDataColumn) GetOriginalDisplayName() *string {
return m.OriginalDisplayName
}
//GetInternalName returns InternalName
func (m ChartDataColumn) GetInternalName() *string {
return m.InternalName
}
func (m ChartDataColumn) String() string {
return common.PointerString(m)
}
// MarshalJSON marshals to json representation
func (m ChartDataColumn) MarshalJSON() (buff []byte, e error) {
type MarshalTypeChartDataColumn ChartDataColumn
s := struct {
DiscriminatorParam string `json:"type"`
MarshalTypeChartDataColumn
}{
"CHART_DATA_COLUMN",
(MarshalTypeChartDataColumn)(m),
}
return json.Marshal(&s)
}