forked from oracle/oci-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
management_dashboard_summary.go
74 lines (53 loc) · 3.18 KB
/
management_dashboard_summary.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
// 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"
)
// ManagementDashboardSummary Summary of properties for a dashboard.
type ManagementDashboardSummary struct {
// Dashboard Id. Must be providied if OOB, otherwise must not be provided.
DashboardId *string `mandatory:"true" json:"dashboardId"`
// Display name for dashboard.
DisplayName *string `mandatory:"true" json:"displayName"`
// Dashboard's description.
Description *string `mandatory:"true" json:"description"`
// The ocid of the compartment that owns the dashboard.
CompartmentId *string `mandatory:"true" json:"compartmentId"`
// String boolean ("true" or "false"). OOB (Out of the Box) dashboards are only provided by Oracle. They cannot be modified by non-Oracle.
IsOobDashboard *bool `mandatory:"true" json:"isOobDashboard"`
// Created by which user.
CreatedBy *string `mandatory:"true" json:"createdBy"`
// Time created.
TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`
// Updated by which user.
UpdatedBy *string `mandatory:"true" json:"updatedBy"`
// Time updated.
TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`
// Version of the metadata.
MetadataVersion *string `mandatory:"true" json:"metadataVersion"`
// screen image.
ScreenImage *string `mandatory:"true" json:"screenImage"`
// Json for internationalization.
Nls *interface{} `mandatory:"true" json:"nls"`
// NORMAL means single dashboard, SET means dashboard set.
Type *string `mandatory:"true" json:"type"`
// State of dashboard.
LifecycleState LifecycleStatesEnum `mandatory:"true" json:"lifecycleState"`
// 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:"true" 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:"true" json:"definedTags"`
}
func (m ManagementDashboardSummary) String() string {
return common.PointerString(m)
}