forked from oracle/oci-go-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
data_asset_tag.go
52 lines (37 loc) · 1.6 KB
/
data_asset_tag.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
// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Data Catalog API
//
// Use the Data Catalog APIs to collect, organize, find, access, understand, enrich, and activate technical, business, and operational metadata.
//
package datacatalog
import (
"github.com/oracle/oci-go-sdk/common"
)
// DataAssetTag Represents an association of a data asset to a term.
type DataAssetTag struct {
// Unique tag key that is immutable.
Key *string `mandatory:"true" json:"key"`
// Name of the tag which matches the term name.
Name *string `mandatory:"false" json:"name"`
// Unique key of the related term.
TermKey *string `mandatory:"false" json:"termKey"`
// Path of the related term.
TermPath *string `mandatory:"false" json:"termPath"`
// Description of the related term.
TermDescription *string `mandatory:"false" json:"termDescription"`
// The current state of the tag.
LifecycleState LifecycleStateEnum `mandatory:"false" json:"lifecycleState,omitempty"`
// The date and time the tag was created, in the format defined by RFC3339 (https://tools.ietf.org/html/rfc3339).
// Example: `2019-03-25T21:10:29.600Z`
TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`
// OCID of the user who created the tag.
CreatedById *string `mandatory:"false" json:"createdById"`
// URI to the tag instance in the API.
Uri *string `mandatory:"false" json:"uri"`
// The unique key of the parent data asset.
DataAssetKey *string `mandatory:"false" json:"dataAssetKey"`
}
func (m DataAssetTag) String() string {
return common.PointerString(m)
}