/
test_parser_payload_details.go
120 lines (87 loc) · 3.8 KB
/
test_parser_payload_details.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
// Copyright (c) 2016, 2018, 2020, 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 (
"github.com/oracle/oci-go-sdk/common"
)
// TestParserPayloadDetails TestParserPayloadDetails
type TestParserPayloadDetails struct {
// content
Content *string `mandatory:"false" json:"content"`
// description
Description *string `mandatory:"false" json:"description"`
// Display name
DisplayName *string `mandatory:"false" json:"displayName"`
// encoding
Encoding *string `mandatory:"false" json:"encoding"`
// exampleContent
ExampleContent *string `mandatory:"false" json:"exampleContent"`
// fieldMaps
FieldMaps []LogAnalyticsParserField `mandatory:"false" json:"fieldMaps"`
// footerRegex
FooterContent *string `mandatory:"false" json:"footerContent"`
// headerContent
HeaderContent *string `mandatory:"false" json:"headerContent"`
// name
Name *string `mandatory:"false" json:"name"`
// isDefault
IsDefault *bool `mandatory:"false" json:"isDefault"`
// isSingleLineContent
IsSingleLineContent *bool `mandatory:"false" json:"isSingleLineContent"`
// isSystem
IsSystem *bool `mandatory:"false" json:"isSystem"`
// language
Language *string `mandatory:"false" json:"language"`
// lastUpdatedDate
TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
// logTypeTestRequestVersion
LogTypeTestRequestVersion *int `mandatory:"false" json:"logTypeTestRequestVersion"`
Metadata *UiParserTestMetadata `mandatory:"false" json:"metadata"`
// parser ignore linechars
ParserIgnorelineCharacters *string `mandatory:"false" json:"parserIgnorelineCharacters"`
// parser is hidden
IsHidden *int64 `mandatory:"false" json:"isHidden"`
// parser seq
ParserSequence *int `mandatory:"false" json:"parserSequence"`
// parser timezone
ParserTimezone *string `mandatory:"false" json:"parserTimezone"`
// isParserWrittenOnce
IsParserWrittenOnce *bool `mandatory:"false" json:"isParserWrittenOnce"`
// plugin instance list
ParserFunctions []LogAnalyticsParserFunction `mandatory:"false" json:"parserFunctions"`
// tokenize original text
ShouldTokenizeOriginalText *bool `mandatory:"false" json:"shouldTokenizeOriginalText"`
// type
Type TestParserPayloadDetailsTypeEnum `mandatory:"false" json:"type,omitempty"`
}
func (m TestParserPayloadDetails) String() string {
return common.PointerString(m)
}
// TestParserPayloadDetailsTypeEnum Enum with underlying type: string
type TestParserPayloadDetailsTypeEnum string
// Set of constants representing the allowable values for TestParserPayloadDetailsTypeEnum
const (
TestParserPayloadDetailsTypeXml TestParserPayloadDetailsTypeEnum = "XML"
TestParserPayloadDetailsTypeJson TestParserPayloadDetailsTypeEnum = "JSON"
TestParserPayloadDetailsTypeRegex TestParserPayloadDetailsTypeEnum = "REGEX"
TestParserPayloadDetailsTypeOdl TestParserPayloadDetailsTypeEnum = "ODL"
)
var mappingTestParserPayloadDetailsType = map[string]TestParserPayloadDetailsTypeEnum{
"XML": TestParserPayloadDetailsTypeXml,
"JSON": TestParserPayloadDetailsTypeJson,
"REGEX": TestParserPayloadDetailsTypeRegex,
"ODL": TestParserPayloadDetailsTypeOdl,
}
// GetTestParserPayloadDetailsTypeEnumValues Enumerates the set of values for TestParserPayloadDetailsTypeEnum
func GetTestParserPayloadDetailsTypeEnumValues() []TestParserPayloadDetailsTypeEnum {
values := make([]TestParserPayloadDetailsTypeEnum, 0)
for _, v := range mappingTestParserPayloadDetailsType {
values = append(values, v)
}
return values
}