-
Notifications
You must be signed in to change notification settings - Fork 82
/
create_management_saved_search_details.go
80 lines (57 loc) · 3.4 KB
/
create_management_saved_search_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
// 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.
// ManagementDashboard API
//
// Management Dashboard micro-service provides a set of CRUD, import, export, and compartment related APIs (such as change compartment) to support dashboard and saved search metadata preservation. These APIs are mainly for client UIs, for various UI activities such as get list of all saved searches in a compartment, create a dashboard, open a saved search, etc. Use export to retrieve dashboards and their saved searches, then edit the Json if necessary (for example change compartmentIds), then import the result to destination dashboard service.
// APIs validate all required properties to ensure properties are present and have correct type and values.
//
//
package managementdashboard
import (
"github.com/oracle/oci-go-sdk/common"
)
// CreateManagementSavedSearchDetails Properties of a saved search.
type CreateManagementSavedSearchDetails struct {
// id for saved search. Must be provided if OOB, otherwise must not be provided.
Id *string `mandatory:"true" json:"id"`
// Display name for saved search.
DisplayName *string `mandatory:"true" json:"displayName"`
// Id for application (LA, APM, etc.) that owners this saved search. Each owner has a unique Id.
ProviderId *string `mandatory:"true" json:"providerId"`
// Version.
ProviderVersion *string `mandatory:"true" json:"providerVersion"`
// Name for application (LA, APM, etc.) that owners this saved search.
ProviderName *string `mandatory:"true" json:"providerName"`
// The ocid of the compartment that owns the saved search.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// String boolean ("true" or "false") to indicate Out Of the Box saved search.
IsOobSavedSearch *bool `mandatory:"true" json:"isOobSavedSearch"`
// Description.
Description *string `mandatory:"true" json:"description"`
// Json for internationalization.
Nls *interface{} `mandatory:"true" json:"nls"`
// How to show the saved search.
Type SavedSearchTypesEnum `mandatory:"true" json:"type"`
// Json to contain options for UI.
UiConfig *interface{} `mandatory:"true" json:"uiConfig"`
// Array of Json to contain options for source of data.
DataConfig []interface{} `mandatory:"true" json:"dataConfig"`
// Screenshot.
ScreenImage *string `mandatory:"true" json:"screenImage"`
// Version of the metadata.
MetadataVersion *string `mandatory:"true" json:"metadataVersion"`
// Template.
WidgetTemplate *string `mandatory:"true" json:"widgetTemplate"`
// View Model
WidgetVM *string `mandatory:"true" json:"widgetVM"`
// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
// Example: `{"bar-key": "value"}`
FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`
// Defined tags for this resource. Each key is predefined and scoped to a namespace.
// Example: `{"foo-namespace": {"bar-key": "value"}}`
DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}
func (m CreateManagementSavedSearchDetails) String() string {
return common.PointerString(m)
}